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@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


_______________________________________________
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

Reply via email to