Greetings,
I thought about that but i wasn't sure it would be safe. But, in this case,
the Request-URI domain will be the only place where Kamailio will look to
find out the destination right within the dialog right? I'm going the
statelless way, so that might be the correct answer.
Thanks for your help
Daniel,
Not, those IP are in a different subnet. There is a firewall - running on a
different device. Ping and SIP Messages are going very well from 2.2.2.2 to
8.8.8.8. I was able to solve this issue by disabling mhomed and set
"listen" external interface with IP address 2.2.2.2 on top in the
configuration file. Now, Kamailio is starting without any errors and is
registering to the upstream provider, but I just I am wondering if it's
possible to specify an outgoing socket for uac module in the configuration
file?
Thank you.
Daniel,
Yes, IP Address has been edited, 2.2.2.2 and 8.8.8.8 are not real IP
Address-es, this is just to show that those IP are external IP's.
Regards,
Ilie
Greetings,
I have a Kamailio server set up without Registers. I'm using Dispatcher
module for balancing and selecting the destinations. I need to do some
changes in the message according to the chosen destination. If it's the
first INVITE, after Dispatcher operations, i can do it using $dd or $du
variables. However, in later messages, like a BYE, i can't seem to access
the method's destination IP.
Is there any variable that i'm missing? I've tried $route_uri but it only
returns the kamailio's own IP, since it's the only IP in the "Route" header.
Thanks in advance,
Cheers
Hi All,
I'm unable to register an extension to the Upstream Provider by using uac
module.
Getting the following error:
*Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: <core> [core/forward.c:181]:
get_out_socket(): no socket found*
*Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: <core> [core/forward.c:183]:
get_out_socket(): no corresponding socket found for(udp:8.8.8.8:5060
<http://8.8.8.8:5060>)*
*Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: tm [ut.h:317]: uri2dst2(): no
corresponding socket found for "svr04.nuacom.net <http://svr04.nuacom.net>"
af 2 (udp:8.8.8.8:5060 <http://8.8.8.8:5060>)*
*Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: tm [uac.c:449]:
t_uac_prepare(): no socket found*
*Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: uac [uac_reg.c:1161]:
uac_reg_update(): failed to send request for [1050]*
Kamailio is listening on 2 interfaces:
[root@kamailio user]# /usr/local/sbin/kamcmd core.sockets_list
{
socket: {
proto: udp
address: 10.1.1.11
ipaddress: 10.1.1.11
port: 5060
mcast: no
mhomed: no
}
socket: {
proto: udp
address: 2.2.2.2
ipaddress: 2.2.2.2
port: 5060
mcast: no
mhomed: no
}
mhomed is enabled in the configuration file: *mhomed=1*
I'm not using ' force_send_socket' anywhere in the configuration file.
This is the uac module configuration:
modparam("uac", "reg_keep_callid", 1)
modparam("uac", "reg_contact_addr", "2.2.2.2")
modparam("uac", "reg_db_url","cluster://kamailio")
If i'm disabling mhomed from configuration file - i don't receive any
errors - but then kamailio is trying to send the message to the external
server (8.8.8.8) through internal interface (10.1.1.1).
Thank You.