[asterisk-users] Simple dialplan issue

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Sep 23 08:00:15 CDT 2009


On Tue, Sep 22, 2009 at 05:32:13PM -1000, Julian Yap wrote:
> I have an issue where a particular dialplan works but another doesn't.  I'm
> not sure why.  To me they look identical and it has me stumped.
> 
> This works:
> [to-test]
> exten => _X., 1, SetCallerPres(allowed)
> exten => _X., 2, Monitor(wav,/tmp/test-${UNIQUEID},mb)
> exten => _X., 3, Ringing
> exten => _X., 4, Dial(SIP/9330 at a-test,20,ro)
> exten => _X., 5, GotoIf($["${DIALSTATUS}" = "ANSWER"]?9)
> exten => _X., 6, GotoIf($["${DIALSTATUS}" = "NOANSWER"]?7)
> exten => _X., 7, Dial(SIP/9330 at a-test2,20,ro)
> exten => _X., 8, GotoIf($["${DIALSTATUS}" = "ANSWER"]?9)
> exten => _X., 9, Hangup

Does this actually work? With the extra space after the ','?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list