Reuse H Extension?


I have 2 contexts, however both have the same h extension. Currently I am doing copy&paste for the h extension - is there a better way? Can I somehow reference a h extension, so I have to create/modify it only once?

Thanks for any hint!

Asterisk Users 3.1 years ago 9 Answers

DTMF dropping in Read Command


Hello listers, I have a couple of 1.4.37 through 1.4.42 boxes
running at different sites. These systems run a fairly simple IVR that uses
waitexten and Read to get credentials and plow on through a set of contexts.
I am experiencing two problems in my setup: 1. In environments where DAHDI is the trunk of choice, this snippet
drops digits, especially if the user attempts to key them quickly. It also
mysteriously hangs up (autofallthrough=yes) if they key them too slowly exten => s,1,Set(chktime=0) exten => s,n,Read(digitacct,entacct,17,skip,1,10) exten => s,n,Gotoif($[${LEN(${digitacct})} < 1]?checking,t,1) exten => s,n,Read(digitpass,entpin,5,skip,1,10)…

Asterisk Users 4 years ago 0 Answers

Limit monthly calls by context


Hello group, I have this situation: I have several contexts with a few extensions each one. I need to give every context a limited quantity of minutes they can use. All the extensions in the context will share the same "bag" of minutes. Meaning ext 101 use 1900 mins, ext 102 60 mins and ext 40 mins.
The limit must be monthly. I guess some "billing" solution can do the trick, but I think it's too much for that little. I don't need any other feature. I was thinking something like checking the CDR before make the call, I…

Asterisk Users 4 years ago 6 Answers

Lua extensions are not working on asterisk


Hi, After compiling a installing asterisk I wanted to play with
lua but I noticed that extensions created in extensions.lua was not
being registered with asterisk. uga1*CLI> dialplan show
[ Context 'app_queue_gosub_virtual_context' created by 'app_queue' ]
's' => 1. NoOp() [app_queue] [ Context 'parkedcalls' created by 'features' ]
'700' => 1. Park() [features] [ Context 'app_dial_gosub_virtual_context' created by 'app_dial' ]
's' => 1. NoOp() [app_dial] [ Context 'local' created by 'pbx_lua' ]
Alt. Switch => 'Lua/' [pbx_lua] [ Context 'demo' created by 'pbx_lua' ]
Alt. Switch => 'Lua/' [pbx_lua] [ Context…

Asterisk Users 4.7 years ago 1 Answer