Pastebin your relevant configs and a console log including SIP trace. I'm sure there's a clue in there somewhere.<div>-MC<br><br><div class="gmail_quote">On Tue, Feb 15, 2011 at 12:57 PM, Jerry Richards <span dir="ltr"><<a href="mailto:jerry.richards@teotech.com">jerry.richards@teotech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I tried setting ignore_early_media=true and ringback=${us-ring} but I still do not hear artificial ringback (see <a href="http://pastebin.freeswitch.org/15392" target="_blank">http://pastebin.freeswitch.org/15392</a>). I also tried enable and disable of bypass-media but it didn't make any difference. Do you see what could be wrong?<br>
<br>
Thanks,<br>
Jerry<br>
<div class="im"><br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a>] On Behalf Of Anthony Minessale<br>
Sent: Monday, February 14, 2011 1:51 PM<br>
To: <a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a><br>
Subject: Re: [Freeswitch-dev] Bridge to PSTN Number Not Using Call Timeout Value<br>
<br>
you are better off using ignore_early_media=true so the originates fail. When you allow early media, getting early media counts as success. When you are chaining many like that you can use artificial ringbak by setting the variable ringback to ${us-ring} on the A leg.<br>
<br>
<br>
</div>On Mon, Feb 14, 2011 at 3:44 PM, Jerry Richards <<a href="mailto:jerry.richards@teotech.com">jerry.richards@teotech.com</a>> wrote:<br>
> Anthony,<br>
><br>
> I have more than one XML bridge statement with continue_on_fail set true. In the case of early media and the bridge_answer_timeout, it looks like it does not continue and attempt the next bridge statement in the XML dialplan. True? If so, is there a way to make Freeswitch continue with the next bridge statement in this case?<br>
><br>
> Thanks,<br>
> Jerry<br>
><br>
><br>
> -----Original Message-----<br>
> From: <a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a><br>
> [mailto:<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a>] On Behalf Of<br>
> Anthony Minessale<br>
> Sent: Monday, February 14, 2011 10:35 AM<br>
> To: <a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a><br>
> Subject: Re: [Freeswitch-dev] Bridge to PSTN Number Not Using Call<br>
> Timeout Value<br>
><br>
> set bridge_answer_timeout on the A leg<br>
><br>
><br>
> On Mon, Feb 14, 2011 at 12:24 PM, Jerry Richards <<a href="mailto:jerry.richards@teotech.com">jerry.richards@teotech.com</a>> wrote:<br>
>> I found out why my call_timeout was not kicking in when I call a PSTN number. It is because of early media. Is there a way to play early media and also have the call_timeout kick-in according to its setting?<br>
>><br>
>> Thanks,<br>
>> Jerry<br>
>><br>
>> -----Original Message-----<br>
>> From: <a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a><br>
>> [mailto:<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a>] On Behalf Of<br>
>> Anthony Minessale<br>
>> Sent: Monday, January 31, 2011 12:13 PM<br>
>> To: <a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a><br>
>> Subject: Re: [Freeswitch-dev] Bridge to PSTN Number Not Using Call<br>
>> Timeout Value<br>
>><br>
>> You should use {originate_timeout=N} but that may not be the actual problem.<br>
>><br>
>> You would probably have to look at a trace with debug level etc to be sure.<br>
>><br>
>><br>
>><br>
>> On Mon, Jan 31, 2011 at 2:07 PM, Jerry Richards <<a href="mailto:jerry.richards@teotech.com">jerry.richards@teotech.com</a>> wrote:<br>
>>> Hello All,<br>
>>><br>
>>><br>
>>><br>
>>> When I set the call_timeout variable (to 12 seconds) before a bridge<br>
>>> to an outbound PSTN call, Freeswitch always rings for 24 seconds<br>
>>> before going to voicemail. If I call an internal extension, then it<br>
>>> uses the call_timeout variable. Do you know why it would do this?<br>
>>><br>
>>><br>
>>><br>
>>> Here is the line that sets the call_timeout variable:<br>
>>><br>
>>> switch_channel_set_variable(channel, "call_timeout", "6");<br>
>>><br>
>>><br>
>>><br>
>>> Here is the PSTN bridge log:<br>
>>><br>
>>> EXECUTE sofia/internal/<a href="http://2003@192.168.72.79:5060" target="_blank">2003@192.168.72.79:5060</a><br>
>>> bridge({presence_id=<a href="mailto:2001@192.168.72.79">2001@192.168.72.79</a>}[lcr_carrier=Carrier /<br>
>>> Location 1/INTERNAL PRI<br>
>>> TRUNK,lcr_rate=0.00200,origination_caller_id_number=2003]openzap/smg<br>
>>> _<br>
>>> p<br>
>>> rid/a/15248142341@g1)<br>
>>><br>
>>><br>
>>><br>
>>> Thanks,<br>
>>><br>
>>> Jerry<br>
>>><br>
>>> _______________________________________________<br>
>>> FreeSWITCH-dev mailing list<br>
>>> <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-d" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-d</a><br>
>>> e<br>
>>> v<br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>><br>
>>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Anthony Minessale II<br>
>><br>
>> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a> 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">MSN:anthony_minessale@hotmail.com</a><br>
>> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">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">sip:888@conference.freeswitch.org</a><br>
>> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
>> pstn:+19193869900<br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-dev mailing list<br>
>> <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-de" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-de</a><br>
>> v<br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-dev mailing list<br>
>> <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-de" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-de</a><br>
>> v<br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
><br>
><br>
><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">MSN:anthony_minessale@hotmail.com</a><br>
> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">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">sip:888@conference.freeswitch.org</a><br>
> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
> pstn:+19193869900<br>
><br>
> _______________________________________________<br>
> FreeSWITCH-dev mailing list<br>
> <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-dev mailing list<br>
> <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
<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">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">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">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>