[Serusers] from uri???

Roderick roderick at vivophone.com
Mon Nov 19 17:22:04 CET 2007


Hi list,

 

I'm looking how to forward a call to a PBX if it comes from a certain
number.

 

Just to illustrate, this would call forward to a pbx if you're dialing 123:

 

if (uri=~"^sip:123@") {

       #Forward to PBX if calling 123

}

 

What I want is something like

 

if (from=~"^sip:123@") {

       #Forward to PBX if calling FROM 123

}

 

Is there something like this???

 

Thanks for your help,

 

Roderick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20071119/826fb67b/attachment.htm>


More information about the sr-users mailing list