ritztech
asked on
Asterisk Paging from another Pbx Back to Pbx via Analog
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
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
ASKER
anybody :( .... hehe
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
freepbx .... the latest version out there ....
ASKER
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
And is it possible to do IF then Statements in here.
thansk
ASKER
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-rec ording:ula w)
exten => 1001,n,system(echo "Channel: ${pageext}" > /var/spool/asterisk/tmp/10 01-1.pg)
exten => 1001,n,system(echo "WaitTime: 1" >> /var/spool/asterisk/tmp/10 01-1.pg)
exten => 1001,n,system(echo "Context: from-internal" >> /var/spool/asterisk/tmp/10 01-1.pg)
exten => 1001,n,system(echo "Extension: 2001" >> /var/spool/asterisk/tmp/10 01-1.pg)
exten => 1001,n,system(echo "Priority: 1" >> /var/spool/asterisk/tmp/10 01-1.pg)
exten => 1001,n,system(chmod 777 /var/spool/asterisk/outgoi ng/1001-1. pg)
exten => 1001,n,system(mv /var/spool/asterisk/tmp/10 01-1.pg /var/spool/asterisk/outgoi ng/)
exten => 1001,n,hangup()
exten => 2001,1,dial(Zaptel/2001)
exten => 2001,n,playback(asterisk-r ecording)
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.
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
exten => 1001,1,playback(beep)
exten => 1001,2,Wait(1)
exten => 1001,n,record(asterisk-rec
exten => 1001,n,system(echo "Channel: ${pageext}" > /var/spool/asterisk/tmp/10
exten => 1001,n,system(echo "WaitTime: 1" >> /var/spool/asterisk/tmp/10
exten => 1001,n,system(echo "Context: from-internal" >> /var/spool/asterisk/tmp/10
exten => 1001,n,system(echo "Extension: 2001" >> /var/spool/asterisk/tmp/10
exten => 1001,n,system(echo "Priority: 1" >> /var/spool/asterisk/tmp/10
exten => 1001,n,system(chmod 777 /var/spool/asterisk/outgoi
exten => 1001,n,system(mv /var/spool/asterisk/tmp/10
exten => 1001,n,hangup()
exten => 2001,1,dial(Zaptel/2001)
exten => 2001,n,playback(asterisk-r
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.
ASKER
.
ASKER
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/
exten => 3205,n,flite(Reecord your message and then press the pound key)
exten => 3205,n,record(asterisk-rec
exten => 3205,n,system(echo "Channel: ${pageext}" > /var/spool/asterisk/tmp/jo
exten => 3205,n,system(echo "WaitTime: 20" >> /var/spool/asterisk/tmp/jo
exten => 3205,n,system(echo "Context: from-internal" >> /var/spool/asterisk/tmp/jo
exten => 3205,n,system(echo "Extension: 3206" >> /var/spool/asterisk/tmp/jo
exten => 3205,n,system(echo "Priority: 1" >> /var/spool/asterisk/tmp/jo
exten => 3205,n,system(chmod 777 /var/spool/asterisk/outgoi
exten => 3205,n,system(mv /var/spool/asterisk/tmp/jo
exten => 3205,n,hangup()
exten => 3206,1,playback(beep)
exten => 3206,n,playback(asterisk-r
exten => 3206,n,Wait(2)
exten => 3206,n,Hangup