[SR-Users] DID Routing

Daniel W. Graham dan at cmsinter.net
Fri Aug 16 04:00:42 CEST 2013


Yeah that was what I was thinking but wasn't confident it was the most efficient or 'right' way of handling it. Sounds like it is my best option. I do have registrants that can't accept the behavior so I will probably add a column to the subscriber table or add a usr_preference to distinguish the type of registrant and check for the condition before processing alias_db.

Thanks for the reply and the tips, much appreciated!

On Aug 15, 2013, at 2:56 PM, "Alex Balashov" <abalashov at evaristesys.com<mailto:abalashov at evaristesys.com>> wrote:

You can do it however you like, but a common way this is handled is to map the DID to a registrar AOR using alias_db, then to revert the user part of the request URI to the DID (having stored it in a variable prior to the alias_db lookup).

However, not all registrants can accept an invite to a different RURI than the Contact binding they registered. Some want exactly that one and none other than. But if you're sure your registrant can, that would be the way to do it.


"Daniel W. Graham" <dan at cmsinter.net<mailto:dan at cmsinter.net>> wrote:
Wondering how others handle DID routing?


I have seen some former posts that talk about using alaias_db, however the request URI gets changed to the users SIP URI and the receiving device (asterisk) cant distinguish the DID as a result.


Any thoughts are appreciated.


-dan

________________________________

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

--
Sent from my mobile, and thus lacking in the refinement one might expect from a fully fledged keyboard.

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<mailto: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/20130815/a335b21a/attachment.html>


More information about the sr-users mailing list