[Asterisk-video] thanks for "help for videocall"
barbara_b02 at libero.it
barbara_b02 at libero.it
Mon Feb 25 09:59:52 CST 2008
Hi all
and thanks for your precious help!
I followed your instructions and I obtained:
3G -> SIP : video but no audio
SIP -> 3G : X-lite says "Call failed: Declined"
*This is my extensions.conf
[general]
static=yes
writeprotect=no
clearglobalvars=no
autofallthrough=no
videosupport=yes
[globals]
CONSOLE=Console/dsp
${TIMEOUT}=40
[default]
include => external_in
include => sip_out
[sip_out]
exten => _0X.,1,Set(GLOBAL(CELL)=${EXTEN})
exten => _0X.,2,h324m_gw(dial at sip_to_cell)
[sip_to_cell]
exten => dial,1,h324m_call(dialcell at sip_to_cell)
exten => dialcell,1,Set(CHANNEL(transfercapability)=VIDEO)
exten => dialcell,n,NoOp(transfer=${CHANNEL(transfercapability)})
exten => dialcell,n,Set(CHANNEL(userinformationlayer1)=38)
exten => dialcell,n,NoOp(ul1=${CHANNEL(userinformationlayer1)})
exten => dialcell,n,Dial(mISDN/1/${CELL},40,tTkK)
exten => dialcell,n,Hangup()
[external_in]
exten => 191,1,Set(ul1=${CHANNEL(userinformationlayer1)})
exten => 191,n,h324m_gw(dial at cell_to_sip)
[cell_to_sip]
exten => dial,1,Dial(SIP/101,40,tTkK)
exten => dial,n,Hangup()
*My sip.conf
[general]
context=default
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
videosupport=yes
maxcallbitrate_h263p=80
disallow=all
allow=alaw
[101]
type=friend
username=101
secret=101
host=dynamic
nat=yes ; ???
canreinvite=no
accountcode=support
allow=h263p
*And this is the CLI during the SIP->3G videocall:
Dynamic payload.
[Feb 25 16:39:36] DEBUG[20847]: chan_sip.c:5462 process_sdp: Adding video (115) mimeSubtype (H263-1998)
[Feb 25 16:39:36] DEBUG[20902]: app_h324m.c:657 app_h324m_gw: h324m_gw
[Feb 25 16:39:36] DEBUG[20904]: app_h324m.c:952 app_h324m_call: h324m_call
[Feb 25 16:39:36] DEBUG[20904]: channel.c:3025 set_format: chan=Local/dial at sip_to_cell-78a4,2 format=00002000 (with video & text = 00002000) native=00182000 in dir. read
[Feb 25 16:39:36] DEBUG[20904]: channel.c:3025 set_format: chan=Local/dial at sip_to_cell-78a4,2 format=00002000 (with video & text = 00002000) native=00182000 in dir. write
P[ 1] read_config: Getting Config
P[ 1] * CALL: 1/03934714462
P[ 1] I SEND:SETUP oad:101 dad:03934714462 pid:3
[Feb 25 16:39:36] DEBUG[20905]: channel.c:3452 ast_channel_make_compatible: src chan mISDN/0-u5 with format 00000008 to dst chan Local/dialcell at sip_to_cell-90b2,2 with format 00000004
[Feb 25 16:39:36] DEBUG[20905]: channel.c:3025 set_format: chan=mISDN/0-u5 format=00000004 (with video & text = 00000004) native=00000008 in dir. read
[Feb 25 16:39:36] DEBUG[20905]: channel.c:3025 set_format: chan=Local/dialcell at sip_to_cell-90b2,2 format=00000004 (with video & text = 00000004) native=00000004 in dir. write
[Feb 25 16:39:36] DEBUG[20905]: channel.c:3025 set_format: chan=Local/dialcell at sip_to_cell-90b2,2 format=00000008 (with video & text = 00000008) native=00000004 in dir. read
[Feb 25 16:39:36] DEBUG[20905]: channel.c:3025 set_format: chan=mISDN/0-u5 format=00000008 (with video & text = 00000008) native=00000008 in dir. write
P[ 1] I IND :NEW_CHANNEL oad:101 dad:03934714462 pid:3 state:CALLING
P[ 1] I IND :SETUP_ACKNOWLEDGE oad:101 dad:03934714462 pid:3 state:CALLING
P[ 1] I IND :NEW_CHANNEL oad:101 dad:03934714462 pid:3 state:CALLING_ACKNOWLEDGE
P[ 1] I IND :PROCEEDING oad:101 dad:03934714462 pid:3 state:CALLING_ACKNOWLEDGE
P[ 1] I IND :DISCONNECT oad:101 dad:03934714462 pid:3 state:PROCEEDING
P[ 1] I SEND:RELEASE oad:101 dad:03934714462 pid:3
[Feb 25 16:39:44] DEBUG[20905]: chan_misdn.c:2427 misdn_hangup: misdn_hangup(mISDN/1-u9)
P[ 1] * IND : HANGUP pid:3 ctx:default dad:03934714462 oad:dialcell State:PROCEEDING
[Feb 25 16:39:44] NOTICE[20905]: cdr.c:434 ast_cdr_free: CDR on channel 'mISDN/0-u5' not posted
[Feb 25 16:39:44] NOTICE[20904]: cdr.c:434 ast_cdr_free: CDR on channel 'Local/dialcell at sip_to_cell-90b2,1' not posted
[Feb 25 16:39:44] NOTICE[20904]: cdr.c:434 ast_cdr_free: CDR on channel 'Local/dial at sip_to_cell-78a4,2' not posted
[Feb 25 16:39:44] NOTICE[20902]: cdr.c:434 ast_cdr_free: CDR on channel 'Local/dial at sip_to_cell-78a4,1' not posted
[Feb 25 16:39:44] NOTICE[20902]: cdr.c:434 ast_cdr_free: CDR on channel 'SIP/101-081a7520' not posted
P[ 1] I IND :RELEASE_COMPLETE oad:101 dad:03934714462 pid:3 state:CLEANING
P[ 1] Cannot hangup chan, no ast
I don't know if I have to set particular things in misdn.conf...
Thanks!
Barbara B.
More information about the asterisk-video
mailing list