Long running dialplan script was terminated.
Long running dialplan script was terminated.
Every morning when I try to make a test call the first call alsways fails with an error message Long running dialplan script was terminated.
I usally happens when It's not used overnight
Is there an explanation for this and why this happens
Thanks in advance
I usally happens when It's not used overnight
Is there an explanation for this and why this happens
Thanks in advance
I think I have found a temporaily solution for the long running dialplanscript that happens overnight as rebooting mine every night doesn't work for me
firts thing that I did was to create a webcallback dialplan
I used this at the top of my webcallbackscript
The next thing I did was to create a windows task in the task scheduler that runs every 10 minutes that gets the webcallback web url
the url to run
http://yourSSipORdomain:8080/callmanage ... me&number=^
or on my local version
http://yourSSipORdomain:8080/callmanage ... me&number=^
for now it's working for me
firts thing that I did was to create a webcallback dialplan
I used this at the top of my webcallbackscript
Code: Select all
stripnumber = "#{req.URI.User}"
strippednumber = stripnumber.slice(0..0)
if ("#{strippednumber}" === '^')
sys.Callback("9991428711@sip.tropo.com", "9991428726@sip.tropo.com")
end
the url to run
http://yourSSipORdomain:8080/callmanage ... me&number=^
or on my local version
http://yourSSipORdomain:8080/callmanage ... me&number=^
for now it's working for me