You should use {originate_timeout=N} but that may not be the actual problem. You would probably have to look at a trace with debug level etc to be sure. On Mon, Jan 31, 2011 at 2:07 PM, Jerry Richards <jerry.richards@teotech.com> wrote:
Hello All,
When I set the call_timeout variable (to 12 seconds) before a bridge to an outbound PSTN call, Freeswitch always rings for 24 seconds before going to voicemail. If I call an internal extension, then it uses the call_timeout variable. Do you know why it would do this?
Here is the line that sets the call_timeout variable:
switch_channel_set_variable(channel, "call_timeout", "6");
Here is the PSTN bridge log:
EXECUTE sofia/internal/2003@192.168.72.79:5060 bridge({presence_id=2001@192.168.72.79}[lcr_carrier=Carrier / Location 1/INTERNAL PRI TRUNK,lcr_rate=0.00200,origination_caller_id_number=2003]openzap/smg_prid/a/15248142341@g1)
Thanks,
Jerry
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900