video calls not working

Home » Asterisk Users » video calls not working
Asterisk Users 4 Comments

Hi list,*

*I am not able to make video calls between two sip accounts. below is the
information. please help me where I am missing the configuration.*

Extensions.conf*

exten => 111,1,Answer()
same => n,Dial(SIP/2206,60,r)
same => n,Hangup()

*SIP.conf*
[2218]

type=friend
secret=*******
callerid=”Virendra” <9172341457>
host=dynamic ; This device needs to register
nat=yes ; X-Lite is behind a NAT router
canreinvite=no ; Typically set to NO if behind NAT
disallow=all
dtmfmode=inband
insecure=invite,port
;context=outbound
context=bhati-test
qualify=yes
accountcode=123654789
disallow = all
allow = ulaw,alaw,h263,g729,gsm,h264
videosupport=yes

[2206]
type=friend
secret=*******
callerid=2206
host=dynamic ; This device needs to register
nat=yes ; X-Lite is behind a NAT router
canreinvite=no ; Typically set to NO if behind NAT
disallow=all
dtmfmode=inband
insecure=invite,port
context=outbound
qualify=yes
disallow = all
allow = ulaw,alaw,h263,g729,gsm,h264
videosupport=yes

*codec list of asterisk 1.6.2.11*

*haddock8-astrx*CLI> core show codecs*
Disclaimer: this command is for informational purposes only.
It does not indicate anything about your configuration.
INT BINARY HEX TYPE NAME DESC

4 thoughts on - video calls not working

  • Two items

    #1 you only need 1 disallow=all in your sip.conf definition

    #2 you need to patch rtp.c to define 126 as FORMAT_H263 – this is an xlite
    response to Asterisk starting music-on-hold during the connect pause. The r
    on the dial command attempts to do a “faux ring” which xlite interprets as a
    MOH request, so if you don’t want to patch/recompile, just take the r off of
    Dial.

    Sent: Monday, November 21, 2011 4:35 AM
    Danny Nicholas

    Hi list,

    I am not able to make video calls between two sip accounts. below is the
    information. please help me where I am missing the configuration.

    Extensions.conf

    exten => 111,1,Answer()
    same => n,Dial(SIP/2206,60,r)
    same => n,Hangup()

    SIP.conf
    [2218]

    type=friend
    secret=*******
    callerid=”Virendra” <9172341457>
    host=dynamic ; This device needs to register
    nat=yes ; X-Lite is behind a NAT router
    canreinvite=no ; Typically set to NO if behind NAT
    disallow=all
    dtmfmode=inband
    insecure=invite,port
    ;context=outbound
    context=bhati-test
    qualify=yes
    accountcode=123654789
    disallow = all
    allow = ulaw,alaw,h263,g729,gsm,h264
    videosupport=yes

    [2206]
    type=friend
    secret=*******
    callerid=2206
    host=dynamic ; This device needs to register
    nat=yes ; X-Lite is behind a NAT router
    canreinvite=no ; Typically set to NO if behind NAT
    disallow=all
    dtmfmode=inband
    insecure=invite,port
    context=outbound
    qualify=yes
    disallow = all
    allow = ulaw,alaw,h263,g729,gsm,h264
    videosupport=yes

    codec list of asterisk 1.6.2.11

    haddock8-astrx*CLI> core show codecs
    Disclaimer: this command is for informational purposes only.
    It does not indicate anything about your configuration.
    INT BINARY HEX TYPE NAME DESC

  • Not my idea – just what I came across on google – probably should open a
    JIRA issue so it gets “really resolved” instead of hit-and-miss patching.