Re: [SR-Users] ERROR: pua [send_publish.c:304]: publ_cback_func(): No Expires header found

2020-06-22 Thread Denys Pozniak
Hello!

I added logging to onsend_route (as I understand this is only one place to
catch publishes):

if ( is_method("PUBLISH") ) {
  xlog("L_WARN", "[PUBLISH] $rm/$ru expires=$hdr(Expires) [$ci]\n");
}


Got output:

64(13374) WARNING: 

Re: [SR-Users] Reconnect call

2020-06-22 Thread David Villasmil
That’s what I meant, I thought I’d be obvious, sorry!

On Mon, 22 Jun 2020 at 16:49, Joel Serrano  wrote:

> Actually, this is handled on client side, you would need the client to
> “detect” a network change (example: a switch from wifi to cellular) and
> that would need to trigger a reINVITE. Then, if your timers haven’t expired
> and you have your Kam to allow reinvites, the session can be updated to
> reflect the new SDP IP address and the call would “reconnect”...
>
> We do this on our platform and it works perfectly, in our case we are
> using Linphone:
>
> Check the network section:
>
>
> https://www.linphone.org/snapshots/docs/liblinphone/multilang/guides/ios_portability.html
>
> Hope this helps...
>
>
> Cheers,
> Joel.
>
>
> On Mon, Jun 22, 2020 at 7:48 AM David Villasmil <
> david.villasmil.w...@gmail.com> wrote:
>
>> You’d need to create another call
>>
>> On Mon, 22 Jun 2020 at 12:31, Gaurav Bmotra 
>> wrote:
>>
>>> hi Henning
>>>
>>> i am working on Voip calling application
>>> where i m using kamailio as register server
>>> now my requirement is that ,,
>>> when i call A to B and duto low Network call got disconnected but i want
>>> let wait for 10 to reconnect if network coverage get back
>>>
>>> thank you
>>>
>>> On Tue, Jun 9, 2020 at 6:25 PM Henning Westerholt 
>>> wrote:
>>>
 Hello,



 please give more details what you want to achieve, this is difficult to
 guess. 



 Cheers,



 Henning



 --

 Henning Westerholt – https://skalatan.de/blog/

 Kamailio services – https://gilawa.com



 *From:* sr-users  *On Behalf Of 
 *Gaurav
 Bmotra
 *Sent:* Tuesday, June 9, 2020 1:22 PM
 *To:* Kamailio (SER) - Users Mailing List 
 *Subject:* [SR-Users] Reconnect call



 hi
 how we can implement , that if call got disconnected due to low network

 and will reconnect ..



 pl help me



 --









 *Regards:*
 Gaurav Kumar



>>>
>>>
>>> --
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Regards:*
>>> Gaurav Kumar
>>>
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> --
>> Regards,
>>
>> David Villasmil
>> email: david.villasmil.w...@gmail.com
>> phone: +34669448337
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-- 
Regards,

David Villasmil
email: david.villasmil.w...@gmail.com
phone: +34669448337
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] icscf start error

2020-06-22 Thread David Villasmil
Take a look at the documentation. It’s something like this

https://github.com/kamailio/kamailio/blob/master/etc/kamailio.cfg#L386


On Mon, 22 Jun 2020 at 17:03, Pavithra Mohanraja 
wrote:

> Hi,
> yes I have loaded .
>
> In kamailio 5.3.4 , in icscf.cfg file , there was a change in db_url which
> by default add conn1->mysql.
> This i changed as mysql .. After that it got worked.
>
> Now I am facing issue with databases of kamailio .. where location db is
> not updated with registration details .
>
> Could you please help me in this regard?
>
> In scscf, in route(terminating) ... it has a lookup(location) which is
> failing and gives me destination user not found error.
>
> Kindly help me with this. please.
>
>
>
> Thanks,
> Pavithra
>
> On Mon, Jun 22, 2020 at 8:15 PM David Villasmil <
> david.villasmil.w...@gmail.com> wrote:
>
>> Like it says on the log:
>>
>> Did you load mysql’s module?
>>
>> On Mon, 22 Jun 2020 at 15:27, Pavithra Mohanraja 
>> wrote:
>>
>>> Hi,
>>> I have installed kamailio - 5.3.4 version where i am facing below issues
>>> in icscf while starting kamailio. db_mysql is loaded but ..
>>>
>>> what could be the issue?
>>>
>>> icscf :
>>> Aliases:
>>>  *: ims.sip.example.com:*
>>>
>>>  0(789) INFO:  [core/tcp_main.c:5042]: init_tcp(): using epoll_lt
>>> as the io watch method (auto detected)
>>>  0(791) INFO: pike [pike.c:97]: pike_init(): PIKE - initializing
>>>  0(791) INFO: pike [ip_tree.c:81]: init_lock_set(): probing 256 set size
>>>
>>>
>>>
>>> *0(791) ERROR:  [db.c:204]: db_bind_mod(): Module db_con1=>mysql
>>> not found. Missing loadmodule? 0(791) ERROR: ims_icscf [db.c:83]:
>>> ims_icscf_db_bind(): ims_icscf_db_bind: cannot bind to database module! Did
>>> you forget to load a database module ? 0(791) ERROR: ims_icscf
>>> [ims_icscf_mod.c:270]: mod_init(): Failed to initialise ims_icscf
>>> module 0(791) ERROR:  [core/sr_module.c:849]: init_mod(): Error while
>>> initializing module ims_icscf
>>> (/usr/lib/x86_64-linux-gnu/kamailio/modules/ims_icscf.so)*
>>> ERROR: error while initializing modules
>>>  0(791) INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child
>>> stopping ...
>>>  0(791) INFO: cdp [diameter_peer.c:367]: diameter_peer_destroy():
>>> destroy_diameter_peer(): Terminating all children...
>>>  0(791) INFO: cdp [diameter_peer.c:386]: diameter_peer_destroy():
>>> destroy_diameter_peer(): All processes terminated. Cleaning up.
>>>  0(791) INFO: cdp [worker.c:139]: worker_destroy(): Unlocking workers
>>> waiting on empty queue...
>>>  0(791) INFO: cdp [worker.c:142]: worker_destroy(): Unlocking workers
>>> waiting on full queue...
>>>  0(791) CRITICAL: cdp [diameter_peer.c:426]: diameter_peer_destroy():
>>> destroy_diameter_peer(): Bye Bye from C Diameter Peer test
>>>  0(791) INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child
>>> stopped
>>>  0(791) INFO:  [core/sctp_core.c:53]: sctp_core_destroy(): SCTP
>>> API not initialized
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> --
>> Regards,
>>
>> David Villasmil
>> email: david.villasmil.w...@gmail.com
>> phone: +34669448337
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-- 
Regards,

David Villasmil
email: david.villasmil.w...@gmail.com
phone: +34669448337
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] icscf start error

2020-06-22 Thread Pavithra Mohanraja
Hi,
yes I have loaded .

In kamailio 5.3.4 , in icscf.cfg file , there was a change in db_url which
by default add conn1->mysql.
This i changed as mysql .. After that it got worked.

Now I am facing issue with databases of kamailio .. where location db is
not updated with registration details .

Could you please help me in this regard?

In scscf, in route(terminating) ... it has a lookup(location) which is
failing and gives me destination user not found error.

Kindly help me with this. please.



Thanks,
Pavithra

On Mon, Jun 22, 2020 at 8:15 PM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> Like it says on the log:
>
> Did you load mysql’s module?
>
> On Mon, 22 Jun 2020 at 15:27, Pavithra Mohanraja 
> wrote:
>
>> Hi,
>> I have installed kamailio - 5.3.4 version where i am facing below issues
>> in icscf while starting kamailio. db_mysql is loaded but ..
>>
>> what could be the issue?
>>
>> icscf :
>> Aliases:
>>  *: ims.sip.example.com:*
>>
>>  0(789) INFO:  [core/tcp_main.c:5042]: init_tcp(): using epoll_lt
>> as the io watch method (auto detected)
>>  0(791) INFO: pike [pike.c:97]: pike_init(): PIKE - initializing
>>  0(791) INFO: pike [ip_tree.c:81]: init_lock_set(): probing 256 set size
>>
>>
>>
>> *0(791) ERROR:  [db.c:204]: db_bind_mod(): Module db_con1=>mysql
>> not found. Missing loadmodule? 0(791) ERROR: ims_icscf [db.c:83]:
>> ims_icscf_db_bind(): ims_icscf_db_bind: cannot bind to database module! Did
>> you forget to load a database module ? 0(791) ERROR: ims_icscf
>> [ims_icscf_mod.c:270]: mod_init(): Failed to initialise ims_icscf
>> module 0(791) ERROR:  [core/sr_module.c:849]: init_mod(): Error while
>> initializing module ims_icscf
>> (/usr/lib/x86_64-linux-gnu/kamailio/modules/ims_icscf.so)*
>> ERROR: error while initializing modules
>>  0(791) INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child
>> stopping ...
>>  0(791) INFO: cdp [diameter_peer.c:367]: diameter_peer_destroy():
>> destroy_diameter_peer(): Terminating all children...
>>  0(791) INFO: cdp [diameter_peer.c:386]: diameter_peer_destroy():
>> destroy_diameter_peer(): All processes terminated. Cleaning up.
>>  0(791) INFO: cdp [worker.c:139]: worker_destroy(): Unlocking workers
>> waiting on empty queue...
>>  0(791) INFO: cdp [worker.c:142]: worker_destroy(): Unlocking workers
>> waiting on full queue...
>>  0(791) CRITICAL: cdp [diameter_peer.c:426]: diameter_peer_destroy():
>> destroy_diameter_peer(): Bye Bye from C Diameter Peer test
>>  0(791) INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child
>> stopped
>>  0(791) INFO:  [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API
>> not initialized
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] reason=404 (Not Found - destination user not found on this S-CSCF)

2020-06-22 Thread Pavithra Mohanraja
Hi,

Its giving destination not found with destination uri as null value. From
where will it fetch the destination URI in scscf. Kindly help me please.


Thanks,
Pavithra

On Mon, Jun 22, 2020 at 3:34 PM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> We would need to see the logs
>
> On Mon, 22 Jun 2020 at 06:21, Pavithra Mohanraja 
> wrote:
>
>> Hi,
>>
>> I am using kamailio ims-5.3.4 where i am facing this kind of problem
>> during route(term).
>>
>> call registration is happening successfully.
>> In call Establishment , during route(term) , I am facing destination user
>> not found . what could be the problem?.
>>
>> can anyone please help me.
>>
>> Thanks,
>> Pavithra
>>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] RPC Socket stops answering after a few time.

2020-06-22 Thread Daniel-Constantin Mierla
Hello,

I got the backtrace, I will analyse it and see what I find.

Cheers,
Daniel

On 19.06.20 14:09, David VILLAUME wrote:
>
> Hello,
>
>  
>
> I just restarted the service I wait for another occurrence to perform it.
>
>  
>
> Regards,
>
> David
>
>  
>
> *From:*Daniel-Constantin Mierla 
> *Sent:* Friday, June 19, 2020 2:07 PM
> *To:* David VILLAUME ; Kamailio (SER) - Users
> Mailing List 
> *Subject:* Re: [SR-Users] RPC Socket stops answering after a few time.
>
>  
>
> Hello,
>
> get the output of:
>
> kamctl trap
>
> You need gdb installed. The output is written a file, with the path to
> file printed by the command. Sent that file so we can investigate and
> see what each process is doing.
>
> Cheers.
> Daniel
>
> On 19.06.20 13:53, David VILLAUME wrote:
>
> Hello,
>
>  
>
> After a new check , can’t get answer, on the node for :  “kamctl
> rpc dlg.stats_active”
>
>  
>
> And I see in logs that about for dmq replicated calls (dialog
> [dialog.c:2400]: rpc_dlg_stats_active(): not active - state: 5) ,
> disappear after the previous message appears.
>
>  
>
> After trying a “kamctl rpc dlg.stats_active”, I cannot even have
> answer to ‘kamctl rpc core.uptime’ anymore.
>
>  
>
> Have you any idea to go ahead with troubleshooting ?
>
>  
>
> Regards,
>
> David
>
>  
>
> *From:*David VILLAUME
> *Sent:* Thursday, June 18, 2020 3:31 PM
> *To:* mico...@gmail.com ; Kamailio (SER)
> - Users Mailing List 
> 
> *Subject:* RE: [SR-Users] RPC Socket stops answering after a few time.
>
>  
>
> Hello Daniel,
>
>  
>
> Thanks for your quick answer.
>
>  
>
> In fact I cannot even enter in kamcmd interactive mode after this
> happens.
>
>  
>
> Seems that “ kamctl rpc core.uptime “ can still do the job.
>
>  
>
> I’m using kamailio_exporter  with the following methods :
> 
> tm.stats,sl.stats,core.shmmem,core.uptime,dispatcher.list,dlg.stats_active.
>
>  
>
> I haven’t process that requests longest data on the host, so I’m
> not sure if it can be related.
>
>  
>
> Regards,
>
> David
>
>  
>
> *From:*Daniel-Constantin Mierla  >
> *Sent:* Thursday, June 18, 2020 3:16 PM
> *To:* Kamailio (SER) - Users Mailing List
>  >; David VILLAUME
> mailto:david.villa...@sewan.fr>>
> *Subject:* Re: [SR-Users] RPC Socket stops answering after a few time.
>
>  
>
> Hello,
>
> what is the command you run? Maybe the result is too big and you
> need to change the params for ctl module.
>
> Or is it for all commands, including those printing small data,
> such case core.uptime?
>
> You can also try the 'kamctl rpc COMMAND', which uses jsonrpcs,
> the error you pasted is from ctl module, used by kamcmd.
>
> Cheers,
> Daniel
>
> On 18.06.20 15:00, David VILLAUME wrote:
>
> Hello,
>
>  
>
> I’m having problem with RPC socket that stops answering after
> approximatively  one or two hours.
>
>  
>
> Version is 5.2.7
>
>  
>
> My principal host with exact same version and configuration
> has no problem, only the backup node (Keepalived + DMQ)
> encounters the problem.
>
>  
>
> I could catch this log about the problem, but didn’t find any
> reason for this :
>
>  
>
> Jun 18 10:53:33 sbc-kam-partner-b kamailio[83170]: ERROR: ctl
> [binrpc_run.c:600]: rpc_send(): ERROR: binrprc: rpc_send: send
> failed
>
>  
>
>  
>
> _My configuration about rpc : _
>
>  
>
> loadmodule "jsonrpcs.so"
>
> modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl")
>
> modparam("ctl", "binrpc_max_body_size", 1024)
>
>  
>
>  
>
> Do you have any idea to troubleshoot this ?
>
>  
>
> Regards,
>
> David
>
>  
>
> ___
>
> Kamailio (SER) - Users Mailing List
>
> sr-users@lists.kamailio.org 
>
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> -- 
>
> Daniel-Constantin Mierla -- www.asipto.com 
>
> www.twitter.com/miconda  -- 
> www.linkedin.com/in/miconda 
>
> Funding: https://www.paypal.me/dcmierla
>
> -- 
> Daniel-Constantin Mierla -- www.asipto.com 
> www.twitter.com/miconda  -- 
> www.linkedin.com/in/miconda 
> Funding: https://www.paypal.me/dcmierla

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- 

Re: [SR-Users] Reconnect call

2020-06-22 Thread Joel Serrano
Actually, this is handled on client side, you would need the client to
“detect” a network change (example: a switch from wifi to cellular) and
that would need to trigger a reINVITE. Then, if your timers haven’t expired
and you have your Kam to allow reinvites, the session can be updated to
reflect the new SDP IP address and the call would “reconnect”...

We do this on our platform and it works perfectly, in our case we are using
Linphone:

Check the network section:

https://www.linphone.org/snapshots/docs/liblinphone/multilang/guides/ios_portability.html

Hope this helps...


Cheers,
Joel.


On Mon, Jun 22, 2020 at 7:48 AM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> You’d need to create another call
>
> On Mon, 22 Jun 2020 at 12:31, Gaurav Bmotra 
> wrote:
>
>> hi Henning
>>
>> i am working on Voip calling application
>> where i m using kamailio as register server
>> now my requirement is that ,,
>> when i call A to B and duto low Network call got disconnected but i want
>> let wait for 10 to reconnect if network coverage get back
>>
>> thank you
>>
>> On Tue, Jun 9, 2020 at 6:25 PM Henning Westerholt  wrote:
>>
>>> Hello,
>>>
>>>
>>>
>>> please give more details what you want to achieve, this is difficult to
>>> guess. 
>>>
>>>
>>>
>>> Cheers,
>>>
>>>
>>>
>>> Henning
>>>
>>>
>>>
>>> --
>>>
>>> Henning Westerholt – https://skalatan.de/blog/
>>>
>>> Kamailio services – https://gilawa.com
>>>
>>>
>>>
>>> *From:* sr-users  *On Behalf Of *Gaurav
>>> Bmotra
>>> *Sent:* Tuesday, June 9, 2020 1:22 PM
>>> *To:* Kamailio (SER) - Users Mailing List 
>>> *Subject:* [SR-Users] Reconnect call
>>>
>>>
>>>
>>> hi
>>> how we can implement , that if call got disconnected due to low network
>>>
>>> and will reconnect ..
>>>
>>>
>>>
>>> pl help me
>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Regards:*
>>> Gaurav Kumar
>>>
>>>
>>>
>>
>>
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Reconnect call

2020-06-22 Thread David Villasmil
You’d need to create another call

On Mon, 22 Jun 2020 at 12:31, Gaurav Bmotra 
wrote:

> hi Henning
>
> i am working on Voip calling application
> where i m using kamailio as register server
> now my requirement is that ,,
> when i call A to B and duto low Network call got disconnected but i want
> let wait for 10 to reconnect if network coverage get back
>
> thank you
>
> On Tue, Jun 9, 2020 at 6:25 PM Henning Westerholt  wrote:
>
>> Hello,
>>
>>
>>
>> please give more details what you want to achieve, this is difficult to
>> guess. 
>>
>>
>>
>> Cheers,
>>
>>
>>
>> Henning
>>
>>
>>
>> --
>>
>> Henning Westerholt – https://skalatan.de/blog/
>>
>> Kamailio services – https://gilawa.com
>>
>>
>>
>> *From:* sr-users  *On Behalf Of *Gaurav
>> Bmotra
>> *Sent:* Tuesday, June 9, 2020 1:22 PM
>> *To:* Kamailio (SER) - Users Mailing List 
>> *Subject:* [SR-Users] Reconnect call
>>
>>
>>
>> hi
>> how we can implement , that if call got disconnected due to low network
>>
>> and will reconnect ..
>>
>>
>>
>> pl help me
>>
>>
>>
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>>
>>
>
>
> --
>
>
>
>
>
>
>
>
> *Regards:*
> Gaurav Kumar
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-- 
Regards,

David Villasmil
email: david.villasmil.w...@gmail.com
phone: +34669448337
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] icscf start error

2020-06-22 Thread David Villasmil
Like it says on the log:

Did you load mysql’s module?

On Mon, 22 Jun 2020 at 15:27, Pavithra Mohanraja 
wrote:

> Hi,
> I have installed kamailio - 5.3.4 version where i am facing below issues
> in icscf while starting kamailio. db_mysql is loaded but ..
>
> what could be the issue?
>
> icscf :
> Aliases:
>  *: ims.sip.example.com:*
>
>  0(789) INFO:  [core/tcp_main.c:5042]: init_tcp(): using epoll_lt as
> the io watch method (auto detected)
>  0(791) INFO: pike [pike.c:97]: pike_init(): PIKE - initializing
>  0(791) INFO: pike [ip_tree.c:81]: init_lock_set(): probing 256 set size
>
>
>
> *0(791) ERROR:  [db.c:204]: db_bind_mod(): Module db_con1=>mysql not
> found. Missing loadmodule? 0(791) ERROR: ims_icscf [db.c:83]:
> ims_icscf_db_bind(): ims_icscf_db_bind: cannot bind to database module! Did
> you forget to load a database module ? 0(791) ERROR: ims_icscf
> [ims_icscf_mod.c:270]: mod_init(): Failed to initialise ims_icscf
> module 0(791) ERROR:  [core/sr_module.c:849]: init_mod(): Error while
> initializing module ims_icscf
> (/usr/lib/x86_64-linux-gnu/kamailio/modules/ims_icscf.so)*
> ERROR: error while initializing modules
>  0(791) INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child
> stopping ...
>  0(791) INFO: cdp [diameter_peer.c:367]: diameter_peer_destroy():
> destroy_diameter_peer(): Terminating all children...
>  0(791) INFO: cdp [diameter_peer.c:386]: diameter_peer_destroy():
> destroy_diameter_peer(): All processes terminated. Cleaning up.
>  0(791) INFO: cdp [worker.c:139]: worker_destroy(): Unlocking workers
> waiting on empty queue...
>  0(791) INFO: cdp [worker.c:142]: worker_destroy(): Unlocking workers
> waiting on full queue...
>  0(791) CRITICAL: cdp [diameter_peer.c:426]: diameter_peer_destroy():
> destroy_diameter_peer(): Bye Bye from C Diameter Peer test
>  0(791) INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child
> stopped
>  0(791) INFO:  [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API
> not initialized
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-- 
Regards,

David Villasmil
email: david.villasmil.w...@gmail.com
phone: +34669448337
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] icscf start error

2020-06-22 Thread Pavithra Mohanraja
Hi,
I have installed kamailio - 5.3.4 version where i am facing below issues in
icscf while starting kamailio. db_mysql is loaded but ..

what could be the issue?

icscf :
Aliases:
 *: ims.sip.example.com:*

 0(789) INFO:  [core/tcp_main.c:5042]: init_tcp(): using epoll_lt as
the io watch method (auto detected)
 0(791) INFO: pike [pike.c:97]: pike_init(): PIKE - initializing
 0(791) INFO: pike [ip_tree.c:81]: init_lock_set(): probing 256 set size



*0(791) ERROR:  [db.c:204]: db_bind_mod(): Module db_con1=>mysql not
found. Missing loadmodule? 0(791) ERROR: ims_icscf [db.c:83]:
ims_icscf_db_bind(): ims_icscf_db_bind: cannot bind to database module! Did
you forget to load a database module ? 0(791) ERROR: ims_icscf
[ims_icscf_mod.c:270]: mod_init(): Failed to initialise ims_icscf
module 0(791) ERROR:  [core/sr_module.c:849]: init_mod(): Error while
initializing module ims_icscf
(/usr/lib/x86_64-linux-gnu/kamailio/modules/ims_icscf.so)*
ERROR: error while initializing modules
 0(791) INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child stopping
...
 0(791) INFO: cdp [diameter_peer.c:367]: diameter_peer_destroy():
destroy_diameter_peer(): Terminating all children...
 0(791) INFO: cdp [diameter_peer.c:386]: diameter_peer_destroy():
destroy_diameter_peer(): All processes terminated. Cleaning up.
 0(791) INFO: cdp [worker.c:139]: worker_destroy(): Unlocking workers
waiting on empty queue...
 0(791) INFO: cdp [worker.c:142]: worker_destroy(): Unlocking workers
waiting on full queue...
 0(791) CRITICAL: cdp [diameter_peer.c:426]: diameter_peer_destroy():
destroy_diameter_peer(): Bye Bye from C Diameter Peer test
 0(791) INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child
stopped
 0(791) INFO:  [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API
not initialized
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio v5.3.5 Released

2020-06-22 Thread Daniel-Constantin Mierla
Hello,

Kamailio SIP Server v5.3.5 stable release is out.

This is a maintenance release of the latest stable branch, 5.3, that
includes fixes since the release of v5.3.4. There is no change to
database schema or configuration language structure that you have to do
on previous installations of v5.3.x. Deployments running previous v5.3.x
versions are strongly recommended to be upgraded to v5.3.5.

For more details about version 5.3.5 (including links and guidelines to
download the tarball or from GIT repository), visit:

  * https://www.kamailio.org/w/2020/06/kamailio-v5-3-5-released/

RPM, Debian/Ubuntu packages will be available soon as well.

Many thanks to all contributing and using Kamailio!

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Reconnect call

2020-06-22 Thread Gaurav Bmotra
hi Henning

i am working on Voip calling application
where i m using kamailio as register server
now my requirement is that ,,
when i call A to B and duto low Network call got disconnected but i want
let wait for 10 to reconnect if network coverage get back

thank you

On Tue, Jun 9, 2020 at 6:25 PM Henning Westerholt  wrote:

> Hello,
>
>
>
> please give more details what you want to achieve, this is difficult to
> guess. 
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users  *On Behalf Of *Gaurav
> Bmotra
> *Sent:* Tuesday, June 9, 2020 1:22 PM
> *To:* Kamailio (SER) - Users Mailing List 
> *Subject:* [SR-Users] Reconnect call
>
>
>
> hi
> how we can implement , that if call got disconnected due to low network
>
> and will reconnect ..
>
>
>
> pl help me
>
>
>
> --
>
>
>
>
>
>
>
>
>
> *Regards:*
> Gaurav Kumar
>
>
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] ERROR: pua [send_publish.c:304]: publ_cback_func(): No Expires header found

2020-06-22 Thread Daniel-Constantin Mierla
Hello,

can you print the Expires header with xlog() to see what value is
written in syslog? Just to be sure the header is not removed by other
processing rules and msg apply changes...

Cheers,
Daniel

On 22.06.20 09:41, Denys Pozniak wrote:
> Hello!
>
> Any help is appreciated.
>
> вт, 16 июн. 2020 г. в 15:04, Denys Pozniak  >:
>
> Hello!
>
> Could someone point me to the possible source of the problem?
>
> Jun 16 09:51:06 proxy-edge /usr/sbin/kamailio[9645]: ERROR: pua
> [send_publish.c:304]: publ_cback_func(): No Expires header found
> Jun 16 09:51:07 proxy-edge /usr/sbin/kamailio[9640]: ERROR: pua
> [send_publish.c:304]: publ_cback_func(): No Expires header found
> Jun 16 09:51:07 proxy-edge /usr/sbin/kamailio[9600]: ERROR: pua
> [send_publish.c:304]: publ_cback_func(): No Expires header found
> Jun 16 09:51:07 proxy-edge /usr/sbin/kamailio[9660]: ERROR: pua
> [send_publish.c:304]: publ_cback_func(): No Expires header found
>
> Modules settings:
>
> /loadmodule "pua.so"/
> /loadmodule "pua_dialoginfo"/
> /loadmodule "dialog.so" /
> / 
> /
> /modparam("pua", "default_expires", 1200)/
> /modparam("pua", "outbound_proxy", LOCAL_IP_ADDR)/
> /modparam("pua_dialoginfo", "include_callid", 1)/
> /
> /
> /modparam("pua_dialoginfo", "include_localremote", 1)/
> /modparam("pua_dialoginfo", "include_tags", 1)/
> /modparam("pua_dialoginfo", "send_publish_flag", 8)/
> /
> /
> /modparam("dialog", "dlg_flag", 4)
> modparam("dialog", "db_mode", 0)
> modparam("dialog", "enable_stats", 1)
> modparam("dialog", "dlg_match_mode", 1)
> modparam("dialog", "default_timeout", 7200)
>  modparam("dialog", "hash_size", 8192)
> /
> /
> /
>
> /request_route{/
> /.../
> /setflag(8);
> /
> /.../
> /}/
>
>
> Generated SIP PUBLISH:
>
> /PUBLISH sip:extens...@sip.company.com
>  SIP/2.0/
> /Via: SIP/2.0/UDP
> 8.8.8.8;branch=z9hG4bK3e55.afdce977.0/
> /To:  >/
> /From:  
> >;tag=e98d9fc94bada9746d67946ab287a76f-ba77/
> /CSeq: 10 PUBLISH/
> /Call-ID: 72ef85f374c8e703-9659@10.10.10.10
> /
> /Content-Length: 578/
> /User-Agent: proxy/
> /Max-Forwards: 70/
> /Event: dialog/
> /Expires: 7201/
> /Content-Type: application/dialog-info+xml/
> /
> /
> //
> / version="0" state="full" entity="sip:extens...@sip.company.com
> ">/
> /   call-id="162092997-5060-...@bjc.bgi.ca.bbi"
> direction="initiator">/
> /    Trying/
> /    /
> /      sip:1234567...@sip.company.com
> /
> /      mailto:sip%3a1234567...@sip.company.com>"/>/
> /    /
> /    /
> /      sip:extens...@sip.company.com
> /
> /      mailto:sip%3aextens...@sip.company.com>"/>/
> /    /
> /  /
> //
>
>
>
>
>
> -- 
>
> BR,
> Denys Pozniak
>
>
>
>
> -- 
>
> BR,
> Denys Pozniak
>
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] reason=404 (Not Found - destination user not found on this S-CSCF)

2020-06-22 Thread David Villasmil
We would need to see the logs

On Mon, 22 Jun 2020 at 06:21, Pavithra Mohanraja 
wrote:

> Hi,
>
> I am using kamailio ims-5.3.4 where i am facing this kind of problem
> during route(term).
>
> call registration is happening successfully.
> In call Establishment , during route(term) , I am facing destination user
> not found . what could be the problem?.
>
> can anyone please help me.
>
> Thanks,
> Pavithra
>
-- 
Regards,

David Villasmil
email: david.villasmil.w...@gmail.com
phone: +34669448337
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] ERROR: pua [send_publish.c:304]: publ_cback_func(): No Expires header found

2020-06-22 Thread Denys Pozniak
Hello!

Any help is appreciated.

вт, 16 июн. 2020 г. в 15:04, Denys Pozniak :

> Hello!
>
> Could someone point me to the possible source of the problem?
>
> Jun 16 09:51:06 proxy-edge /usr/sbin/kamailio[9645]: ERROR: pua
> [send_publish.c:304]: publ_cback_func(): No Expires header found
> Jun 16 09:51:07 proxy-edge /usr/sbin/kamailio[9640]: ERROR: pua
> [send_publish.c:304]: publ_cback_func(): No Expires header found
> Jun 16 09:51:07 proxy-edge /usr/sbin/kamailio[9600]: ERROR: pua
> [send_publish.c:304]: publ_cback_func(): No Expires header found
> Jun 16 09:51:07 proxy-edge /usr/sbin/kamailio[9660]: ERROR: pua
> [send_publish.c:304]: publ_cback_func(): No Expires header found
>
> Modules settings:
>
> *loadmodule "pua.so"*
> *loadmodule "pua_dialoginfo"*
> *loadmodule "dialog.so" *
>
>
> *modparam("pua", "default_expires", 1200)*
> *modparam("pua", "outbound_proxy", LOCAL_IP_ADDR)*
> *modparam("pua_dialoginfo", "include_callid", 1)*
>
> *modparam("pua_dialoginfo", "include_localremote", 1)*
> *modparam("pua_dialoginfo", "include_tags", 1)*
> *modparam("pua_dialoginfo", "send_publish_flag", 8)*
>
>
>
>
>
>
>
> *modparam("dialog", "dlg_flag", 4)modparam("dialog", "db_mode",
> 0)modparam("dialog", "enable_stats", 1)modparam("dialog", "dlg_match_mode",
> 1)modparam("dialog", "default_timeout", 7200) modparam("dialog",
> "hash_size", 8192)*
>
> *request_route{*
> *...*
>
> *setflag(8);*
> *...*
> *}*
>
>
> Generated SIP PUBLISH:
>
> *PUBLISH sip:extens...@sip.company.com 
> SIP/2.0*
> *Via: SIP/2.0/UDP
> 8.8.8.8;branch=z9hG4bK3e55.afdce977.0*
> *To: >*
> *From:  >;tag=e98d9fc94bada9746d67946ab287a76f-ba77*
> *CSeq: 10 PUBLISH*
> *Call-ID: 72ef85f374c8e703-9659@10.10.10.10
> <72ef85f374c8e703-9659@10.10.10.10>*
> *Content-Length: 578*
> *User-Agent: proxy*
> *Max-Forwards: 70*
> *Event: dialog*
> *Expires: 7201*
> *Content-Type: application/dialog-info+xml*
>
> **
> * state="full" entity="sip:extens...@sip.company.com
> ">*
> *   call-id="162092997-5060-...@bjc.bgi.ca.bbi" direction="initiator">*
> *Trying*
> **
> *  sip:1234567...@sip.company.com
> *
> *  *
> **
> **
> *  sip:extens...@sip.company.com
> *
> *  *
> **
> *  *
> **
>
>
>
>
>
> --
>
> BR,
> Denys Pozniak
>
>
>

-- 

BR,
Denys Pozniak
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Releasing Kamailio v5.3.5

2020-06-22 Thread Daniel-Constantin Mierla
Hello,

the usual announcement that a release is prepared today, respectively
v5.3.5, therefore any commits on branch 5.3 should be announced on
sr-dev (or irc/matrix channel) and wait for the ack before being pushed
on that branch, not to interfere with the release building process. Once
the announcement of the release is out, commits can be pushed as usual.

Cheers,
Daniel

On 16.06.20 10:21, Daniel-Constantin Mierla wrote:
> Hello,
>
> I am considering to release next week (likely on Monday, June 22) the next
> minor version out of branch 5.3, respectively 5.3.5.
>
> Should anyone be aware of issues not reported to the bug tracker or
> commits for fixes in master not backported to 5.3 branch, let us know.
> For new issues, the best is to report them on the tracker. For commits,
> you can provide links/hashids or make pull requests.
>
> Cheers,
> Daniel
>
> -- 
> Daniel-Constantin Mierla -- www.asipto.com
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users