Hello,
On 12/7/10 1:35 PM, Phillman25 Kyriacou wrote:
Hi
I was wondering if you could help, I am trying to match more than one expression in the dialplan list when a request for an invite is received.
My purpose is to authenticate source ip with the correct prefix so I want to match both prefix+source ip before allowing to proceed with a specific entry in dialplan list.
are you refering here to the dialplan module? Or is it about the dialing plan of your SIP/VoIP service?
If it is about the module, then it can be used to apply regular expression based substitutions, but you can use it for regular expression matching only, which of course includes prefix matching.
However, you can use modules like mtree or pdt for a faster prefix matching algorithm. To match on ip address, you can use permissions module. By combining such modules you can restrict on prefix-ip as you wish.
Can that be done using Siremis v2 ?
siremis is just a web management interface. You can use it to provision data for modules such as dialplan or permissions.
Cheers, Daniel