> Just a slight correction, in case the OP didn't realise it was an error:
> 
> In article <[EMAIL PROTECTED]>,
> Rich Adamson <[EMAIL PROTECTED]> wrote:
> > 
> > When dialing an outbound sip call (via your sip provider), the Dial()
> > statement can use the form:
> >   exten => _1XXXXXXXXXX,1,Dial(SIP/myOutContext)
> > where the myOutContext would look something like:
> >  [myOutContext]
> >  type=peer  ; for outbound calls
> >  (other parameters as needed to authenticate an outbound call)
> 
> The Dial command needs to pass the dialled number to the ITSP,
> so I would think it should be:
> 
> exten => _1XXXXXXXXXX,1,Dial(SIP/[EMAIL PROTECTED])
> 
> or something similar.
> 
> I'm assuming it isn't passed my some magic means if the Dial command
> is written as per Rich's example. Is it?

Ops (running to find the coffee pot).

You're right on; no magic involved.

Or, using another syntax that I like:
 exten => _1XXXXXXXXXX,1,Dial(SIP/myOutContext/${EXTEN})



_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to