Video Call



Descargar 36.73 Kb.
Fecha de conversión29.01.2017
Tamaño36.73 Kb.

Video Call


Para activar la video llamada, o viedo call se debe realizar cambio en el archivo sip.conf en:

[general]

context=default ; Default context for incoming calls

videosupport=yes

disallow=all

; allow=all

allow=g729

allow=gsm

allow=ulaw

allow=alaw

allow=g711u

allow=h263p

allow=h263

allow=h261



Esto sirve para habilitar y verificar que os protocolos de video estén habilitados.

Un ejemplo de la configuración del usuario se puede ver este ejemplo: (extensión.conf)

Code:


[6000]

username = 6000

transfer = yes

mailbox = 6000

call-limit = 100

fullname = Tablet

registersip = no

host = dynamic

callgroup = 1

context = DLPN_DialPlan1

cid_number = 6000

hasvoicemail = yes

vmsecret = 1234

email =


threewaycalling = no

hasdirectory = no

callwaiting = no

hasmanager = no

hasagent = no

hassip = yes

hasiax = yes

secret = 1234

nat = yes

canreinvite = no

dtmfmode = rfc2833

insecure = no

pickupgroup = 1

autoprov = no

label =

macaddress =



linenumber = 1

disallow = all

allow = g729,gsm,ulaw,alaw,h263

Puede colocar los siguientes códigos para verificar los codec de video estén configurado:

asterisk -r
core show codecs

Code:


Disclaimer: this command is for informational purposes only.

It does not indicate anything about your configuration.

INT BINARY HEX TYPE NAME DESC

--------------------------------------------------------------------------------

1 (1 << 0) (0x1) audio g723 (G.723.1)

2 (1 << 1) (0x2) audio gsm (GSM)

4 (1 << 2) (0x4) audio ulaw (G.711 u-law)

8 (1 << 3) (0x8) audio alaw (G.711 A-law)

16 (1 << 4) (0x10) audio g726aal2 (G.726 AAL2)

32 (1 << 5) (0x20) audio adpcm (ADPCM)

64 (1 << 6) (0x40) audio slin (16 bit Signed Linear PCM)

128 (1 << 7) (0x80) audio lpc10 (LPC10)

256 (1 << 8) (0x100) audio g729 (G.729A)

512 (1 << 9) (0x200) audio speex (SpeeX)

1024 (1 << 10) (0x400) audio ilbc (iLBC)

2048 (1 << 11) (0x800) audio g726 (G.726 RFC3551)

4096 (1 << 12) (0x1000) audio g722 (G722)

65536 (1 << 16) (0x10000) image jpeg (JPEG image)

131072 (1 << 17) (0x20000) image png (PNG image)

262144 (1 << 18) (0x40000) video h261 (H.261 Video)

524288 (1 << 19) (0x80000) video h263 (H.263 Video)

1048576 (1 << 20) (0x100000) video h263p (H.263+ Video)

2097152 (1 << 21) (0x200000) video h264 (H.264 Video)

Se lista resumen de configuración.

[general]

videosupport=yes

[some_user1]

allow=h264

[some_user2]

allow=h264



Se muestra un ejemplo de configuración global.

[general]
videosupport=yes

[1000]
type=friend
context=incoming
host=dynamic
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=h263
dtmfmode=rfc2833
canreinvite=no

[1003]
type=friend
context=incoming
host=dynamic
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=h263
allow=h263p
dtmfmode=rfc2833
canreinvite=no

and my extensions.conf is:

[globals]
leif=SIP/1003
kuki2=SIP/1000

[incoming]

exten => 1003,1,Dial(${leif},20)
exten => 1003,n,Playback(vm-nobodyavail)
exten => 1003,n,Hangup()

exten => 1000,1,Dial(${kuki2},20)
exten => 1000,n,Playback(vm-nobodyavail)
exten => 1000,n,Hangup()

http://talk.maemo.org/showthread.php?t=26599


La base de datos está protegida por derechos de autor ©bazica.org 2016
enviar mensaje

    Página principal