Hello Alex, I added this section, right now I see mysql get updates. But still some issue that is no rtp stream established. When I place call between extensions I get dial tone and rings on answer it dead.
#!ifdef WITH_LDAP route(LDAP); #!endif
#!ifdef WITH_LDAP if (!save("location")) { sl_reply_error(); xlog("L_INFO", "This $rU"); } #!endif
Slava.
----- Original Message -----
From: "Alex Balashov" abalashov@evaristesys.com To: sr-users@lists.sip-router.org Sent: Wednesday, March 26, 2014 11:31:45 AM Subject: Re: [SR-Users] kamailio db
On 03/26/2014 11:30 AM, Slava Bendersky wrote:
Hello Alex, Yes, all question that when I am checking location table I see only records for asterisk box, no information about registered extension. Do you think is will good idea put save location after authentication in request route section ?
Yes, if you want a location binding to go into the 'location' table, that is accomplished with save(). And that is something that should happen after you've authenticated the request. :-)