Hi Daniel
Thank you for your prompt response.
I have the following entry in the dialplan list:
Dpid = 1
and i only want to allow the source ip yy.yy.yy.yy to use this specific dialplan and only this dialplan.
I guess i need to combine the dialplan module and permissions module but im not sure how.
As i have many entries in my dialplan list, would there be an easy way to achieve the above?
Thanks again
Phillip
On Wed, Dec 8, 2010 at 12:30 AM, Daniel-Constantin Mierla
<miconda@gmail.com> wrote:
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
--
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
http://www.asipto.com