[Asterisk-video] Generate outbound 3g call will .call file and local channel

Konstantinos Liadakis kliadakis at yuboto.com
Thu Sep 8 09:15:28 CDT 2011


Hello again Mitul and thank you for your reply,

I followed your instructions but still again when h324m_gw_answer() is 
reached, call hungs up. Any more suggestions?

Thank you again, your help is very much appreciated!

Best regards

Dinos

My call file

Channel: Local/XXXXXXXXX at from-dialer1/n
CallerId: 1506
Context: video-campaign1
Extension: play
Priority: 1
Set: CHANNEL(transfercapability)=VIDEO
Set: CHANNEL(userinformationlayer1)=38

My dialplan

[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,Hangup()

[video-campaign1]
exten => play,1,h324m_gw(play2 at video-campaign1)
exten => play2,1,h324m_gw_answer()
exten => play2,n,mp4play(file.3gp)
exten => play2,n,Hangup()

-- Attempting call on Local/XXXXXXXXXX at from-dialer1/n for 
play at video-campaign1:1 (Retry 1)
     -- Executing [XXXXXXXXXX at from-dialer1:1] 
Set("Local/XXXXXXXXXX at from-dialer1-fa03,2", 
"CHANNEL(transfercapability)=VIDEO") in new stack
     -- Executing [XXXXXXXXXX at from-dialer1:2] 
Set("Local/XXXXXXXXXX at from-dialer1-fa03,2", 
"CHANNEL(userinformationlayer1)=38") in new stack
     -- Executing [XXXXXXXXXX at from-dialer1:3] 
Dial("Local/XXXXXXXXXX at from-dialer1-fa03,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-fa03,2
     -- Zap/1-1 is ringing
     -- Zap/1-1 answered Local/XXXXXXXXXX at from-dialer1-fa03,2
 > Channel Local/XXXXXXXXXX at from-dialer1-fa03,1 was answered.
     -- Executing [play at video-campaign1:1] 
h324m_gw("Local/XXXXXXXXXX at from-dialer1-fa03,1", 
"play2 at video-campaign1") in new stack
     -- Executing [play2 at video-campaign1:1] 
h324m_gw_answer("Local/play2 at video-campaign1-5a2e,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-fa03,2'
     -- Executing [h at from-dialer1:1] 
NoOp("Local/XXXXXXXXXX at from-dialer1-fa03,2", "Hangupcause1:16") in new stack
     -- Executing [h at from-dialer1:2] 
NoOp("Local/XXXXXXXXXX at from-dialer1-fa03,2", "Dialstatus1:ANSWER") in 
new stack
     -- Executing [h at from-dialer1:3] 
NoOp("Local/XXXXXXXXXX at from-dialer1-fa03,2", "Reason1:") in new stack
     -- Executing [h at from-dialer1:4] 
Hangup("Local/XXXXXXXXXX at from-dialer1-fa03,2", "") in new stack
   == Spawn extension (from-dialer1, h, 4) exited non-zero on 
'Local/XXXXXXXXXX at from-dialer1-fa03,2'
   == Spawn extension (video-campaign1, play2, 1) exited non-zero on 
'Local/play2 at video-campaign1-5a2e,2'
     -- Executing [h at video-campaign1:1] 
NoOp("Local/play2 at video-campaign1-5a2e,2", "Hangupcause2:0") in new stack
     -- Executing [h at video-campaign1:2] 
NoOp("Local/play2 at video-campaign1-5a2e,2", "Dialstatus2:") in new stack
     -- Executing [h at video-campaign1:3] 
NoOp("Local/play2 at video-campaign1-5a2e,2", "Reason2:") in new stack
     -- Executing [h at video-campaign1:4] 
Hangup("Local/play2 at video-campaign1-5a2e,2", "") in new stack
   == Spawn extension (video-campaign1, h, 4) exited non-zero on 
'Local/play2 at video-campaign1-5a2e,2'
   == Spawn extension (video-campaign1, play, 1) exited non-zero on 
'Local/XXXXXXXXXX at from-dialer1-fa03,1'
     -- Executing [h at video-campaign1:1] 
NoOp("Local/XXXXXXXXXX at from-dialer1-fa03,1", "Hangupcause2:0") in new stack
     -- Executing [h at video-campaign1:2] 
NoOp("Local/XXXXXXXXXX at from-dialer1-fa03,1", "Dialstatus2:") in new stack
     -- Executing [h at video-campaign1:3] 
NoOp("Local/XXXXXXXXXX at from-dialer1-fa03,1", "Reason2:") in new stack
     -- Executing [h at video-campaign1:4] 
Hangup("Local/XXXXXXXXXX at from-dialer1-fa03,1", "") in new stack
   == Spawn extension (video-campaign1, h, 4) exited non-zero on 
'Local/XXXXXXXXXX at from-dialer1-fa03,1'
[2011-09-08 16:59:53] NOTICE[3895]: pbx_spool.c:351 attempt_thread: Call 
completed to Local/XXXXXXXXXX at from-dialer1/n




More information about the asterisk-video mailing list