Displaying 1 result from an estimated 1 matches for "some_paramet".
Did you mean:
some_params
2005 Jun 15
0
Handling -1 in dialplans
Hi,
How do you handle the case where a module returns -1 ?
eg consider this:
exten => 123,1,Answer
exten => 123,n,Playback(some-message)
exten => 123,n,etc ...
exten => 123,n,etc ...
exten => 123,n,etc ...
exten => 123,n,Command(${SOME_PARAMETER})
Now what if command returns -1 here ? I would like to branch
accordingly. Also how do you handle jumping to "n+101" here - you don't
know what "n" is ?
Thanks,
Thomas