[asterisk-gui] Adding custom options for Dial command

Litnitchii Alexandr sasha at asterisk-support.ru
Tue Mar 27 06:09:40 MST 2007


Hi all.
I've been using asterisk-gui for about a month already and find it the
best of open-source GUI tools for asterisk :). Great thanks to developers.
However i have a question. I'd like to add some Dial command options
(like hHtT) . For users which have voicemail i can modify macro-stdexten
as i wish - that's great. But how about users which have no voicemail?
All of them just have a dynamic rule added into [default] context, like
  '198' =>          hint: SIP/198                                
[pbx_config]
                    1. Dial(${HINT})                             
[pbx_config]

I can see here 2 options:
1. Modify  pbx_config.c  to add the rule i wish. But as i'm upgrading
asterisk quite frequently it would by boring to modify it each time :(

2. rewrite default behavior by adding custom rule into
[numberplan-custom-1]  so that it will rewrite extensions from [default]
context. But it may break things in the future, when adding some queues,
voice menus or conferences with the number of local dial plan.

Is there a more correct way to perform needed changes?

Best Regards,

-- 
Litnitchii Alexander
"Comunicatii Libere" SRL
http://www.asterisksupport.ru
http://www.asterisk-support.com



More information about the asterisk-gui mailing list