[SR-Users] Kamailio as an Outbound Proxy - Strange Sip Flow

David Villasmil david.villasmil.work at gmail.com
Sat Aug 24 01:41:04 CEST 2019


Asterisk is sending that because of that record-route. I think you need to
add your record-route:

https://kamailio.org/docs/modules/5.1.x/modules/rr.html#record-route-id-dev

Hope that helps

David

On Fri, 23 Aug 2019 at 23:01, David Villasmil <
david.villasmil.work at gmail.com> wrote:

> I think t's sending a public 34.73 because of that record.route. Can you
> paster the original INVITE? Who added that record-route?
>
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
>
>
> On Fri, Aug 23, 2019 at 4:19 PM Diogo Hartmann <diogo at 3cplusnow.com>
> wrote:
>
>> Hi David, the 200 Oks are attached.
>> I sent 2 because one of them is the 200 ok from the sip trunk gateway and
>> the second one is it sent from kamailio to asterisk.
>>
>> D
>>
>> Em qui, 22 de ago de 2019 às 11:00, Diogo Hartmann <diogo at 3cplusnow.com>
>> escreveu:
>>
>>> Hi David, thanks in advance!
>>>
>>> Sure,
>>>
>>> From trunk to Kamailio proxy:
>>> [image: image.png]
>>>
>>> From Kamailio proxy to Asterisk:
>>> [image: image.png]
>>>
>>>
>>> Let me know if you received the images i sent in e-mail body or if i
>>> need to attach them.
>>>
>>> --
>>>
>>>
>>>
>>> *Diogo Hartmann*
>>> *Co-founder @ 3C Plus <http://www.3cplusnow.com/>*
>>> Escritório: 11 4063-7921 ext. 6299
>>> Celular: 41 99921-7281
>>> Skype: diogodhh
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Em qui, 22 de ago de 2019 às 07:37, David Villasmil <
>>> david.villasmil.work at gmail.com> escreveu:
>>>
>>>> Can you paste the complete 200 OK?
>>>>
>>>> On Thu, 22 Aug 2019 at 08:11, Diogo Hartmann <diogo at 3cplusnow.com>
>>>> wrote:
>>>>
>>>>> Hello Kamailio experts,
>>>>>
>>>>> We have a Kamailio as outbound proxy in front of Asterisks PjSIP.
>>>>> There is a strange behavior after 200 OK:
>>>>>
>>>>> - ACK comes from Asterisk Public IP instead of coming from the
>>>>> internal IP address.
>>>>> - BYE can not be processed (404 not here)
>>>>>
>>>>> SNGREP print attached.
>>>>>
>>>>> Has anyone ever experienced this?
>>>>>
>>>>> I can provide more information if needed, just let me know what info.
>>>>>
>>>>> Thanks!
>>>>>
>>>>>
>>>>> Diogo Hartmann
>>>>> _______________________________________________
>>>>> Kamailio (SER) - Users Mailing List
>>>>> sr-users at lists.kamailio.org
>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>> --
>>>> Regards,
>>>>
>>>> David Villasmil
>>>> email: david.villasmil.work at gmail.com
>>>> phone: +34669448337
>>>> _______________________________________________
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users at lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> --
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190824/25822e27/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 930392 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190824/25822e27/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 948881 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190824/25822e27/attachment-0003.png>


More information about the sr-users mailing list