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