[Asterisk-Users] Handling -1 in dialplans
Thomas Andrews
tandrews at grok.co.za
Wed Jun 15 08:15:30 MST 2005
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
More information about the asterisk-users
mailing list