[SR-Users] Socket in rtjson module
Diego Nadares
dnadares at gmail.com
Wed Dec 21 15:50:43 CET 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161221/b9655040/attachment.html>
More information about the sr-users
mailing list