good day,
I inherited an asterisk server that i’ve been running for about 8months. Everything i have ever needed is usually right here on the forums, However I have never come across a working method as to successfully blocking or unblocking a number or extension from being dialed (via xlite in my case).
Now i have never needed to restrict a number, but recently i tried accessing extension 8168, which is where voice recording can be done and i have discovered that it is BLOCKED… After consulting the person who ran the server last, he remembered that he did restrict access but could not recall where it was set… looking at etensions.conf, everything seems fine…
Can ANYONE provide me with insight as to where i can make these changes?!
note: there is no extensions_custom.conf file…
extensions.conf code relating to extension 8168:
exten => 8168, 1, answer
exten => 8168, 2, AGI(agi-record-prompts.agi)
exten => 8168, 3, hangup
i hope someone can help
josh hoegen
Please post what comes up in the CLI when you dial said extension.
and… do you have 2 priority "1"s in there? That could cause a gongshow.
OOP! that was a typo exclusive to this post, the prority list has been corrected (above)… I appreciate the reply, Mark… I’m going to wait until this shift is over so, i can have a less cluttered CL reference. should be wrapping up 5 minutes…
here is the CL info…
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Manager ‘sendcron’ logged on from 127.0.0.1
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Manager ‘sendcron’ logged on from 127.0.0.1
== Manager ‘sendcron’ logged off from 127.0.0.1
– Executing Answer(“SIP/agent19-b6107808”, “”) in new stack
– Executing AGI(“SIP/agent19-b6107808”, “agi-record_prompts.agi”) in new st ack
– Launched AGI Script /var/lib/asterisk/agi-bin/agi-record_prompts.agi
Jun 10 13:21:02 WARNING[16045]: channel.c:787 channel_find_locked: Avoided initi al deadlock for ‘0xb6105738’, 10 retries!
Jun 10 13:21:02 WARNING[22865]: file.c:512 ast_openstream_full: File ld_welcome_ pin_number does not exist in any format
== Manager ‘sendcron’ logged off from 127.0.0.1
== Refreshing DNS lookups.
It doesn’t look like this ext is “BLOCKED” per say, because you can dial it, and it just seems to run the script, however the script seems to not be working all that well.
This error seems to be a known bug in older Asterisk/Addon implementations.
This means that no file with the name “ld_welcome_ pin_number.gsm(?)” could be found.
i apologize for the delay… you were right on…i was actually missing the audio files necessary for that extension… downloaded the defaults and all is working… Mark, i appreciate your efforts