[Asterisk-video] Generate outbound 3g call will .call file and local channel
Konstantinos Liadakis
kliadakis at yuboto.com
Thu Sep 8 07:57:07 CDT 2011
My best guess regarding outbound video dialling with .call files using a
localchannel is the following
Call file
Channel: Local/XXXXXXXXXX at from-dialer1/n
CallerId: 1506
Context: from-dialer1
Extension: XXXXXXXXXX
Priority: 1
Set: CHANNEL(transfercapability)=VIDEO
Set: CHANNEL(userinformationlayer1)=38
[from-dialer1]
exten => _X.,1,Set(CHANNEL(transfercapability)=VIDEO)
exten => _X.,n,Set(CHANNEL(userinformationlayer1)=38)
exten => _X.,n,Dial(Zap/g0/${EXTEN},30)
exten => _X.,n,h324m_gw(play at video-campaign1)
exten => _X.,n,Hangup()
[video-campaign1]
exten => play,1,h324m_gw_answer()
exten =>
play,n,mp4play(/var/lib/asterisk/sounds/autodialer/user_recordings/video/26/gauloises1.3gp)
exten => play,n,Hangup()
But yet, it does not work. When execution reaches h324m_gw_answer call
hangs up.
Below is the cli
-- Attempting call on Local/XXXXXXXXXX at from-dialer1/n for
XXXXXXXXXX at from-dialer1:1 (Retry 1)
-- Executing [XXXXXXXXXX at from-dialer1:1]
Set("Local/XXXXXXXXXX at from-dialer1-90dd,2",
"CHANNEL(transfercapability)=VIDEO") in new stack
-- Executing [XXXXXXXXXX at from-dialer1:2]
Set("Local/XXXXXXXXXX at from-dialer1-90dd,2",
"CHANNEL(userinformationlayer1)=38") in new stack
-- Executing [XXXXXXXXXX at from-dialer1:3]
Dial("Local/XXXXXXXXXX at from-dialer1-90dd,2", "Zap/g0/XXXXXXXXXX|30") in
new stack
-- digital call, setting user information layer 1 to 38 (0x26)
-- zap call: h324musellc=0, ast->userinformationlayer1=38
-- Requested transfer capability: 0x18 - VIDEO
-- Called g0/XXXXXXXXXX
-- Zap/1-1 is proceeding passing it to
Local/XXXXXXXXXX at from-dialer1-90dd,2
-- Zap/1-1 is ringing
-- Zap/1-1 answered Local/XXXXXXXXXX at from-dialer1-90dd,2
> Channel Local/XXXXXXXXXX at from-dialer1-90dd,1 was answered.
-- Executing [XXXXXXXXXX at from-dialer1:1]
Set("Local/XXXXXXXXXX at from-dialer1-90dd,1",
"CHANNEL(transfercapability)=VIDEO") in new stack
-- Executing [XXXXXXXXXX at from-dialer1:2]
Set("Local/XXXXXXXXXX at from-dialer1-90dd,1",
"CHANNEL(userinformationlayer1)=38") in new stack
-- Executing [XXXXXXXXXX at from-dialer1:3]
Dial("Local/XXXXXXXXXX at from-dialer1-90dd,1", "Zap/g0/XXXXXXXXXX|30") in
new stack
-- digital call, setting user information layer 1 to 38 (0x26)
-- zap call: h324musellc=0, ast->userinformationlayer1=38
-- Requested transfer capability: 0x18 - VIDEO
-- Called g0/XXXXXXXXXX
-- Local/XXXXXXXXXX at from-dialer1-90dd,1 requested special control
20, passing it to Zap/2-1
-- Zap/2-1 is proceeding passing it to
Local/XXXXXXXXXX at from-dialer1-90dd,1
-- Local/XXXXXXXXXX at from-dialer1-90dd,1 requested special control
20, passing it to Zap/2-1
-- Local/XXXXXXXXXX at from-dialer1-90dd,1 requested special control
20, passing it to Zap/2-1
-- Channel 0/2, span 1 got hangup request, cause 17
-- Zap/2-1 is busy
-- Hungup 'Zap/2-1'
== Everyone is busy/congested at this time (1:1/0/0)
-- Executing [XXXXXXXXXX at from-dialer1:4]
h324m_gw("Local/XXXXXXXXXX at from-dialer1-90dd,1", "play at video-campaign1")
in new stack
-- Executing [play at video-campaign1:1]
h324m_gw_answer("Local/play at video-campaign1-8ead,2", "") in new stack
-- Channel 0/1, span 1 got hangup request, cause 16
-- Hungup 'Zap/1-1'
== Spawn extension (from-dialer1, XXXXXXXXXX, 3) exited non-zero on
'Local/XXXXXXXXXX at from-dialer1-90dd,2'
== Spawn extension (from-dialer1, XXXXXXXXXX, 4) exited non-zero on
'Local/XXXXXXXXXX at from-dialer1-90dd,1'
== Spawn extension (video-campaign1, play, 1) exited non-zero on
'Local/play at video-campaign1-8ead,2'
[2011-09-08 15:42:43] NOTICE[2713]: pbx_spool.c:351 attempt_thread: Call
completed to Local/XXXXXXXXXX at from-dialer1/n
More information about the asterisk-video
mailing list