Re: [SR-Users] unregister user when kamailio looses TCP connection.

2013-09-05 Thread Vitaliy Aleksandrov
This patch has a bug which leads to false contact removal. This happens when UA reconnects to a proxy from the same src port and sends new REGISTER with the same Contact. In that case kamailio updates an existing contact and I forgot to update tcp connection id in the ucontact_t object. I've

Re: [SR-Users] unregister user when kamailio looses TCP connection.

2013-09-05 Thread Daniel-Constantin Mierla
Make the patch for master branch, 4.0 doesn't take any new feature and I applied the patches to master branch anyhow. Also, do not forget the patch for xml documentation. Cheers, Daniel On 9/5/13 9:27 AM, Vitaliy Aleksandrov wrote: This patch has a bug which leads to false contact removal. T

[SR-Users] testing - dialog-based cdrs to database

2013-09-05 Thread Daniel-Constantin Mierla
Hello, being requested several times and as I did get to do some acc work, I added the code for storing dialog-based cdrs to database. But I had no time to setup a testbed for it, hopefully those interested in the feature will help testing a bit. It follows closely the same logic as writing

Re: [SR-Users] testing - dialog-based cdrs to database - rtp proxy ng

2013-09-05 Thread Olle E. Johansson
5 sep 2013 kl. 11:14 skrev Daniel-Constantin Mierla : > Hello, > > being requested several times and as I did get to do some acc work, I added > the code for storing dialog-based cdrs to database. But I had no time to > setup a testbed for it, hopefully those interested in the feature will hel

[SR-Users] How to stop NOTIFY from being sent to stable location entries on unreliable network?

2013-09-05 Thread Yufei Tao
Hi I'm using presence on Kamailio 4.0.3. I have in the cfg file: modparam("presence", "timeout_rm_subs", 0) to cope with unreliable networks. I have tried setting it to 1, but I saw sometimes server and client got out of sync, i.e. server removed active_watcher entries when NOTIFYs time out, while

Re: [SR-Users] rfc: accounting records time details

2013-09-05 Thread Daniel-Constantin Mierla
For the records, this has been implemented in master branch - a matter of time_mode parameter for acc, time value can be stored in various formats. Cheers, Daniel On 5/10/13 9:50 AM, Daniel-Constantin Mierla wrote: Hello, any more comments on time storage for acc records? Obviously, it has t

Re: [SR-Users] t_replicate() and Contact

2013-09-05 Thread Marc Soda
Also, I tried setting the Contact header in onsend_route, but it seems that it's overwritten after that. Perhaps I need to modify it on the second Kamailio server? Is it possible to change it before it's sent on the first server? On Wed, Sep 4, 2013 at 8:53 AM, Marc Soda wrote: > Hey all, > >

[SR-Users] RPC User lookup

2013-09-05 Thread Roberto Fichera
Hi All, just to know if exist an RPC, actually XML, to get/check user's info. I've tried ul.lookup but this one returns only online users. Thanks in advance, Roberto Fichera. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list s

Re: [SR-Users] RPC User lookup

2013-09-05 Thread Daniel-Constantin Mierla
Hello, On 9/5/13 3:21 PM, Roberto Fichera wrote: Hi All, just to know if exist an RPC, actually XML, to get/check user's info. I've tried ul.lookup but this one returns only online users. the (xml)rpc commands are mainly to deal with kamailio internals (in-memory structures). The profiles for

Re: [SR-Users] t_replicate() and Contact

2013-09-05 Thread Daniel-Constantin Mierla
Hello, on the second peer, when you get the replicated REGISTER, don't call fix_natted_contact(). Also, received and socket should be passed via header form first server to the backup. Practically, the second server should get the values from headers, store them in avp and then call save().

Re: [SR-Users] Kamailio problem route

2013-09-05 Thread Daniel-Constantin Mierla
Hello, look in syslog (/var/log/syslog or /var/log/messages) to see if there is any error message from kamailio. If not, start kamailio with debug=3 in config file, it will be lot more log messages. If you can't figure out what is wrong, then send here the debug messages. Such

Re: [SR-Users] t_replicate() and Contact

2013-09-05 Thread Daniel-Constantin Mierla
On 9/5/13 11:23 PM, Daniel-Constantin Mierla wrote: Hello, on the second peer, when you get the replicated REGISTER, don't call fix_natted_contact(). to complete: neither call fix_nated_registrar() Cheers, Daniel Also, received and socket should be passed via header form first server to t

Re: [SR-Users] sr-users Digest, Vol 100, Issue 12

2013-09-05 Thread Camilo Bozo
El 05/09/13 17:21, sr-users-requ...@lists.sip-router.org escribió: Send sr-users mailing list submissions to sr-users@lists.sip-router.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users or,

[SR-Users] Kamailio problem route

2013-09-05 Thread Camilo Bozo
Hello! i am new in It, i speak spanish y very bad english, my problem is: i want route to announcement when is busy or request timeout(486|408): ... ... if(t_check_status("486|408")){ route

Re: [SR-Users] unregister user when kamailio looses TCP connection.

2013-09-05 Thread Vitaliy Aleksandrov
Make the patch for master branch, 4.0 doesn't take any new feature and I applied the patches to master branch anyhow. Also, do not forget the patch for xml documentation. Cheers, Daniel Patch for master branch is in the attachment. Changelog: - documentation is updated - tcpconn_id initialize

[SR-Users] How to convert recorded video call in .rtp file using kamailio and rtpproxy in to any video file format. ??

2013-09-05 Thread Manas Mohanty
Hi All, How to convert recorded video call in .rtp file using kamailio and rtpproxy in to any video file format. ?? Thanks, Manas ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.si

Re: [SR-Users] How to convert recorded video call in .rtp file using kamailio and rtpproxy in to any video file format. ??

2013-09-05 Thread Alex Balashov
That depends on the format / codec that the video is in. :-) Manas Mohanty wrote: >Hi All, > >How to convert recorded video call in .rtp file using kamailio and >rtpproxy >in to any video file format. ?? > >Thanks, > >Manas > > >--

Re: [SR-Users] How to convert recorded video call in .rtp file using kamailio and rtpproxy in to any video file format. ??

2013-09-05 Thread Manas Mohanty
Hi Alex, Thanks for quick response. Actually I am new to kamailio and rtpproxy. I case of audio call I can save the .rtp files and convert it into .wav file using rtpbreak and sox. But in case of video call I am able to save .rtp files but stuck in converting it into video file. How to find tha

[SR-Users] how to use 2 kamailios sharing one database to make call?

2013-09-05 Thread yuanshui lee
Hello, I have two sip clients. Client1 registers to kamailio1, Client2 registers to kamailio2. Kamailio1 and kamalio2 sharing one database. I want to make call between client1 and client2. What should I do? Another question is that I want to achieve load balancing with kamailios. The architect