[SR-Users] Socket in rtjson module

Diego Nadares dnadares at gmail.com
Thu Dec 22 14:52:54 CET 2016


Daniel,

It works like a charm!

Thanks again!

Diego.

2016-12-22 10:17 GMT-03:00 Diego Nadares <dnadares at gmail.com>:

> Thanks Daniel, I will try it today!
>
> Cheers,
>
> Diego
>
> 2016-12-22 5:17 GMT-03:00 Daniel-Constantin Mierla <miconda at gmail.com>:
>
>> 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
>>
>> json struct
>>
>> "routes": [
>> {
>> "uri": "sip:127.0.0.1:5080",
>> "dst_uri": "sip:127.0.0.1:5082",
>> "path": "<sip:127.0.0.1:5084>, <sip:127.0.0.1:5086>",
>> ----> "socket": "udp: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 listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>> --
>> Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda
>> Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/ada7a1b8/attachment.html>


More information about the sr-users mailing list