<div>Hi,</div>
<div> </div>
<div>I think the important error message is "jumping out of macro 'nway-conf-start' " not ast_bridge_call.</div>
<div>It is because it is not allow to jump to another context when you use macro.</div>
<div> </div>
<div>Best regards,</div>
<div>Charles</div>
<div><br><br> </div>
<div class="gmail_quote">2007/4/23 Manu Mehta <<a href="mailto:manu.mehta@aricent.com">manu.mehta@aricent.com</a>>:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><font face="sans-serif" size="2">Hi,</font> <br><br><font face="sans-serif" size="2">I am trying to achieve 3-way conferencing taking hint from wiki link <a href="http://www.voip-info.org/wiki/view/Asterisk+n-way+call+HOWTO" target="_blank">http://www.voip-info.org/wiki/view/Asterisk+n-way+call+HOWTO</a></font> <br>
<br><font face="sans-serif" size="2">Here is the scenario: </font><br><font face="sans-serif" size="2">1. user "ua1" calls user "ca1" </font><br><font face="sans-serif" size="2">2. "ua1" then presses the feature code "*0" to redirect "ca1" to conference room 300 </font><br>
<font face="sans-serif" size="2">3. "ua1" then dials the user "33" </font><br><font face="sans-serif" size="2">4. user "ua1" and "33" are connected </font><br><font face="sans-serif" size="2">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@nway-conf-dest-7ecf,1<ZOMBIE>" </font><br>
<br><font face="sans-serif" size="2">Here is my dial plan: </font><br><br><font face="sans-serif" size="2"><b>[manu]</b> </font><br><font face="sans-serif" size="2">exten => ca1,1,Dial(SIP/ca1,,wWtTkKrR) </font><br><br>
<font face="sans-serif" size="2"><b>[nway-conf]</b> </font><br><font face="sans-serif" size="2">exten => _.,1,Answer </font><br><font face="sans-serif" size="2">exten => _.,n,Set(CONFNO=${EXTEN}) </font><br><font face="sans-serif" size="2">exten => _.,n,Set(MEETME_EXIT_CONTEXT=nway-conf-invite) </font><br>
<font face="sans-serif" size="2">exten => _.,n,Set(DYNAMIC_FEATURES=) </font><br><font face="sans-serif" size="2">exten => _.,n,MeetMe(${CONFNO},pdMX) </font><br><font face="sans-serif" size="2">exten => _.,n,Hangup </font><br>
<br><font face="sans-serif" size="2"><b>[nway-conf-invite]</b> </font><br><font face="sans-serif" size="2">exten => 0,1,Read(DEST,dial,,i) </font><br><font face="sans-serif" size="2">exten => 0,n,Set(DYNAMIC_FEATURES=nway-conf-inv#nway-conf-noinv) </font><br>
<font face="sans-serif" size="2">exten => 0,n,Dial(Local/${DEST}@nway-conf-dest,,g) </font><br><font face="sans-serif" size="2">exten => 0,n,Set(DYNAMIC_FEATURES=) </font><br><font face="sans-serif" size="2">exten => 0,n,Goto(nway-conf,${CONFNO},1) </font><br>
<font face="sans-serif" size="2">exten => i,1,Goto(nway-conf,${CONFNO},1) </font><br><br><font face="sans-serif" size="2"><b>[nway-conf-dest] </b></font><br><font face="sans-serif" size="2">exten => _.,1,Dial(SIP/${EXTEN}) </font><br>
<br><font face="sans-serif" size="2"><b>[macro-nway-conf-start] </b></font><br><font face="sans-serif" size="2">exten => s,1,Set(CONFNO=300) </font><br><font face="sans-serif" size="2">exten => s,n,ChannelRedirect(${BRIDGEPEER},nway-conf,${CONFNO},1) </font><br>
<font face="sans-serif" size="2">exten => s,n,Read(DEST,dial,,i) </font><br><font face="sans-serif" size="2">exten => s,n,Set(DYNAMIC_FEATURES=nway-conf-inv#nway-conf-noinv) </font><br><font face="sans-serif" size="2">exten => s,n,Dial(Local/${DEST}@nway-conf-dest,,g) </font><br>
<font face="sans-serif" size="2">exten => s,n,Set(DYNAMIC_FEATURES=) </font><br><font face="sans-serif" size="2">exten => s,n,Goto(nway-conf,${CONFNO},1) </font><br><br><font face="sans-serif" size="2"><b>[macro-nway-conf-ok] </b></font><br>
<font face="sans-serif" size="2">exten => s,1,ChannelRedirect(${BRIDGEPEER},nway-conf,${CONFNO},1) </font><br><br><font face="sans-serif" size="2">The application map defined in features.conf is: </font><br><font face="sans-serif" size="2"><b>[applicationmap] </b></font><br>
<font face="sans-serif" size="2">nway-conf-start => *0,self/caller,Macro,nway-conf-start </font><br><font face="sans-serif" size="2">nway-conf-inv => **,self/caller,Macro,nway-conf-ok </font><br><font face="sans-serif" size="2">nway-conf-noinv => *9,self/caller,Macro,nway-conf-notok </font><br>
<br><font face="sans-serif" size="2"><b>The output logs on Asterisk console:</b> </font><br><br><font face="sans-serif" size="2">localhost*CLI> </font><br><font face="sans-serif" size="2">localhost*CLI> </font><br><font face="sans-serif" size="2">-- Executing [ca1@manu:1] Dial("SIP/ua1-ac750040", "SIP/ca1||wWtTkKr") in new stack </font><br>
<font face="sans-serif" size="2">-- Called ca1 </font><br><font face="sans-serif" size="2">-- SIP/ca1-ab110040 is ringing </font><br><font face="sans-serif" size="2">-- SIP/ca1-ab110040 answered SIP/ua1-ac750040 </font><br>
<font face="sans-serif" size="2">[Apr 19 16:14:12] WARNING[22989]: rtp.c:874 ast_rtcp_read: RTCP Read too short </font><br><font face="sans-serif" size="2">-- Feature Found: nway-conf-start exten: nway-conf-start </font><br>
<font face="sans-serif" size="2">-- Executing [s@macro-nway-conf-start:1] Set("SIP/ua1-ac750040", "CONFNO=300") in new stack </font><br><font face="sans-serif" size="2">-- Executing [s@macro-nway-conf-start:2] ChannelRedirect("SIP/ua1-ac750040", "SIP/ca1-ab110040|nway-conf|300|1") in new stack </font><br>
<font face="sans-serif" size="2">-- Executing [s@macro-nway-conf-start:3] Read("SIP/ua1-ac750040", "DEST|dial||i") in new stack </font><br><font face="sans-serif" size="2">-- Executing [300@nway-conf:1] Answer("SIP/ca1-ab110040", "") in new stack </font><br>
<font face="sans-serif" size="2">-- Executing [300@nway-conf:2] Set("SIP/ca1-ab110040", "CONFNO=300") in new stack </font><br><font face="sans-serif" size="2">-- Executing [300@nway-conf:3] Set("SIP/ca1-ab110040", "MEETME_EXIT_CONTEXT=nway-conf-invite") in new stack </font><br>
<font face="sans-serif" size="2">-- Executing [300@nway-conf:4] Set("SIP/ca1-ab110040", "DYNAMIC_FEATURES=") in new stack </font><br><font face="sans-serif" size="2">-- Executing [300@nway-conf:5] MeetMe("SIP/ca1-ab110040", "300|pdMX") in new stack </font><br>
<font face="sans-serif" size="2">-- Created MeetMe conference 1023 for conference '300' </font><br><font face="sans-serif" size="2">-- Playing 'conf-onlyperson' (language 'en') </font><br><font face="sans-serif" size="2">[Apr 19 16:14:15] WARNING[22995]: rtp.c:874 ast_rtcp_read: RTCP Read too short </font><br>
<font face="sans-serif" size="2">-- Started music on hold, class 'default', on SIP/ca1-ab110040 </font><br><font face="sans-serif" size="2">-- User entered '33' </font><br><font face="sans-serif" size="2">-- Executing [s@macro-nway-conf-start:4] Set("SIP/ua1-ac750040", "DYNAMIC_FEATURES=nway-conf-inv#nway-conf-noinv") in new stack </font><br>
<font face="sans-serif" size="2">-- Executing [s@macro-nway-conf-start:5] Dial("SIP/ua1-ac750040", "Local/33@nway-conf-dest||g") in new stack </font><br><font face="sans-serif" size="2">-- Called 33@nway-conf-dest </font><br>
<font face="sans-serif" size="2">-- Executing [33@nway-conf-dest:1] Dial("Local/33@nway-conf-dest-7ecf,2", "SIP/33") in new stack </font><br><font face="sans-serif" size="2">-- Called 33 </font><br><font face="sans-serif" size="2">[Apr 19 16:14:18] WARNING[22995]: rtp.c:874 ast_rtcp_read: RTCP Read too short </font><br>
<font face="sans-serif" size="2">-- SIP/33-a8ff0040 is ringing </font><br><font face="sans-serif" size="2">-- Local/33@nway-conf-dest-7ecf,1 is ringing </font><br><font face="sans-serif" size="2">-- SIP/33-a8ff0040 is ringing </font><br>
<font face="sans-serif" size="2">-- SIP/33-a8ff0040 is ringing </font><br><font face="sans-serif" size="2">-- SIP/33-a8ff0040 answered Local/33@nway-conf-dest-7ecf,2 </font><br><font face="sans-serif" size="2">-- Local/33@nway-conf-dest-7ecf,1 stopped sounds </font><br>
<font face="sans-serif" size="2">-- Local/33@nway-conf-dest-7ecf,1 answered SIP/ua1-ac750040 </font><br><font face="sans-serif" size="2">[Apr 19 16:14:21] WARNING[22995]: rtp.c:874 ast_rtcp_read: RTCP Read too short </font><br>
<font face="sans-serif" size="2">[Apr 19 16:14:24] WARNING[22995]: rtp.c:874 ast_rtcp_read: RTCP Read too short </font><br><font face="sans-serif" size="2">-- Feature Found: nway-conf-inv exten: nway-conf-inv </font><br><font face="sans-serif" size="2">-- Executing [s@macro-nway-conf-ok:1] Set("SIP/ua1-ac750040", "CONFNO=300") in new stack </font><br>
<font face="sans-serif" size="2">-- <b>Executing [s@macro-nway-conf-ok:2] ChannelRedirect("SIP/ua1-ac750040", "Local/33@nway-conf-dest-7ecf,1|nway-conf|300|1") in new stack </b></font><br><font face="sans-serif" size="2"><b>[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@nway-conf-dest-7ecf,1<ZOMBIE> </b></font><br>
<font face="sans-serif" size="2">-- Executing [s@macro-nway-conf-start:6] Set("SIP/ua1-ac750040", "DYNAMIC_FEATURES=") in new stack </font><br><font face="sans-serif" size="2">-- Executing [s@macro-nway-conf-start:7] Goto("SIP/ua1-ac750040", "nway-conf|300|1") in new stack </font><br>
<font face="sans-serif" size="2">-- Goto (nway-conf,300,1) </font><br><font face="sans-serif" size="2">== Channel 'SIP/ua1-ac750040' jumping out of macro 'nway-conf-start' </font><br><font face="sans-serif" size="2">[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> </font><br>
<font face="sans-serif" size="2">== Spawn extension (nway-conf, 300, 0) exited non-zero on 'SIP/ua1-ac750040' </font><br><font face="sans-serif" size="2">-- Executing [h@nway-conf:1] Answer("SIP/ua1-ac750040", "") in new stack </font><br>
<font face="sans-serif" size="2">-- Executing [h@nway-conf:2] Set("SIP/ua1-ac750040", "CONFNO=h") in new stack </font><br><font face="sans-serif" size="2">-- Executing [h@nway-conf:3] Set("SIP/ua1-ac750040", "MEETME_EXIT_CONTEXT=nway-conf-invite") in new stack </font><br>
<font face="sans-serif" size="2">-- Executing [h@nway-conf:4] Set("SIP/ua1-ac750040", "DYNAMIC_FEATURES=") in new stack </font><br><font face="sans-serif" size="2">-- Executing [h@nway-conf:5] MeetMe("SIP/ua1-ac750040", "h|pdMX") in new stack </font><br>
<font face="sans-serif" size="2">-- Created MeetMe conference 1022 for conference 'h' </font><br><font face="sans-serif" size="2">-- Playing 'conf-onlyperson' (language 'en') </font><br><font face="sans-serif" size="2">-- Executing [300@nway-conf:1] Answer("Local/33@nway-conf-dest-7ecf,1", "") in new stack </font><br>
<font face="sans-serif" size="2">-- Executing [300@nway-conf:2] Set("Local/33@nway-conf-dest-7ecf,1", "CONFNO=300") in new stack </font><br><font face="sans-serif" size="2">-- Executing [300@nway-conf:3] Set("Local/33@nway-conf-dest-7ecf,1", "MEETME_EXIT_CONTEXT=nway-conf-invite") in new stack </font><br>
<font face="sans-serif" size="2">-- Executing [300@nway-conf:4] Set("Local/33@nway-conf-dest-7ecf,1", "DYNAMIC_FEATURES=") in new stack </font><br><font face="sans-serif" size="2">-- Executing [300@nway-conf:5] MeetMe("Local/33@nway-conf-dest-7ecf,1", "300|pdMX") in new stack </font><br>
<font face="sans-serif" size="2">-- Stopped music on hold on SIP/ca1-ab110040 </font><br><font face="sans-serif" size="2">[Apr 19 16:14:27] WARNING[22995]: rtp.c:874 ast_rtcp_read: RTCP Read too short </font><br><br><font face="sans-serif" size="2">The Asterisk version that i am using is 1.4.0</font> <br>
<br><font face="sans-serif" size="2">TIA</font> <br><br><font face="sans-serif" size="2">regards,<br></font>
<table width="100%">
<tbody>
<tr>
<td width="100%"><font face="Arial" color="#5f5f5f" size="1"><b>Manu Mehta</b></font>
<tr valign="top">
<td><font face="Arial" color="red" size="1"><b> </b></font>
<tr valign="top">
<td><font face="Arial" color="red" size="1"><b>A R I C E N T</b></font>
<tr valign="top">
<td><font face="Arial" color="#5f5f5f" size="1"> </font>
<tr valign="top">
<td><font face="Arial" color="#5f5f5f" size="1">Plot-17, Sector 18, Gurgaon 122015,</font>
<tr valign="top">
<td><font face="Arial" color="#5f5f5f" size="1">Haryana, India</font>
<tr valign="top">
<td><font face="Arial" color="#5f5f5f" size="1"> </font>
<tr valign="top">
<td><font face="Arial" color="#5f5f5f" size="1">Main </font><font face="Arial" color="#606060" size="1">+91.124.4095888 x3274</font>
<tr valign="top">
<td><font face="Arial" color="#5f5f5f" size="1">Fax </font><font face="Arial" color="#606060" size="1">+91.124.4095912</font></td></tr></td></tr></td></tr></td></tr></td></tr></td></tr></td></tr></td></tr></td></tr>
</tbody></table><br>
<p><font size="3"> <br><br>*********************** Aricent-Unclassified ***********************</font>
<table>
<tbody>
<tr>
<td bgcolor="#ffffff"><font color="#000000"><pre>"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."
</pre></font></td></tr></tbody></table></p><br>_______________________________________________<br>--Bandwidth and Colocation provided by Easynews.com --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Charles<br>