[Serusers] ser.cfg (forward to ser-sems)

ram talk2ram at gmail.com
Wed Jan 30 06:38:46 CET 2008


2008/1/14 dim <dim_hatzi at yahoo.gr>:

> hi..
> I have attached my "running" ser.cfg...in which i want to include
> something
> like :
>
> if (uri =~ "sip:1.*@")  {
>                        log("Forwarding to 5070");
>                        rewritehostport("localhost:5070");
>                        t_relay_to_udp("localhost","5070");
>                        break;
> }
>
> ... in order to uris start from 1 to be forwarded to my other ser (stack
> for
> sems)..
>
> Where exactly in my ser.cfg, should i put this ???
>
> thank you very much...
>

its all depends what exactly trying to achieve

if you are looking some one dials 1XXXX and want to send to SEM , you can
put them in route logic

ram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080130/0f32cb55/attachment.htm>


More information about the sr-users mailing list