[asterisk-users] Text priority labels not working for me

Luki lugosoft at gmail.com
Mon Jul 10 22:23:49 MST 2006


> 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



More information about the asterisk-users mailing list