[SR-Users] Kamailio DB lookup

Anthony Joseph Messina amessina at messinet.com
Sat Nov 5 14:01:30 CET 2016


On Friday, November 4, 2016 1:58:48 AM CDT Gonzalo Gasca Meza wrote:
> Example.
> 
> sip:gonzalo58 at test.external.com;transport=tls
> 
> I started looking into dbaliases table in LOCATION.
> 
> 
> 	#!ifdef WITH_ALIASDB
>         # search in DB-based aliases
>         if(alias_db_lookup("dbaliases"))
>                 route(SIPOUT);
>     #!endif
> 
> In dbaliases table I see 4 columns. Is the following configuration correct?
> 
> alias_username: gonzalo58
> alias_domain: test.external.com;transport=tls
> username: gonzalo
> domain: sip.parzee.io

Adding the transport in the domain column as you have has worked for me in the 
past, though I'm not sure it's supposed to.  -A

-- 
Anthony - https://messinet.com/ - https://messinet.com/~amessina/gallery
F9B6 560E 68EA 037D 8C3D  D1C9 FF31 3BDB D9D8 99B6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161105/465c69b6/attachment.sig>


More information about the sr-users mailing list