Solved

Asterisk Paging from another Pbx Back to Pbx via Analog

Posted on 2010-08-25
11
681 Views
Last Modified: 2013-12-27
1) Caller will dial a code and hear a beep from asterisk/freepbx. Incoming digits....

2) Caller will record page and hangup. The recording will be based on the digits recieved from the pbx. IE..digits 1000 records to mailbox 1000.
3) Upon hangup, asterisk/Freepbx will immediately attempt to broadcast the Temp Recording page by dialing via Zaptel on a port connected analog to an analog extension on the Pbx, and dialing the pbx paging code destined. If
    there is already a page in progress then it will wait X seconds or set up some sort of outgoing trunk group.
5) This system needs to be able to go off hook on as many as 6 analog ports at the same time and dial whatever page codes to broadcast multiple pages simultaneously.


But im not sure how i can even process this and edit .conf file or what file to edit.


thanks
0
Comment
Question by:ritztech
  • 6
11 Comments
 

Author Comment

by:ritztech
ID: 33528482
just saw this lurking around BUT not sure how i can do this with a TRUNK group via Freepbx and individual codes.

THANKS



from-internal-custom]

; Delayed paging. It this case, you dial 3205 to activate the paging system
; This context records your page, creates a call file that plays the message
; back. Extension 3206 actually plays back the file once the paging system
; answers. The third line of 3205 is used to set the extension number of your
; paging system.
exten => 3205,1,Answer
exten => 3205,2,Wait(2)
exten => 3205,n,set(pageext="local/305")
exten => 3205,n,flite(Reecord your message and then press the pound key)
exten => 3205,n,record(asterisk-recording:ulaw)
exten => 3205,n,system(echo "Channel: ${pageext}" > /var/spool/asterisk/tmp/john.call)
exten => 3205,n,system(echo "WaitTime: 20" >> /var/spool/asterisk/tmp/john.call)
exten => 3205,n,system(echo "Context: from-internal" >> /var/spool/asterisk/tmp/john.call)
exten => 3205,n,system(echo "Extension: 3206" >> /var/spool/asterisk/tmp/john.call)
exten => 3205,n,system(echo "Priority: 1" >> /var/spool/asterisk/tmp/john.call)
exten => 3205,n,system(chmod 777 /var/spool/asterisk/outgoing/john.call)
exten => 3205,n,system(mv /var/spool/asterisk/tmp/john.call /var/spool/asterisk/outgoing/)
exten => 3205,n,hangup()

exten => 3206,1,playback(beep)
exten => 3206,n,playback(asterisk-recording)
exten => 3206,n,Wait(2)
exten => 3206,n,Hangup
0
 

Author Comment

by:ritztech
ID: 33539034
anybody :( .... hehe
0
 
LVL 32

Accepted Solution

by:
DrDamnit earned 500 total points
ID: 33560744
1. Are you using FreePBX with Asterisk or Trixbox or what?
2. What's the version?
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

by:ritztech
ID: 33588820
freepbx .... the latest version out there ....
0
 

Author Comment

by:ritztech
ID: 33642855
another question i have What if theres like 4 in a row could there be like a queue IF someone calls 3200 Again recored the message in like a 3200TMP1.wav  and 3200TMP2.wav


And is it possible to do IF then Statements in here.

thansk
0
 

Author Comment

by:ritztech
ID: 33642970
New Code on my FLOW
Using ZAPTEL

CALLER on

Mitel PBX users  Dials 1001 > LS-GS Trunk > (asterisk) Zaptel Inbound Trunk > inbound DID OF 1001 > BEEP > Recording Temp Page> Dial Ext 2001 > Outbound Route > FXS Ring Mitel PBX > Analog code 2001 paging Zone to Speaker)

exten => 1001,1,Answer
exten => 1001,2,Wait(1)
exten => 1001,n,set(pageext="zaptel/1001")
exten => 1001,1,playback(beep)
exten => 1001,2,Wait(1)
exten => 1001,n,record(asterisk-recording:ulaw)
exten => 1001,n,system(echo "Channel: ${pageext}" > /var/spool/asterisk/tmp/1001-1.pg)
exten => 1001,n,system(echo "WaitTime: 1" >> /var/spool/asterisk/tmp/1001-1.pg)
exten => 1001,n,system(echo "Context: from-internal" >> /var/spool/asterisk/tmp/1001-1.pg)
exten => 1001,n,system(echo "Extension: 2001" >> /var/spool/asterisk/tmp/1001-1.pg)
exten => 1001,n,system(echo "Priority: 1" >> /var/spool/asterisk/tmp/1001-1.pg)
exten => 1001,n,system(chmod 777 /var/spool/asterisk/outgoing/1001-1.pg)
exten => 1001,n,system(mv /var/spool/asterisk/tmp/1001-1.pg /var/spool/asterisk/outgoing/)
exten => 1001,n,hangup()


exten => 2001,1,dial(Zaptel/2001)
exten => 2001,n,playback(asterisk-recording)
exten => 2001,n,Wait(2)
exten => 2001,n,Hangup


Shall i think of creating a huntgroup of some sort IF 1001 is busy at the moment add members of 10011, 10012 10013 10014 and do a exten >10011 and duplicate every page code by 4.







0
 

Author Closing Comment

by:ritztech
ID: 33702173
.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing is at the top of most security top 10 efforts you should be pursuing in 2016 and beyond. If you don't have phishing incorporated into your Security Awareness Program yet, now is the time. Phishers, and the scams they use, are only going to …
Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question