[SR-Users] SIP Authentication

Daniel-Constantin Mierla miconda at gmail.com
Mon Apr 4 07:55:16 CEST 2016


Hello,

for IP authentication look at the permissions module and the database
table address.

For sending out, just build the new sip destination address, store it in
$ru and then send it out, like:

$ru = "sip:" + "myprefix" + $rU + "@" + "destination ip";
t_relay();

Cheers,
Daniel

On 03/04/16 12:42, Girish wrote:
> Hello Sir,
>
> I am a newbie to Kamailio and I am trying my first setup. I would like to use Kamailio to take in traffic using a SIP Trunk and Route the calls to another SIP trunk based on prefix. 
>
> I have added the incoming SIP trunk IP address to the address table on the MYSQL but I am unable to get a call routed out. Is there any sample configuration for Authentication via IP address and route the incoming SIP INVITE.  
>
> Regards,
> Phoenix
>
> _______________________________________________
> 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

-- 
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com




More information about the sr-users mailing list