[OpenSIPS-Users] Need config file manipulation help

Bogdan-Andrei Iancu bogdan at opensips.org
Wed May 15 19:49:35 CEST 2013


Hello Priyaranjan,

You mean to use a different port at IP level ?? why should you do that ??

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 05/14/2013 04:59 PM, Priyaranjan Nayak wrote:
>
> Hi All,
>
>     Now opensips is forwarding to next hop(Server).While sending REGISTER message to server it is using only one port opensips.This is happening after modifying below statement in routing logic of opensips.cfg. 
>
>
>         if(is_method("REGISTER"))
> 	{
> 		#sl_send_reply("400","priyaranjan");
> 		t_relay("tcp:116.114.34.56:443 <http://116.114.34.56:443>");
>
> 		exit();
> 	}
> 	else
> 	{
> 		xlog("incoming request\n");
> 		t_relay("tcp:116.114.34.56:443 <http://116.114.34.56:443>");
> 		exit();
> 	}
>
>      But my requirement is while sending REGISTER message to server it should use one port from opensips  for one user.i.e For different user opensips should send from different port to server. kindly let me know what could be change in opensips.cfg's file ?
>
>
>
> Bogdan-Andrei Iancu, thanks for reply.
>
>
> Thanks
> Priyaranjan
>
>
>>
>>
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> -- 
> Thanks
> Priyaranjan
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130515/a5f335fc/attachment.htm>


More information about the Users mailing list