I'm still having this issue with random EXCHANGE_ROUTING_ERROR disconnects for users utilizing my inbound DID to connect to my FreeSWITCH server. It's a predictive dialing application, with one agent session being bridged with multiple calls and transfered back and forth between extensions in my dial plan. After a random number of bridging and transferring, FreeSWITCH suddenly sends a BYE to my DID provider citing an EXCHANGE_ROUTING_ERROR. It does not happen at any one-point in my dial plan, or applications--it just randomly disconnects when a call that the Agent is bridged to hangs-up or is disconnected. It seems to only happen when two external sip profiles are being bridged together, and not when an internal and external profile is being bridged.
http://wiki.freeswitch.org/wiki/Sofia#Debugging_Sofia-SIPturn the logging all the way up and see what it says.MikeOn Aug 4, 2009, at 2:51 PM, Matthew Fong wrote:Hi Mathieu, thanks for the reply. I enabled sip trace logging and got the logs below, but I am still at a loss at being able to identify the error or reproduce it consistently. The below log indicates to me that my FS server is initiating sending 2 BYE message to my DID provider (didforsale.com). Is there a way I can look further inside FreeSWITCH to see why it is sending this BYE packet?sent 882 bytes to udp/[209.216.2.211]:5060 at 17:15:44.679208:BYE sip:199.173.100.144:5060;transport=UDP SIP/2.0Via: SIP/2.0/UDP 66.197.142.69:5080;rport;branch=z9hG4bKD0UKrDB508mDDRoute: <sip:209.216.2.211;ftag=dc7-13c4-2401b7-46dea593-2401b7;lr=on>Route: <sip:65.217.40.210:5060;lr>Route: <sip:63.110.102.238;lr>Max-Forwards: 70From: <sip:+1212381XXXX@63.110.102.238:5060;user=phone>;tag=Ztr5ycrv3QZ1gTo: <sip:+1909635XXXX@199.173.100.144:5060;user=phone>;tag=dc7-13c4-2401b7-46dea593-2401b7Call-ID: a22bffb89064adc713c42401b78ca6b689e90b32fdbf612c0-0487-7441CSeq: 118584736 BYEContact: <sip:+1212381XXXX@66.197.142.69:5080;transport=udp>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14417MAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFOSupported: timer, precondition, path, replacesReason: Q.850;cause=25;text="EXCHANGE_ROUTING_ERROR"Content-Length: 0sent 882 bytes to udp/[209.216.2.211]:5060 at 17:15:45.182589:BYE sip:199.173.100.144:5060;transport=UDP SIP/2.0Via: SIP/2.0/UDP 66.197.142.69:5080;rport;branch=z9hG4bKD0UKrDB508mDDRoute: <sip:209.216.2.211;ftag=dc7-13c4-2401b7-46dea593-2401b7;lr=on>Route: <sip:65.217.40.210:5060;lr>Route: <sip:63.110.102.238;lr>Max-Forwards: 70From: <sip:+1212381XXXX@63.110.102.238:5060;user=phone>;tag=Ztr5ycrv3QZ1gTo: <sip:+1909635XXXX@199.173.100.144:5060;user=phone>;tag=dc7-13c4-2401b7-46dea593-2401b7Call-ID: a22bffb89064adc713c42401b78ca6b689e90b32fdbf612c0-0487-7441CSeq: 118584736 BYEContact: <sip:+1212381XXXX@66.197.142.69:5080;transport=udp>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14417MAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFOSupported: timer, precondition, path, replacesReason: Q.850;cause=25;text="EXCHANGE_ROUTING_ERROR"Content-Length: 0On Sun, Aug 2, 2009 at 11:20 PM, Mathieu Rene <mrene_lists@avgs.ca> wrote:
Hi,
Digging a bit in mod_sofia releaved that it can be caused by a SIP
code 482 (loop detected), 483 (too many hops) or 484 (address
incomplete).
Do a SIP trace to sched more light on what's happening.
Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene@avgs.ca
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org