[Asterisk-Users] Re: CLUELESS NEWBIE needs help making an outbound sip call to PSTN

Tony Mountifield tony at softins.clara.co.uk
Fri Jun 3 06:58:54 MST 2005


Just a slight correction, in case the OP didn't realise it was an error:

In article <Chameleon.1117805299.adar0 at vegas>,
Rich Adamson <radamson at routers.com> 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/${EXTEN}@myOutContext)

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?

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list