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