Re: [SR-Users] $avp(received)

2014-07-06 Thread Daniel-Constantin Mierla
Welcome! Daniel On 07/07/14 08:39, Kelvin Chua wrote: as always, thanks daniel :) Kelvin Chua On Thu, Jul 3, 2014 at 4:21 PM, Daniel-Constantin Mierla mailto:mico...@gmail.com>> wrote: Hello, the received avp is set by fix_nated_registrar(), iirc. set_contact_alias() doesn't

Re: [SR-Users] $avp(received)

2014-07-06 Thread Kelvin Chua
as always, thanks daniel :) Kelvin Chua On Thu, Jul 3, 2014 at 4:21 PM, Daniel-Constantin Mierla wrote: > Hello, > > the received avp is set by fix_nated_registrar(), iirc. > set_contact_alias() doesn't do it. > > If you want to get the source IP and port, use $si and $sp. Local IP and > port

Re: [SR-Users] kamailio server over internet

2014-07-06 Thread Daniel-Constantin Mierla
Hello, if your server is running behind a nat router, then you have to advertise the public address: See more at: - http://www.kamailio.org/wiki/cookbooks/4.1.x/core#listen If the internal clients are connecting to the same socket and they cannot rich the server via external IP, then you hav

Re: [SR-Users] Kamailio, CPL, SIP CGI and alternatives.

2014-07-06 Thread Daniel-Constantin Mierla
Hello, On 05/07/14 10:05, LAA wrote: Hi all, I'm looking for a mechanism to let users personalize the behaviour of their profile, uploading configuration changes to Kamailio. For example voice mail redirecion, time-based routing, etc. I'm testing CPL scripts (cpl-c module with Kamailio 4.1

Re: [SR-Users] Extract value from a function

2014-07-06 Thread Daniel-Constantin Mierla
Hello, the readme of registrar module has an example of using reg_fetch_contacts() and how to access the attributes of a location record: - http://kamailio.org/docs/modules/stable/modules/registrar.html#idp2033696 Cheers, Daniel On 07/07/14 06:42, aawaise wrote: I came across this funct

Re: [SR-Users] UAC remote registration - refreshing database

2014-07-06 Thread Daniel-Constantin Mierla
Hello, I don't remember the often discussions on this topic, but is such cases a issue has to be opened on the tracker for a feature request, to be sure it is not lost in mailing list. If I don't forget about, I will add it when I get a chance. Cheers, Daniel On 04/07/14 12:22, Dan Christia

[SR-Users] Extract value from a function

2014-07-06 Thread aawaise
I came across this function of registrar module reg_fetch_contacts (domain, uri, profile) How can I log domain of a user using this function ?? Need help in syntax. Thanking in advance. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Extract-value-from-a-function-tp1288

Re: [SR-Users] MSILO - dumped messages get duplicated

2014-07-06 Thread Peter Villeneuve
Sorry to hijack this thread, but I was trying to follow along (Kamailio 4.1.4) and everything seems OK except that when the offline user registers and msilo attempts to deliver his messages, I get this "no corresponding socket for af 2" error and the messages remain in the db. I have TLS enabled in