[SR-Users] Socket in rtjson module

Daniel-Constantin Mierla miconda at gmail.com
Thu Dec 22 09:17:08 CET 2016


Hello,

indeed, enforcing the socket was missing. Can you try with latest git
from master or 4.4 branches? I pushed a patch for it.

Cheers,
Daniel


On 21/12/2016 15:50, Diego Nadares wrote:
> Hi Guys,
>
> Anybody knows if each 'socket' specified in routes struct should be
> use to send the messages?
>
> The socket is configured in kamailio.
>
> In kamailio.cfg
> listen=udp:172.16.213.38:5060 <http://172.16.213.38:5060>
>
> json struct
>
> "routes": [
> {
> "uri": "sip:127.0.0.1:5080 <http://127.0.0.1:5080>",
> "dst_uri": "sip:127.0.0.1:5082 <http://127.0.0.1:5082>",
> "path": "<sip:127.0.0.1:5084 <http://127.0.0.1:5084>>,
> <sip:127.0.0.1:5086 <http://127.0.0.1:5086>>",
> ----> "socket": "udp:172.16.213.38:5060 <http://172.16.213.38:5060>",<----
> "headers": {
> "from": {
> "display": "Alice",
> "uri": "sip:alice at 127..
>
> In our kamailio has two eth and I want to select which one to use but
> I can't make it work through rtjson. 
>
> In the code of the module I can't find where is being assigned the
> socket.  
>
> Thanks in advance!
>
> Diego
>
>
> _______________________________________________
> 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
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/afe7e692/attachment.html>


More information about the sr-users mailing list