[asterisk-users] Using SIP to dial extension that will give anoutside line

Warren Selby wcselby at selbytech.com
Tue Aug 3 19:51:55 CDT 2010


On Tue, Aug 3, 2010 at 4:49 PM, <Jeremy.Hellstrom at synovate.com> wrote:

>  Unfortunately it is only the Iwatsu IP phones that grab the open line @
> 3001 currently, the softphones do not.  I might try programming the
> extension and see if I can get a response that way.
>
> Mostly what I am seeing is ----
>

Assuming you have a peer defined in sip.conf as Iwatsu, you could try this:

exten => 1234,1,Verbose(Making outbound test call over Iwatsu trunk)
exten => 1234,n,Dial(SIP/Iwatsu/3001,D(ww${DIALNUMBER}))

where ${DIALNUMBER} is the number you'd like to dial.  For testing I would
set this to a static number (your cell phone or whatever).  Once you have
that working, you would implement it for real in a fashion similar to this:

[outgoing-dial]
exten => _X.,1,Verbose(Making outbound call over Iwatsu trunk)
exten => _X.,n,Dial(SIP/Iwatsu/3001,D(ww${EXTEN}))

and then make the outgoing-dial context available from whatever context your
phone defaults to.

-- 
Thanks,
--Warren Selby
http://www.selbytech.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100803/bd9b0608/attachment.htm 


More information about the asterisk-users mailing list