[Freeswitch-users] Wrong IP in ACK

Sergey Safarov s.safarov at gmail.com
Wed Jun 20 15:30:27 UTC 2018


May be i misunderstanding something with call routing.
I want route calls from FS inside private network to "google.com" (as
example) via two FS (load balancing and redundancy) at edge of private
network.

I cannot use fs_path to route call via "edge FS", because session is
maintained.
May i can use other way to reach my goal?

Sergey


вт, 19 июн. 2018 г. в 20:43, Michael Jerris <mike at jerris.com>:

> if you are using fs_path and expecting it to be anything other than a
> hardcoded outbound proxy then its not going to work like you expect.
>
>
>
> On Jun 19, 2018, at 3:06 AM, Sergey Safarov <s.safarov at gmail.com> wrote:
>
> If FS ignores contact values and use fs_path like "Record-Route" SIP
> header, then ACK must be send to same IP used for INVITE.
> Without this whole session is broken.
> Please look call log. Call is dropped by remote end because ACK not
> received.
>
> вт, 19 июн. 2018 г. в 2:18, Michael Jerris <mike at jerris.com>:
>
>> Setting fs_path like that is used to force a locked in outbound proxy for
>> that dialog.  The behavior you are seeing is intended behavior.
>>
>>
>> On Jun 12, 2018, at 4:45 AM, Sergey Safarov <s.safarov at gmail.com> wrote:
>>
>> root of issue
>> ACK send to IP resolved via DNS for value defined as "fs_path", rather
>> than defined in contact string.
>>
>> more details
>> https://freeswitch.org/jira/browse/FS-11190
>>
>> вт, 12 июн. 2018 г. в 10:30, Sergey Safarov <s.safarov at gmail.com>:
>>
>>> Are anybody experiences issue when for some of calls  ACK send to other
>>> IP.
>>> http://prntscr.com/jtxkbz
>>> in this case FS in bypass media with two profiles (1 to internet, 2
>>> intranet).
>>> INVITE is send to DNS name that is resolved to
>>>
>>>    1. 10.0.9.32
>>>    2. 10.0.9.33
>>>    3. 10.0.9.34
>>>    4. 10.0.9.35
>>>
>>> FS 1.6.19
>>>
>>> Contact on 200 message is correct
>>>
>>> SIP/2.0 200 OK Via: SIP/2.0/TCP 10.0.9.51:12000;rport=39049;branch=
>>> z9hG4bKBH60NQjSZj36a From: "Anonymous" <sip:+12022553656 at 10.0.9.51>;tag=
>>> rH5cBQarr559D To: <sip:13013688630 <(301)%20368-8630>@metropolis.ack.one>;tag=UDv7UXv3B53Da
>>> Call-ID: b0e4d7e1-e79e-1236-8cb9-02420a000933 CSeq: 123998414 INVITE
>>> Contact: <sip:13013688630 <(301)%20368-8630>@10.0.9.33:11000;transport=tcp>
>>> User-Agent: proxy.ackone.com Allow: INVITE, ACK, BYE, CANCEL, OPTIONS,
>>> MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
>>> Now for future investigate FS upgrader to 1.6.20 and enabled siptrace
>>> and loglevel
>>>
>>> Sergey Safarov
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Services
>> sales at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> https://freeswitch.com
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180620/bebf0c29/attachment.html>


More information about the FreeSWITCH-users mailing list