<a href="http://pastebin.freeswitch.org/10656">http://pastebin.freeswitch.org/10656</a><br><br><div class="gmail_quote">On Tue, Oct 13, 2009 at 1:34 AM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Turn on debug, make another test call, and pastebin the output.<br><font color="#888888">-MC</font><div><div></div><div class="h5">
<br><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 11:11 AM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><br><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 10:42 AM, Matthew Fong <span dir="ltr">&lt;<a href="mailto:mattdfong@gmail.com" target="_blank">mattdfong@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
when I add a leg_timeout, I get an ALLOTTED_TIMEOUT from my failed bridge...<div><br></div><div>when an ALLOTTED_TIMEOUT is received, the hangup_after_bridge=false is not recognized (I think). Is there anyway to get an alloted_timeout to continue after bridge (failure)?</div>


</blockquote><div><br>Try it with ignore_early_media=true and see if it&#39;s the early media that&#39;s tripping you up.<br>-MC<br> <br></div><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">



<div><br></div><div>revised dialplan &amp; cmd output</div><div><br></div><div><div>    &lt;extension name=&quot;1920&quot;&gt;&lt;!--DEBUG--&gt;</div><div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^1920$&quot;&gt;</div>



<div>        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=false&quot;/&gt;</div></div><div>        &lt;action application=&quot;bridge&quot; data=&quot;{leg_timeout=10}sofia/gateway/<a href="http://debug.com/14159927717" target="_blank">debug.com/14159927717</a>&quot;/&gt;</div>


<div>
<div>        &lt;action application=&quot;transfer&quot; data=&quot;1999&quot;/&gt;&lt;!-- send to unable to reach any contacts--&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div><br></div>



</div><div><div><div>freeswitch@matthew-laptop&gt; originate sofia/internal/sip_1%192.168.1.10 1920</div></div><div>2009-10-12 17:39:22.237622 [NOTICE] switch_channel.c:613 New Channel sofia/internal/sip_1 [1d58fb59-c7f9-4908-b612-5bd1c12083cc]</div>



<div>2009-10-12 17:39:22.313524 [NOTICE] sofia.c:3552 Ring-Ready sofia/internal/sip_1!</div><div>2009-10-12 17:39:25.142400 [NOTICE] sofia.c:3998 Channel [sofia/internal/sip_1] has been answered</div><div>2009-10-12 17:39:25.146259 [INFO] mod_dialplan_xml.c:391 Processing FreeSWITCH-&gt;1920 in context default</div>



<div>2009-10-12 17:39:25.146259 [NOTICE] switch_channel.c:613 New Channel sofia/external/14159927717 [38cb7046-0c0d-47ef-94b5-bf8ccf35d185]</div><div>2009-10-12 17:39:25.152026 [NOTICE] switch_ivr.c:1367 Transfer sofia/internal/sip_1 to XML[1920@default]</div>


<div>
<div>API CALL [originate(sofia/internal/sip_1%192.168.1.10 1920)] output:</div></div><div>+OK 1d58fb59-c7f9-4908-b612-5bd1c12083cc</div><div><br></div><div>freeswitch@matthew-laptop&gt; 2009-10-12 17:39:25.217629 [NOTICE] sofia.c:3552 Ring-Ready sofia/external/14159927717!</div>



<div>2009-10-12 17:39:36.017513 [NOTICE] switch_ivr_originate.c:297 Hangup sofia/external/14159927717 [CS_CONSUME_MEDIA] [ALLOTTED_TIMEOUT]</div><div>2009-10-12 17:39:36.017513 [INFO] switch_cpp.cpp:1116 PCHangup gw:<a href="http://debug.com" target="_blank">debug.com</a> hc:ALLOTTED_TIMEOUT du:0 cn:sofia/external/14159927717</div>



<div>2009-10-12 17:39:36.037520 [NOTICE] switch_core_session.c:1087 Session 12 (sofia/external/14159927717) Ended</div><div>2009-10-12 17:39:36.037520 [NOTICE] switch_core_session.c:1089 Close Channel sofia/external/14159927717 [CS_DESTROY]</div>



<div>2009-10-12 17:39:36.037520 [INFO] mod_dptools.c:2133 Originate Failed.  Cause: ALLOTTED_TIMEOUT</div><div>2009-10-12 17:39:36.037520 [NOTICE] mod_dptools.c:2166 Hangup sofia/internal/sip_1 [CS_EXECUTE] [ALLOTTED_TIMEOUT]</div>



<div>2009-10-12 17:39:36.037520 [NOTICE] switch_core_session.c:1087 Session 11 (sofia/internal/sip_1) Ended</div><div>2009-10-12 17:39:36.037520 [NOTICE] switch_core_session.c:1089 Close Channel sofia/internal/sip_1 [CS_DESTROY]</div>



<div><br></div><div>thanks.</div></div><div><br></div><div>--matt</div></div><div><div></div><div><div><br></div><div><div><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 10:45 PM, Matthew Fong <span dir="ltr">&lt;<a href="mailto:mattdfong@gmail.com" target="_blank">mattdfong@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">doh! thanks!<div><div></div><div><br><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 10:33 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
because the regex is on 1997 not 1999<div><div></div><div><br><br><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 10:25 AM, Matthew Fong <span dir="ltr">&lt;<a href="mailto:mattdfong@gmail.com" target="_blank">mattdfong@gmail.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div>    &lt;extension name=&quot;1999&quot;&gt;&lt;!--DIRECT POWER--&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^1997$&quot;&gt;</div>





<div>        &lt;action application=&quot;playback&quot; data=&quot;hh/hh-unable_to_connect_contact.wav&quot;/&gt;</div>
<div>        &lt;action application=&quot;park&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div><br></div><div>my extn 1999... since it looks from the output like it&#39;s transferring, just don&#39;t know why it&#39;s disconnecting the call instead of playing the .wav and parking.</div>





<div><div></div><div>
<br><div class="gmail_quote">On Mon, Oct 12, 2009 at 10:23 PM, Matthew Fong <span dir="ltr">&lt;<a href="mailto:mattdfong@gmail.com" target="_blank">mattdfong@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">






<div>2009-10-12 15:22:47.015952 [NOTICE] switch_core_state_machine.c:179 Hangup sofia/internal/sip_1 [CS_EXECUTE] [NORMAL_CLEARING]</div><div><br></div><div>might be the line..or the entire output is below....</div><div>





<br>

</div><div>freeswitch@matthew-laptop&gt; originate sofia/internal/sip_1%192.168.1.10 1920</div><div>2009-10-12 15:21:44.029517 [NOTICE] switch_channel.c:613 New Channel sofia/internal/sip_1 [1e722934-7e94-46aa-9d62-e6ec7e7449cf]</div>







<div>2009-10-12 15:21:44.121484 [NOTICE] sofia.c:3552 Ring-Ready sofia/internal/sip_1!</div><div>2009-10-12 15:21:47.285531 [NOTICE] sofia.c:3998 Channel [sofia/internal/sip_1] has been answered</div><div>2009-10-12 15:21:47.290996 [INFO] mod_dialplan_xml.c:391 Processing FreeSWITCH-&gt;1920 in context default</div>







<div>2009-10-12 15:21:47.293452 [NOTICE] switch_channel.c:613 New Channel sofia/external/14159927717 [6b6cc440-e1d6-415a-b84b-494117e7361d]</div><div>2009-10-12 15:21:47.293452 [NOTICE] switch_ivr.c:1367 Transfer sofia/internal/sip_1 to XML[1920@default]</div>







<div>API CALL [originate(sofia/internal/sip_1%192.168.1.10 1920)] output:</div><div>+OK 1e722934-7e94-46aa-9d62-e6ec7e7449cf</div><div><br></div><div>freeswitch@matthew-laptop&gt; 2009-10-12 15:21:47.369855 [NOTICE] sofia.c:3552 Ring-Ready sofia/external/14159927717!</div>







<div>2009-10-12 15:22:47.009474 [NOTICE] switch_ivr_originate.c:2336 Hangup sofia/external/14159927717 [CS_CONSUME_MEDIA] [NO_ANSWER]</div><div>2009-10-12 15:22:47.009474 [INFO] switch_cpp.cpp:1116 PCHangup gw:<a href="http://debug.com" target="_blank">debug.com</a> hc:NO_ANSWER du:0 cn:sofia/external/14159927717</div>







<div>2009-10-12 15:22:47.009474 [NOTICE] switch_core_session.c:1087 Session 47 (sofia/external/14159927717) Ended</div><div>2009-10-12 15:22:47.009474 [NOTICE] switch_core_session.c:1089 Close Channel sofia/external/14159927717 [CS_DESTROY]</div>







<div>2009-10-12 15:22:47.009474 [INFO] mod_dptools.c:2133 Originate Failed.  Cause: NO_ANSWER</div><div>2009-10-12 15:22:47.009474 [NOTICE] switch_ivr.c:1367 Transfer sofia/internal/sip_1 to XML[1999@default]</div><div>2009-10-12 15:22:47.009474 [INFO] mod_dialplan_xml.c:391 Processing FreeSWITCH-&gt;1999 in context default</div>







<div>2009-10-12 15:22:47.015952 [NOTICE] switch_core_state_machine.c:179 Hangup sofia/internal/sip_1 [CS_EXECUTE] [NORMAL_CLEARING]</div><div>2009-10-12 15:22:47.017768 [NOTICE] switch_core_session.c:1087 Session 46 (sofia/internal/sip_1) Ended</div>







<div>2009-10-12 15:22:47.017768 [NOTICE] switch_core_session.c:1089 Close Channel sofia/internal/sip_1 [CS_DESTROY]</div><div><br></div><div><br></div><div>thanks for looking at this.</div><div><div></div><div>
<br><div class="gmail_quote">On Mon, Oct 12, 2009 at 10:06 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">which line is hanging up your A (inbound) leg?<br><br>look for a blue line that says &quot;Hangup xyz....&quot; that matches it so i can see.<br>







<br>I think what is happening is you are getting early media so the bridge is actually working then when nobody answers it dies but technically the bridge worked.  <br>
<br><div class="gmail_quote"><div><div></div><div>On Mon, Oct 12, 2009 at 9:41 AM, Matthew Fong <span dir="ltr">&lt;<a href="mailto:mattdfong@gmail.com" target="_blank">mattdfong@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div><div></div><div>
I think think this might be a bug, but wanted to post here instead of Jira in-case I&#39;m overlooking a configuration variable<div><br></div><div>Dialplan</div><div><br></div><div><div>    &lt;extension name=&quot;1920&quot;&gt;&lt;!--init agent for manual and power dial mode--&gt;</div>









<div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^1920$&quot;&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=false&quot;/&gt;</div><div>        &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/<a href="http://debug.com/14159927717" target="_blank">debug.com/14159927717</a>&quot;/&gt;</div>









<div>        &lt;action application=&quot;transfer&quot; data=&quot;1999&quot;/&gt;&lt;!-- send to unable to reach any contacts--&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div><br></div>









<div>API Command</div><div>originate sofia/internal/sip_1%192.168.1.10 1920</div><div><br></div><div>When the bridge to 14159927717 fails (NO_ANSWER) both calls are terminated instead of continuing on in the dial plan to exten 1999 (which in my dialplan parks the call). hangup_after_bridge however seems to work OK if someone picks up in the bridge. Is this the correct behavior? How else can I prevent the call from hanging up if a bridge fails? Thanks.</div>









<div><br></div><div>I&#39;m using 15135M</div><div><br></div><div>--matt</div><div><a href="http://www.hellohunter.com" target="_blank">http://www.hellohunter.com</a> - Predictive Dialer</div><div><a href="http://www.hellohunter.com/voice_broadcast.php" target="_blank">http://www.hellohunter.com/voice_broadcast.php</a> - Voice Broadcasting</div>









<div><br></div></div>
<br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>








Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>







GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>







<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>





Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>




GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>




<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br></div></div>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>