Analog DID

We have a radio system attached to an extension. Presently, I dial the extension number, wiat for a beep, then dial the individual mobile radio number. I would like to route DID numbers directly to a mobile radios. How can I configure FreePBX to ring an extension, wait 2 seconds then dial a 3 digit number when a DID call comes in on a sip trunk?

Can you connect directly to the controller (is there a free port and is the Asterisk/FreePBX box in the same location)?

Can you connect a trunk directly to the radio controller?

Does the radio controller accept DID’s?

no the radio interconnect takes a pots line. when the line is called, the interconnect answers and waits for a 4 digit mobile number to be dialed. i want to automate the 4 digit overdialing in freepbx. what i need to happen is when a specific did call comes in, freepbx will ring an extension, wait then dial a unique 4 digit number.

no the radio system is at a remote tower site, using a pap2 for pots interface.

Easiest way I know is to add a speed dial. FreePBX won’t let you put W’s for wait in the speed dial so you have to go into Asterisk and do a database put. do a database show and you can find the key for your speeddial.

O.K. tride that as soon as i put a w in the dial string via database put Allison tells me the number i have called can not be dialed. the extension of the radio interconeect is 150 a value of 150 gets me to the radio system via speeddial a 150wwXXX gets me number can not be dialed.

They are capital W’s

Same with Cap W and comma.

Well, the only reason I can think this is not working is you are not using a DAHDI channel. You can’t pause on any kind of digital trunk.

If you are using SIP or a PRI take a look at the Asterisk dial command. You would have to write a custom extension but there is an option to send dtmf after remote part answers.

Here is a link to the official Asterisk dial command:

http://www.asterisk.org/docs/asterisk/trunk/applications/dial

looks like the W breaks asterisk.

-- Executing [*[email protected]:5] Goto("SIP/100-00000162", "from-internal|150WW7118|1") in new stack
-- Goto (from-internal,150WW7118,1)
-- Executing [[email protected]:1] ResetCDR("SIP/100-00000162", "") in new stack
-- Executing [[email protected]:2] NoCDR("SIP/100-00000162", "") in new stack
-- Executing [[email protected]:3] Progress("SIP/100-00000162", "") in new stack
-- Executing [[email protected]:4] Wait("SIP/100-00000162", "1") in new stack

Extension Changed 100[ext-local] new state InUse for Notify User 101
– Executing [[email protected]:5] Progress(“SIP/100-00000162”, “”) in new stack
– Executing [[email protected]:6] Playback(“SIP/100-00000162”, “silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer”) in new stack
– <SIP/100-00000162> Playing ‘silence/1’ (language ‘en’)
– <SIP/100-00000162> Playing ‘cannot-complete-as-dialed’ (language ‘en’)
== Spawn extension (from-internal, 150WW7118, 6) exited non-zero on ‘SIP/100-00000162’
– Executing [[email protected]:1] Hangup(“SIP/100-00000162”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/100-00000162’
Extension Changed 100[ext-local] new state Idle for Notify User 101