?
Solved

Asterisk Paging from another Pbx Back to Pbx via Analog

Posted on 2010-08-25
11
Medium Priority
?
713 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
7 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
Sign your company up to try the MB 660 headset now

Take control and stay focused in noisy open office environments with the MB 660. By reducing background noise, you can revitalize your office and improve concentration.

 

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

Enhanced Intelligibility Without Cable Clutter

Challenge: The ESA office in Brussels wanted a reliable audio conference system for video conferences. Their requirement - No participant must be left out from the conference and the audio quality must not be compromised.

Question has a verified solution.

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

Messaging apps are amazing tools with the power to do a lot of good, but the truth is the process of collaborating with coworkers requires relationships established through meaningful communication - the kind of communication that only happens face-…
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…
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…
Notifications on Experts Exchange help you keep track of your activity and updates in one place. Watch this video to learn how to use them on the site to quickly access the content that matters to you.
Suggested Courses
Course of the Month14 days, 22 hours left to enroll

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