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 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 3.8 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 3.8 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.6 years ago 1 Answer

Voicemail Forwarding


Experiencing a problem when users attempt to forward a voicemail from within VoiceMailMain(Option 8) I see the console message: Couldn't not find mailbox XXX in context default As why are running in a multi-tenant environment voicemail.conf has been separated into individual contexts. The users retrieve their email by dialing an extension which calls VoiceMailMail(XXX@VMContext) so how do I instruct Asterisk to use that context when forwarding voicemails ?

Asterisk Users 4.8 years ago 4 Answers

Send INVITES and REFERs from OpenSIPS to Asterisk with multiple Contexts


I currently have OpenSIPS set up with users and most of my call handling.
OpenSIPS won't be able to handle things like Call Park, Hunt Groups, ACD,
etc. So I want to send these types of requests to Asterisk. I also want to
set Asterisk up as Multi Tenant. So my question is How can I send requests to Asterisk and have them funnel into the specific
context for that specific Tenant? So if customer from wants to park
a call then the users phone sends a REFER message to OpenSIPS, OpenSIPS

Asterisk Users 4.9 years ago 0 Answers