1. Brekeke Product Name and version:
Sip server 2.0.7.2
6. Your problem:
We are using a dialplan plugin we use as follow:
Matching Pattern:
$request=^INVITE
$geturi(From)=sip:(.+)@(.+)
To=sip:(.+)@
$sample.dialingplan("%2","%1","%3")=(.+)
Deploy Pattern:
To=%4
$continue=no
$session=com.test.AccntTest
All is working fine, both the dialplan & session plugins are working good. Just that the dialplan plugin is called twice in a row by the sip server (and the plugin does the same process twice and gives the same result twice). We tried not using the session plugin, but the dialplan plugin is called twice as well.
Anyone knows why is that and if it's normal?
Thanks in advance,
David.
Dialplan plugin called twice?
Moderator: Brekeke Support Team
-
- Posts: 528
- Joined: Tue Sep 20, 2005 9:10 am
- Location: Tannersville, Pennsylvania
No, no other dial plan. Just that one. I tried on 2 different sip servers (we have 4) and it's acting exactly the same.voipwell.com wrote:Do you have any other dial plans with a continue = true in them? If so try disabling them and see if it causes your dial plan to be executed only once.
I guess it's not a big deal since it works... but it calls our routing engine twice for each call and that is most probably unnecessary.
Best regards,
David.
-
- Posts: 528
- Joined: Tue Sep 20, 2005 9:10 am
- Location: Tannersville, Pennsylvania
Yes I wanted to make sure no other dialplan entry was called (I think I remember having problems like that in older versions).voipwell.com wrote:The only other thing I can think of is that you should take out the $continue=no since it is implied when you don't have $continue=true. I have never seen anyone use $continue=no before. I'm guessing you put that in there to try to stop the double execution?
I removed the $continue=no, and the dialplan plugin is still called twice..[/i]