Re: [SR-Users] Kamailio as front proxy for multiple sip servers

2021-05-10 Thread Eliphas Levy Theodoro
Hello, I now understood that to send the request directly to the socket instead of via UDP/invalid.ip.address. Succeded by lookup() after save(), or asterisk's, Dial(PJSIP/local_aor) if registered locally. I settled with passing registration by domain to the right asterisk server beneath

[SR-Users] Bad config - you can not call 'handle_publish' function (db_url not set)

2021-05-10 Thread Juha Heinanen
Marrold writes: > Any suggestions appreciated. > > # - presence params - > modparam("presence", "db_url", DBURL) > modparam("presence", "db_update_period", 20) > modparam("presence", "clean_period", 60) > modparam("presence", "local_log_facility", "LOG_LOCAL3") > modparam("presence",

Re: [SR-Users] Bad config - you can not call 'handle_publish' function (db_url not set)

2021-05-10 Thread Daniel-Constantin Mierla
Hello, do you use utils module? If yes, what is your operating system and the compiler version (if you compiled from sources, not installing from packages)? Cheers, Daniel On 10.05.21 15:01, Marrold wrote: > Hi, > > We're trying to upgrade from 5.3.X to 5.4.5 however kamailio will not > start

Re: [SR-Users] No Audio For Outbound Calls

2021-05-10 Thread David Villasmil
Is the telecom operator on a private network? The 200 OK SDP is asking the telco to send the rtp to 10.0.X.X. The 200 OK (Kamailio->telco) the sdp says: c=IN IP4 10.0.X.X That should be an IP the telco can reach. You need to configure kamailio and RTPProxy to set an IP the telco can actually

[SR-Users] Bad config - you can not call 'handle_publish' function (db_url not set)

2021-05-10 Thread Marrold
Hi, We're trying to upgrade from 5.3.X to 5.4.5 however kamailio will not start and produces the following error, despite the db_url being set in the config and printed in the logs: Bad config - you can not call 'handle_publish' function (db_url not set) Looking at the code this error only

Re: [SR-Users] No Audio For Outbound Calls

2021-05-10 Thread Kashish Raheja
Here are the SIP Traces: *Asterisk Server to Kamailio Server (SDP Packet):* 2021/05/10 15:54:52.835255 10.0.X.X:5060 -> 10.0.X.X:5060 SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.192;branch=z9hG4bK2599.de1bcd2ba5f8bfc86afb083b0a9e3f65.0;received=10.0.X.X;rport=5060,SIP/2.0/UDP

Re: [SR-Users] No Audio For Outbound Calls

2021-05-10 Thread David Villasmil
SDP is probably wrong, a trace here would help. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, May 10, 2021 at 10:11 AM Kashish Raheja wrote: > Hi All, > > I have set up Kamailio in the following manner: > > Kamailio (Physical Server: Register to

[SR-Users] No Audio For Outbound Calls

2021-05-10 Thread Kashish Raheja
Hi All, I have set up Kamailio in the following manner: Kamailio (Physical Server: Register to Telecom Operator Carrier SIP trunk) ---> Asterisk Server (on Cloud having public IP) I am successfully able to route the call to Asterisk server on Cloud when I make a call to the number provided by

Re: [SR-Users] loose_route() and FQDN

2021-05-10 Thread Igor Olhovskiy
Sergiu, Actually, yes Problem is in order of checking in this function https://github.com/kamailio/kamailio/blob/02240711239149e2f5c4890a70ab158d10fa8187/src/modules/siputils/sipops.c#L183         if (((ip = str2ip(&(puri.host))) == NULL)                 && ((ip = str2ip6(&(puri.host))) ==