[SR-Users] query regarding SER

2013-10-08 Thread Juha Heinanen
Piyush Bansal, never again post your message to both sip-router lists. -- juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] [sr-dev] query regarding SER

2013-10-08 Thread Juha Heinanen
piyush.ban...@relianceada.com writes: > I have few queries regarding data deletion from database tables- > > 1. Once the timer of REGISTER expires, the entry for that user is not > getting deleted from "location" table. > 2. Same thing is happening with SUBSCRIBER timer expiry. The entr

[SR-Users] query regarding SER

2013-10-08 Thread Piyush . Bansal
HI there, I have few queries regarding data deletion from database tables- 1. Once the timer of REGISTER expires, the entry for that user is not getting deleted from "location" table. 2. Same thing is happening with SUBSCRIBER timer expiry. The entries from presence tables are not getti

[SR-Users] query related to NOTIFY message size

2013-10-08 Thread Piyush . Bansal
Hi there, I have certain queries regarding batch SUBSCRIBE and NOTIFY. I have a user who has 100 buddies in his buddy list. If any of his buddy changes his/her presence status, that user gets a NOTIFY message with presence status of all the 100 buddies. In that case, the message

[SR-Users] Fw: query regarding SER

2013-10-08 Thread Piyush . Bansal
HI there, I have few queries regarding data deletion from database tables- 1. Once the timer of REGISTER expires, the entry for that user is not getting deleted from "location" table. 2. Same thing is happening with SUBSCRIBER timer expiry. The entries from presence tables are not getti

[SR-Users] Fw: query related to NOTIFY message size

2013-10-08 Thread Piyush . Bansal
Hi there, I have certain queries regarding batch SUBSCRIBE and NOTIFY. I have a user who has 100 buddies in his buddy list. If any of his buddy changes his/her presence status, that user gets a NOTIFY message with presence status of all the 100 buddies. In that case, the message

[SR-Users] XML RPC Module Call Not Responding

2013-10-08 Thread Tony DeSousa
Hello, I'm using Kamailio 4.0.3 as a presence server. I read in the documentation that the MI interface is or will be deprecated so I decided to use XMLRPC to get presence information about the UAs registered to the Kamailio to feed into my application. I reused the example Python xmlrpc examp

[SR-Users] keep_hf("") meaning

2013-10-08 Thread Klaus Darilion
Hi! keep_hf("") keeps all headers, as every header matches the regexp "". IMO an empty regexp should remove all headers (except the mandatory ones). Otherwise I have to use something like keep_hf("hope-this-header-never-exists") regards Klaus ___

Re: [SR-Users] On register

2013-10-08 Thread Keith
RE_HANDLE] { > >if (t_is_canceled()) { > exit; > } > >if(t_check_status("401")) { > uac_auth(); >} > > > > t_relay(); > } > > But it doesn't see to send the credentials back. > > Any help would be

Re: [SR-Users] Apply changes made to sip reply in onreply_route

2013-10-08 Thread Grant Bagdasarian
It's for our logging. Each INVITE is pretty much a separate row in our logging table. Responses and in-dialog requests on the INVITE trigger an update on the row, where the state of the row is updated. This allows us to see in which (custom) state each call is. Each time the Dispatcher tries a d

Re: [SR-Users] Presence: Duplicate entry 'username-domain-presence-*#-OFFLINE-#*' for key 'presentity_idx' when multiple clients register using the same credentials

2013-10-08 Thread Yufei Tao
Thank you Juha for your replies! >From RFC3856: A Presence Event Package for the Session Initiation Protocol (SIP) 6.11. State Agents RFC 3265 [2] requires each package to consider the role of state agents in the package, and if they are used, to specify how authentication and author

Re: [SR-Users] Apply changes made to sip reply in onreply_route

2013-10-08 Thread Klaus Darilion
Am 08.10.2013 12:14, schrieb Grant Bagdasarian: Hello, I've setup two Kamailio machines, one which does all the processing and the second one which always replies with a 500 Server Internal Error, to test my Dispatcher fail-over. When routing a call, the call is always routed to the second

Re: [SR-Users] On register

2013-10-08 Thread Daniel-Constantin Mierla
Hello, haven't had time to look into sources, can you try: $ru = $ru; after uac_auth()? What I am trying to discover is if uac_auth() creates a new branch, because if it doesn't and you don't update any of the elements related to next hop address, kamailio won't detect there is need for a ne

Re: [SR-Users] On register

2013-10-08 Thread Keith
Hi, I am trying to "on register" from kamailio to an asterisk box. I am having trouble when asterisk sends a 401 to the first register response. I have tried to set a failure route as follows: t_on_failure("FAILURE_HANDLE"); failure_route[FAILURE_HANDLE] { if (t_is_canceled()) { exit; }

Re: [SR-Users] Apply changes made to sip reply in onreply_route

2013-10-08 Thread Grant Bagdasarian
That's some good news =). I'll just wait for the 4.1 release then. Thanks! From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Tuesday, October 8, 2013 1:05 PM To: Kamailio (SER) - Users Mailing List Subject: Re

Re: [SR-Users] Apply changes made to sip reply in onreply_route

2013-10-08 Thread Daniel-Constantin Mierla
Hello, upcoming 4.1 (still master branch now, but feature freeze phase) has msg_apply_changes() working for reply routes. Cheers, Daniel On 10/8/13 12:14 PM, Grant Bagdasarian wrote: Hello, I've setup two Kamailio machines, one which does all the processing and the second one which always

[SR-Users] Apply changes made to sip reply in onreply_route

2013-10-08 Thread Grant Bagdasarian
Hello, I've setup two Kamailio machines, one which does all the processing and the second one which always replies with a 500 Server Internal Error, to test my Dispatcher fail-over. When routing a call, the call is always routed to the second Kamailio first, to test the fail-over. What happens