Reuse H Extension?

Report
Question

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 2.8 years ago 9 Answer

DTMF dropping in Read Command

Report
Question

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 3.7 years ago 0 Answer

Limit monthly calls by context

Report
Question

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 3.7 years ago 6 Answer

Lua extensions are not working on asterisk 1.8.2.3

Report
Question

Hi, After compiling a installing asterisk 1.8.2.3 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.4 years ago 1 Answer