[asterisk-dev] problem with 3-way conferenicing

Manu Mehta manu.mehta at aricent.com
Mon Apr 23 22:42:18 MST 2007


Hi,

I am trying to achieve 3-way conferencing taking hint from wiki link 
http://www.voip-info.org/wiki/view/Asterisk+n-way+call+HOWTO

Here is the scenario: 
1. user "ua1" calls user "ca1" 
2. "ua1" then presses the feature code "*0" to redirect "ca1" to 
conference room 300 
3. "ua1" then dials the user "33" 
4. user "ua1" and "33" are connected 
5. Now when "ua1" presses the feature code "**" to redirect user "33" to 
same conference room 300, there is error thrown on Asterisk console that 
"res_features.c:1415 ast_bridge_call: Bridge failed on channels 
SIP/ua1-ac750040 and AsyncGoto/Local/33 at nway-conf-dest-7ecf,1<ZOMBIE>" 

Here is my dial plan: 

[manu] 
exten => ca1,1,Dial(SIP/ca1,,wWtTkKrR) 

[nway-conf] 
exten => _.,1,Answer 
exten => _.,n,Set(CONFNO=${EXTEN}) 
exten => _.,n,Set(MEETME_EXIT_CONTEXT=nway-conf-invite) 
exten => _.,n,Set(DYNAMIC_FEATURES=) 
exten => _.,n,MeetMe(${CONFNO},pdMX) 
exten => _.,n,Hangup 

[nway-conf-invite] 
exten => 0,1,Read(DEST,dial,,i) 
exten => 0,n,Set(DYNAMIC_FEATURES=nway-conf-inv#nway-conf-noinv) 
exten => 0,n,Dial(Local/${DEST}@nway-conf-dest,,g) 
exten => 0,n,Set(DYNAMIC_FEATURES=) 
exten => 0,n,Goto(nway-conf,${CONFNO},1) 
exten => i,1,Goto(nway-conf,${CONFNO},1) 

[nway-conf-dest] 
exten => _.,1,Dial(SIP/${EXTEN}) 

[macro-nway-conf-start] 
exten => s,1,Set(CONFNO=300) 
exten => s,n,ChannelRedirect(${BRIDGEPEER},nway-conf,${CONFNO},1) 
exten => s,n,Read(DEST,dial,,i) 
exten => s,n,Set(DYNAMIC_FEATURES=nway-conf-inv#nway-conf-noinv) 
exten => s,n,Dial(Local/${DEST}@nway-conf-dest,,g) 
exten => s,n,Set(DYNAMIC_FEATURES=) 
exten => s,n,Goto(nway-conf,${CONFNO},1) 

[macro-nway-conf-ok] 
exten => s,1,ChannelRedirect(${BRIDGEPEER},nway-conf,${CONFNO},1) 

The application map defined in features.conf is: 
[applicationmap] 
nway-conf-start => *0,self/caller,Macro,nway-conf-start 
nway-conf-inv => **,self/caller,Macro,nway-conf-ok 
nway-conf-noinv => *9,self/caller,Macro,nway-conf-notok 

The output logs on Asterisk console: 

localhost*CLI> 
localhost*CLI> 
-- Executing [ca1 at manu:1] Dial("SIP/ua1-ac750040", "SIP/ca1||wWtTkKr") in 
new stack 
-- Called ca1 
-- SIP/ca1-ab110040 is ringing 
-- SIP/ca1-ab110040 answered SIP/ua1-ac750040 
[Apr 19 16:14:12] WARNING[22989]: rtp.c:874 ast_rtcp_read: RTCP Read too 
short 
-- Feature Found: nway-conf-start exten: nway-conf-start 
-- Executing [s at macro-nway-conf-start:1] Set("SIP/ua1-ac750040", 
"CONFNO=300") in new stack 
-- Executing [s at macro-nway-conf-start:2] 
ChannelRedirect("SIP/ua1-ac750040", "SIP/ca1-ab110040|nway-conf|300|1") in 
new stack 
-- Executing [s at macro-nway-conf-start:3] Read("SIP/ua1-ac750040", 
"DEST|dial||i") in new stack 
-- Executing [300 at nway-conf:1] Answer("SIP/ca1-ab110040", "") in new stack 

-- Executing [300 at nway-conf:2] Set("SIP/ca1-ab110040", "CONFNO=300") in 
new stack 
-- Executing [300 at nway-conf:3] Set("SIP/ca1-ab110040", 
"MEETME_EXIT_CONTEXT=nway-conf-invite") in new stack 
-- Executing [300 at nway-conf:4] Set("SIP/ca1-ab110040", 
"DYNAMIC_FEATURES=") in new stack 
-- Executing [300 at nway-conf:5] MeetMe("SIP/ca1-ab110040", "300|pdMX") in 
new stack 
-- Created MeetMe conference 1023 for conference '300' 
-- Playing 'conf-onlyperson' (language 'en') 
[Apr 19 16:14:15] WARNING[22995]: rtp.c:874 ast_rtcp_read: RTCP Read too 
short 
-- Started music on hold, class 'default', on SIP/ca1-ab110040 
-- User entered '33' 
-- Executing [s at macro-nway-conf-start:4] Set("SIP/ua1-ac750040", 
"DYNAMIC_FEATURES=nway-conf-inv#nway-conf-noinv") in new stack 
-- Executing [s at macro-nway-conf-start:5] Dial("SIP/ua1-ac750040", 
"Local/33 at nway-conf-dest||g") in new stack 
-- Called 33 at nway-conf-dest 
-- Executing [33 at nway-conf-dest:1] Dial("Local/33 at nway-conf-dest-7ecf,2", 
"SIP/33") in new stack 
-- Called 33 
[Apr 19 16:14:18] WARNING[22995]: rtp.c:874 ast_rtcp_read: RTCP Read too 
short 
-- SIP/33-a8ff0040 is ringing 
-- Local/33 at nway-conf-dest-7ecf,1 is ringing 
-- SIP/33-a8ff0040 is ringing 
-- SIP/33-a8ff0040 is ringing 
-- SIP/33-a8ff0040 answered Local/33 at nway-conf-dest-7ecf,2 
-- Local/33 at nway-conf-dest-7ecf,1 stopped sounds 
-- Local/33 at nway-conf-dest-7ecf,1 answered SIP/ua1-ac750040 
[Apr 19 16:14:21] WARNING[22995]: rtp.c:874 ast_rtcp_read: RTCP Read too 
short 
[Apr 19 16:14:24] WARNING[22995]: rtp.c:874 ast_rtcp_read: RTCP Read too 
short 
-- Feature Found: nway-conf-inv exten: nway-conf-inv 
-- Executing [s at macro-nway-conf-ok:1] Set("SIP/ua1-ac750040", 
"CONFNO=300") in new stack 
-- Executing [s at macro-nway-conf-ok:2] ChannelRedirect("SIP/ua1-ac750040", 
"Local/33 at nway-conf-dest-7ecf,1|nway-conf|300|1") in new stack 
[Apr 19 16:14:25] WARNING[22989]: res_features.c:1415 ast_bridge_call: 
Bridge failed on channels SIP/ua1-ac750040 and 
AsyncGoto/Local/33 at nway-conf-dest-7ecf,1<ZOMBIE> 
-- Executing [s at macro-nway-conf-start:6] Set("SIP/ua1-ac750040", 
"DYNAMIC_FEATURES=") in new stack 
-- Executing [s at macro-nway-conf-start:7] Goto("SIP/ua1-ac750040", 
"nway-conf|300|1") in new stack 
-- Goto (nway-conf,300,1) 
== Channel 'SIP/ua1-ac750040' jumping out of macro 'nway-conf-start' 
[Apr 19 16:14:25] WARNING[22989]: res_features.c:1415 ast_bridge_call: 
Bridge failed on channels SIP/ua1-ac750040 and 
AsyncGoto/SIP/ca1-ab110040<ZOMBIE> 
== Spawn extension (nway-conf, 300, 0) exited non-zero on 
'SIP/ua1-ac750040' 
-- Executing [h at nway-conf:1] Answer("SIP/ua1-ac750040", "") in new stack 
-- Executing [h at nway-conf:2] Set("SIP/ua1-ac750040", "CONFNO=h") in new 
stack 
-- Executing [h at nway-conf:3] Set("SIP/ua1-ac750040", 
"MEETME_EXIT_CONTEXT=nway-conf-invite") in new stack 
-- Executing [h at nway-conf:4] Set("SIP/ua1-ac750040", "DYNAMIC_FEATURES=") 
in new stack 
-- Executing [h at nway-conf:5] MeetMe("SIP/ua1-ac750040", "h|pdMX") in new 
stack 
-- Created MeetMe conference 1022 for conference 'h' 
-- Playing 'conf-onlyperson' (language 'en') 
-- Executing [300 at nway-conf:1] Answer("Local/33 at nway-conf-dest-7ecf,1", 
"") in new stack 
-- Executing [300 at nway-conf:2] Set("Local/33 at nway-conf-dest-7ecf,1", 
"CONFNO=300") in new stack 
-- Executing [300 at nway-conf:3] Set("Local/33 at nway-conf-dest-7ecf,1", 
"MEETME_EXIT_CONTEXT=nway-conf-invite") in new stack 
-- Executing [300 at nway-conf:4] Set("Local/33 at nway-conf-dest-7ecf,1", 
"DYNAMIC_FEATURES=") in new stack 
-- Executing [300 at nway-conf:5] MeetMe("Local/33 at nway-conf-dest-7ecf,1", 
"300|pdMX") in new stack 
-- Stopped music on hold on SIP/ca1-ab110040 
[Apr 19 16:14:27] WARNING[22995]: rtp.c:874 ast_rtcp_read: RTCP Read too 
short 

TIA

regards,


Manu Mehta
 
A R I C E N T
 
Plot-17, Sector 18, Gurgaon 122015,
Haryana, India
 
Main     +91.124.4095888 x3274
Fax      +91.124.4095912

 

***********************  Aricent-Unclassified   ***********************

***********************  Aricent-Unclassified   ***********************
"DISCLAIMER: This message is proprietary to Aricent  and is intended solely for the use of 
the individual to whom it is addressed. It may contain privileged or confidential information and should not be 
circulated or used for any purpose other than for what it is intended. If you have received this message in error, 
please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly
prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for 
loss or damage arising from the use of the information transmitted by this email including damage from virus."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20070423/fae15776/attachment-0001.htm


More information about the asterisk-dev mailing list