anomaly0617
Member
- Joined
- Feb 9, 2012
- Messages
- 50
- Reaction score
- 11
Hi all,
I've hit the search engines for an answer a bunch, come up with some results I don't totally comprehend, and I'm admitting defeat and posting a question about it. That's where I'm at...
I'm 95% done with taking over an existing Asterisk install... one that was developed and implemented by another company with a custom rollout of Asterisk. No PIAF, no FreePBX, but definitely asterisk on the back end. I hypothetically might have created an image of their hard drive and then changed the root password on the image of their server to find out the scope of what they were doing, but that would PURELY be hypothetical if it actually happened.
In any case, what I've done is replace their server with new name-brand hardware (theirs was a white-box) running IncrediblePBX, but re-used all of the endpoints. And for the most part this is working, with the exception of paging out to the warehouse.
The paging setup is a Cisco SPA112 connected to a Viking Paging Amp. There's an extension for the Cisco SPA112, and when they want to page out to the shop they dial this extension. And here's where the fun comes in. I searched high and low on the settings for the Cisco SPA112 for an auto answer option (there isn't one). I made sure it was set on the extension to answer if from an internal source (it is). No matter what I tried, it wouldn't do it.
I then hit the search engines and found the following:
He referenced it as a custom context, which is a world I've never played in. Still, I downloaded and installed the module. But, for the life of me, I cannot figure out where to put the above code and how to implement it.
What I've done so far:
Any guidance would be appreciated.
Thanks!
I've hit the search engines for an answer a bunch, come up with some results I don't totally comprehend, and I'm admitting defeat and posting a question about it. That's where I'm at...
I'm 95% done with taking over an existing Asterisk install... one that was developed and implemented by another company with a custom rollout of Asterisk. No PIAF, no FreePBX, but definitely asterisk on the back end. I hypothetically might have created an image of their hard drive and then changed the root password on the image of their server to find out the scope of what they were doing, but that would PURELY be hypothetical if it actually happened.
In any case, what I've done is replace their server with new name-brand hardware (theirs was a white-box) running IncrediblePBX, but re-used all of the endpoints. And for the most part this is working, with the exception of paging out to the warehouse.
The paging setup is a Cisco SPA112 connected to a Viking Paging Amp. There's an extension for the Cisco SPA112, and when they want to page out to the shop they dial this extension. And here's where the fun comes in. I searched high and low on the settings for the Cisco SPA112 for an auto answer option (there isn't one). I made sure it was set on the extension to answer if from an internal source (it is). No matter what I tried, it wouldn't do it.
I then hit the search engines and found the following:
- If you send a DTMF (5) after you dial the extension and while the Cisco SPA112 is in "ringing" mode, it will answer the call.
- I found a dude doing exactly what I want to do taking advantage of #1 using the following macro:
[macro-PageDTMF]
exten => s,1,Playtones(!0/250,!770+1336/150,0)
exten => s,n,Wait(.3)
exten => s,n,StopPlaytones()
exten => s,1,Playtones(!0/250,!770+1336/150,0)
exten => s,n,Wait(.3)
exten => s,n,StopPlaytones()
He referenced it as a custom context, which is a world I've never played in. Still, I downloaded and installed the module. But, for the life of me, I cannot figure out where to put the above code and how to implement it.
What I've done so far:
- I've SSH'ed to my phone server, run mc (Midnight Commander) and searched /etc/asterisk for the text "macro-" (comes up with multiple entries within extensions_minivm.conf and extensions_additional.conf).
- I've created a custom context called "PageDTMF" and then searched on that within /etc/asterisk (comes up with extensions_custom.conf and extensions_additional.conf)
- I've looked and looked again and looked again again at the Paging and Intercom section, which works for phones but does not work for the SPA112.
Any guidance would be appreciated.
Thanks!