[Freeswitch-users] Wrong IP in ACK

Sergey Safarov s.safarov at gmail.com
Thu Jun 21 05:18:41 UTC 2018


Michael, you right FS send ACK to defined by "fs_path"
But i use "domain" as "fs_path" value, and and "domain" is resolved to
several IP via "A" records.
In this case "INVITE" send to one IP of "hardcoded outbound proxy" and ACK
send to other IP of "hardcoded outbound proxy".
But this this IPs is not same host. This is two FS used for load balancing
and HA.
Because FS is B2BUA and no one of "hardcoded outbound proxy" have
established properly call, then call is dropped.

As workaround I can manually create two legs/calls. One via first IP
"hardcoded outbound proxy" directly and second call via second IP.
But this will be "hardcoded IP" in dialplan. That also not fine.

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/20180621/74cdfad5/attachment-0001.html>


More information about the FreeSWITCH-users mailing list