Daniel,

It works like a charm!

Thanks again!

Diego.

2016-12-22 10:17 GMT-03:00 Diego Nadares <dnadares@gmail.com>:
Thanks Daniel, I will try it today!

Cheers,

Diego

2016-12-22 5:17 GMT-03:00 Daniel-Constantin Mierla <miconda@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

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@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@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

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users