Configure asterisk to Dial Specific Number as soon as user picks up the phone-receiver

Hi Everyone,

I am working on Asterisk with openwrt.

I want to configure asterisk to auto dial when phon-receiver is picked up.

I tried using “/var/spool/asterisk/outgoing” directory. but id di not work.

Is there any way to do it with extensions.conf file?

exten => _.,1,Dial(SIP/000${EXTEN})

or can you suggest me how to do it with other way??

please provide sample config file or example.


What channel technology are you using?

For DAHDI (analogue) you just use the s extension.

For VoIP you will generally have to do this in two parts: on the phone, configuring it to dial a specific number (or URL) when it is picked up; and, on Asterisk configure that extension to go to the right destination.

By default, IP phones will not send anything over the wire until something has been dialled, so Asterisk will not know that they are off the hook.

Coincidentally, we just pushed out firmware for Digium Phones, for D6x models, yesterday that provides SIP endpoint functionality with a new account parameter plar_number

Thanks guys for your reply.

But adding “immediate=yes” in dahdi_channel.conf file helped me to get what I want.

Cool. Yup, that’s the magic for DAHDI channels.