?
Solved

Asterisk Paging from another Pbx Back to Pbx via Analog

Posted on 2010-08-25
11
Medium Priority
?
691 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 total points
ID: 33560744
1. Are you using FreePBX with Asterisk or Trixbox or what?
2. What's the version?
0
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 

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

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

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

With the shift in today’s hiring climate (http://blog.experts-exchange.com/ee-blog/5-tips-on-succeeding-in-the-new-gig-economy/?cid=Blog_031816), many companies are choosing to hire freelancers to get projects completed efficiently and inexpensively…
Why do some people recommend buying business VoIP from an ISP? What are the benefits to my company? What are the costs?
The Bounty Board allows you to request an article or video on any technical topic, or fulfill a bounty request to earn points. Watch this video to learn how to use the Bounty Board to get the content you want, earn points, and browse submitted bount…
Saved searches can save you time by quickly referencing commonly searched terms on any topic. Whether you are looking for questions you can answer or hoping to learn about a specific issue, a saved search can help you get the most out of your time o…

800 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