[SR-Users] advertise xxx.xxx.xxx.xxx:5060 is weird

Sébastien Brice sebastien.brice at jvs.fr
Mon May 30 20:24:43 CEST 2016


Hi Daniel,
of course please find the capture attached.
192.168.3.97 is the local proxy, i want to have it behaves like and edge router, handling incoming and outgoing traffic.
192.168.3.19 (401@) is an user agent and 192.168.3.33 (405@) another user agent.
trying to invite 401 from 405 triggers a behavior i like (RTP and signalling follow same path upstream to the public kamailio)
but it bypass 192.168.3.97, a case i want to avoid.

thanks your for giving of your time.

Seb

----- Mail original -----
De: "Daniel-Constantin Mierla" <miconda at gmail.com>
À: "Sébastien Brice" <sebastien.brice at jvs.fr>, "sr-users" <sr-users at lists.sip-router.org>
Envoyé: Lundi 30 Mai 2016 11:17:08
Objet: Re: [SR-Users] advertise xxx.xxx.xxx.xxx:5060 is weird

Hello,

can you share the pcap with sip signaling for such case?

It will help to see where the packets are sent and what the headers are
including, making it possible to identify what can be done in the config
in order to fix it.

Cheers,
Daniel


On 29/05/16 23:33, Sébastien Brice wrote:
> Hi guys,
> I have a local proxy running on private ip 192.168.3.97 and advertising the wan ip of my box (THEPUBLICIPOFMYBOX)
> this local Kamailio is a stateful proxy that TM REGISTERS and INVITES to a Kamailio registrar(PUBLICIPKAMAILIOREGISTRAR)
>
> (please have a look at the kamailio.cfg attached to this email.)
>
> I want to force the signalling and sessions through this local proxy (some kind of outbound proxy) 
> I have jitsi and xlite behind (ip 192.168.3.39 and 192.168.3.16) that tries to call themselves.
>
> user agents keep retransmitting 200 OK because they never get the ACK following the 200 OK pickup.
> If i remove the advertise THEPUBLICIPOFMYBOX of the kamailio.cfg the three handshake is working ok and the call is no longer dropped after a few second!
>
> i have a true bidirectionnal session and that's working ok.
>
> The bad thing is RTP flows straight through router (thanks to rtpproxy i guess) but i want incoming and outgoing RTP traffic to go on central local node 192.168.3.97
>
> How can i achieve that?
>
> thanks. 
>
> PS: i am not using path header because i am not skilled enough  and kamailio is really hard horse to train
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio.cfg
Type: application/octet-stream
Size: 15459 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160530/c094b828/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp.jGkqqx02NV
Type: application/octet-stream
Size: 198012 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160530/c094b828/attachment-0001.obj>


More information about the sr-users mailing list