[SR-Users] kamailio db

Slava Bendersky volga629 at networklab.ca
Wed Mar 26 16:53:33 CET 2014


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 at evaristesys.com> 
To: sr-users at 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. :-) 

-- 
Alex Balashov - Principal 
Evariste Systems LLC 
235 E Ponce de Leon Ave 
Suite 106 
Decatur, GA 30030 
United States 
Tel: +1-678-954-0670 
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/ 

_______________________________________________ 
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list 
sr-users at lists.sip-router.org 
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140326/44c153b0/attachment-0001.html>


More information about the sr-users mailing list