Date: Tue, 2 Jun 2015 12:12:47 +0200
From: miconda@gmail.com
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] RFC 6140
Hello,
implementation of the rfc is not embedded in the module, but
functionality can be achieved with few config options.
A variant would be:
if(!lookup("location")) {
# phone not registered with own extension, try to see if it is a
bulk registration
$var(rU) = $rU; # backup dialed number
$rU = "pbx";
if(!lookup("location")) {
# not found
send_reply("404", "Not found");
exit;
}
$rU = $var(rU); # restore dialed number
}
The thing that might change is the username in To header of
register, in your example was "pbx". Perhaps you can enforce that to
those devices doing bulk registration or as soon as you get the
REGISTER, check the bnc parameter in Contact URI and normalize the
registration username to a specific value.
Also, the bnc parameter is not removed, it is easy to do via some
subst operation after lookup location.
Cheers,
Daniel
On 01/06/15 21:58, Al S wrote:
Hi,
I was wondering if Kamailio support RFC
6140 to register Addresses of Record (AORs) in
bulk map to a unique set of contacts.
Thanks,
Al
_______________________________________________
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
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
_______________________________________________
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