[Asterisk-Users] Auto-dial from webpage

Ashley Jones ashley at vergeworks.com
Tue Oct 21 07:39:54 MST 2003


 >> Channel: Zap/g2/14109850123
 >> MaxRetries: 2
 >> RetryTime: 60
 >> WaitTime: 30
 >> Context: extensions
 >> Extension: 84
 >> Priority: 1
 >>
>> JT
>  From your example you would dial the outbound line and once connected 
> dial the internal extension.. does this not mean that the external 
> person would hear the phone rining when it was answered??
> 
> I do mine the other way around..
> 
> Channel: SIP/84
> WaitTime: 30
> Context: {the context that has your outbound dial string}
> Extension: 914109850123 ;9 added to number as if call was being placed 
> from a phone
> Priority: 1
> 
> This way the internal extension is dialed first and when answerd the 
> external number is dialed..

Elrod,

Though it may look like the extension is dialed first, it isn't.  The 
order of that file doesn't mater and * will always dial the extension 
first. Give John's example a try and it should work.

Here's some tips:
- the file name doesn't mater
- set up a file in another directory then just copy the file to 
/var/spool/asterisk/outgoing and * will process and delete it.  This way 
you can easily modify your test file
- Careful which context you use in /etc/asterisk/extensions.conf to make 
sure it's correct.

-adj




More information about the asterisk-users mailing list