Re: [SR-Users] Relaying message to Recent contact list...

2012-03-23 Thread Daniel-Constantin Mierla
Hello, On 3/22/12 6:36 PM, Krishna Kurapati wrote: Thanks Daniel. I found your posting four years ago about saving one contact per user http://lists.kamailio.org/pipermail/devel/2008-October/016273.html and used save("location", "0x04"). However, I noticed a problem with this. The contact is

Re: [SR-Users] Relaying message to Recent contact list...

2012-03-22 Thread Krishna Kurapati
Thanks Daniel. I found your posting four years ago about saving one contact per user http://lists.kamailio.org/pipermail/devel/2008-October/016273.html and used save("location", "0x04"). However, I noticed a problem with this. The contact is not storing in the memory. Whenever there is a Rereg

Re: [SR-Users] Relaying message to Recent contact list...

2012-03-22 Thread Daniel-Constantin Mierla
Hello, if you don't use the other contacts, then might be simpler to just store one contact per AoR (which will be from last registration) -- see save(...) second parameter flags. Don't remember by hart, but registrar or usrloc has a parameter to control whether to add or not additional bran

[SR-Users] Relaying message to Recent contact list...

2012-03-22 Thread Krishna Kurapati
Hi, I am trying to relay the message to the Registered user. However, I would like to relay only to a recent contact. In case, there are multiple contact, I do not want to relay to older contacts. I am using t_relay() which is currently forking the request to all contacts. Any other way to accom