[OpenSIPS-Users] CANCEL handling issue

Jehanzaib Younis jehanzaib.kiani at gmail.com
Tue Nov 28 09:54:26 UTC 2023


I have the exact same issue. I am also not able to change the Via header.

Regards,
Jehanzaib


On Tue, Nov 28, 2023 at 10:48 PM Jehanzaib Younis <jehanzaib.kiani at gmail.com>
wrote:

> Hi Bogdan,
>
> The only difference is, I am receiving traffic on UDP and sending on TCP
> socket.
> sorry i forgot to mention before the advertised_address is
> globally defined (public ip)
>
>
> Regards,
> Jehanzaib
>
>
> On Tue, Nov 28, 2023 at 10:26 PM Bogdan-Andrei Iancu <bogdan at opensips.org>
> wrote:
>
>> Hi,
>>
>> I just made a simple test using only `advertised_address` and calling
>> from A to B and cancelling from A. The CANCEL from OpenSIPS to B obeys the
>> advertising. I used the latest 3.3 :
>>     version: opensips 3.3.8 (x86_64/linux)
>>
>> Tested with both UDP and TCP, worked in both cases.
>>
>> SO, try also the latest 3.3, to see if it works for you too. If not, try
>> to put together a minimal cfg to support user registration + calls between
>> users, cfg to show the problem.
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>>
>> OpenSIPS Founder and Developer
>>   https://www.opensips-solutions.com
>>   https://www.siphub.com
>>
>> On 27.11.2023 13:44, nz deals wrote:
>>
>> Hi Bogdan,
>> No other advertisement via socket definition or any script function.
>>
>> Thank you
>>
>> On Fri, 24 Nov 2023 at 05:47, Bogdan-Andrei Iancu <bogdan at opensips.org>
>> wrote:
>>
>>> Just checking, only the `advertised_address` global param [1], no other
>>> kind of advertising (via socket definition or script function) ?
>>>
>>> [1]
>>> https://www.opensips.org/Documentation/Script-CoreParameters-3-3#advertised_address
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>>
>>> OpenSIPS Founder and Developer
>>>   https://www.opensips-solutions.com
>>>   https://www.siphub.com
>>>
>>> On 11/22/23 10:47 PM, nz deals wrote:
>>>
>>> Hi Bogdan,
>>> My opensips version is opensips 3.3.5 (x86_64/linux)
>>>
>>> Regards,
>>> Jason
>>>
>>> On Thu, 23 Nov 2023 at 01:49, Bogdan-Andrei Iancu <bogdan at opensips.org>
>>> wrote:
>>>
>>>> What is your exact opensips version ( `opensips -V` ) ?
>>>>
>>>> Regards,
>>>>
>>>> Bogdan-Andrei Iancu
>>>>
>>>> OpenSIPS Founder and Developer
>>>>   https://www.opensips-solutions.com
>>>>   https://www.siphub.com
>>>>
>>>> On 11/22/23 12:24 PM, nz deals wrote:
>>>>
>>>> Thanks Bogdan,
>>>>
>>>> It is due to receiving CANCEL from the caller. Yes using an
>>>> advertised_address globally. One of our public addresses.
>>>>
>>>> Thanks
>>>>
>>>> On Wed, 22 Nov 2023 at 23:08, Bogdan-Andrei Iancu <bogdan at opensips.org>
>>>> wrote:
>>>>
>>>>> Hi Jason,
>>>>>
>>>>> The CANCEL generated by OpenSIPS, is it due to a received CANCEL or
>>>>> due to an internal timeout / forking? ALso do you use any advertising in
>>>>> your setup? if yes, is it per socket, global or ?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Bogdan-Andrei Iancu
>>>>>
>>>>> OpenSIPS Founder and Developer
>>>>>   https://www.opensips-solutions.com
>>>>>   https://www.siphub.com
>>>>>
>>>>> On 11/22/23 7:04 AM, nz deals wrote:
>>>>>
>>>>> Hi folks,
>>>>>
>>>>> Is there any bug in the CANCEL handling in the version 3.3.x?
>>>>> I have a weird issue,
>>>>> The INVITE have a VIA header as my private ip
>>>>> Via: SIP/2.0/TCP 192.XX.XX.XX:5060;branch=XXXXXXX
>>>>>
>>>>> But when i CANCEL the call, the CANCEL have my public ip in the VIA
>>>>> header.
>>>>> Via: SIP/2.0/TCP 104.xx.xx.xx:5060;branch=xxxxxxx
>>>>>
>>>>> Anyway can I change the via in the cancel?
>>>>>
>>>>> Regards,
>>>>> Jason
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>
>>>>>
>>>>>
>>>>
>>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20231128/de7c46b6/attachment.html>


More information about the Users mailing list