To/From are actually meaningless, what exactly are you trying to fix? and you might wanna try a newer rev.

/b


On Tue, Jan 5, 2021 at 3:42 PM Unai Rodriguez <unai@sysbible.org> wrote:
Dear List,

We are having FreeSWITCH behind AVAYA infrastructure and when FreeSWITCH sends a BYE the From and the To headers are inverted. For example this call was initiated by John Smith however the BYE request has the From and To inverted:

send 619 bytes to tcp/[10.125.15.122]:5060 at 16:57:04.079105:
   ------------------------------------------------------------------------
   BYE sip:5188@10.125.15.122:5060;transport=tcp SIP/2.0
   Via: SIP/2.0/TCP 10.155.20.104;branch=z9hG4bKa99Q7j7crjK9K
   Max-Forwards: 70
   From: <sip:1581@10.155.20.104>;tag=Ze68N90tZ1D0c
   To: "John Smith" <sip:5188@example.com>;tag=54578355~d340a1b2-9d48-464d-9060-03cf872440b9-97644820
   Call-ID: 2ad6b00-ff419a57-85bc53-66199b0a@10.125.15.122
   CSeq: 30379120 BYE
   User-Agent: FreeSWITCH-mod_sofia/1.8.6~64bit
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, path, replaces
   Reason: Q.850;cause=16;text="NORMAL_CLEARING"
   Content-Length: 0

These seems to work for Cisco and other Telephony products but not the particular AVAYA system we're working with.

Is there any way to modify this behavior and/or is this a known issue?

Thank you so  much

-- unai

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

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
https://freeswitch.com


--

Brian West | Co-founder and Developer

Need Commercial support? email sales@freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045

Email: brian@freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com

https://www.facebook.com/signalwireinc?src=email https://twitter.com/freeswitch