The last log line suggests I can't use labels, but according to
http://www.voip-info.org/wiki/index.php?page=Asterisk+priorities it
shouldn't be a problem.

Labels work fine (and have been for a while). The snippet you provided
looks correct to me too. Are there are warning/errors when loading
extensions.conf? Does "show dialplan macro-dosomething" show the
correct labels and all priorities?

I.e.:

CLI> show dialplan macro-setcfwd
[ Context 'macro-setcfwd' created by 'pbx_config' ]
 's' =>            1. Playback(${ARG2})                          [pbx_config]
                   2. Read(R|pls-ent-num-transfer|11||1|10)      [pbx_config]
                   3. GotoIf($["${R}" != ""]?set)                [pbx_config]
                   4. DbDel(${ARG1})                             [pbx_config]
                   5. Playback(call-fwd-cancelled)               [pbx_config]
                   6. Hangup()                                   [pbx_config]
    [set]          7. DbPut(${ARG1}=${R})                        [pbx_config]
                   8. Playback(${ARG2})                          [pbx_config]
                   9. Playback(has-been-set-to)                  [pbx_config]
                   10. SayDigits(${R})                           [pbx_config]

-= 1 extension (10 priorities) in 1 context. =-

--Luki
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to