[Asterisk-Users] Why? oh why can't I dial out?

Greg Hill gregh-asterisk at hillnet.us
Sun Jun 27 09:12:36 MST 2004


On Sun, 27 Jun 2004, Vassilis Konstantinou wrote:

> I have been struggling with my Asterisk setup for 3 days now and I think I
> have done well...apart from the small detail that I cannot dial out on my
> phone (PSTN) line.
> [snip]
> The scenario is: if I dial 9123 (for the UK clock) then  output from the
> console is:
>
>    -- Executing Dial("SIP/5000-96f1", "Zap/1/123") in new stack
>      -- Called 1/123
>      -- Zap/1-1 answered SIP/5000-96f1
>      -- Hungup 'Zap/1-1'
>[snip]
>
> [incoming]
>
> exten => s,1,SetCallerId(${CALLERID})
> exten => s,2,dial(SIP/5000&SIP/5001,10,tr)
> exten => s,3,Voicemail,u1000
> exten => s,102,Voicemail,b1000
>
>
> exten => _9.,1,Dial(${CONSOLE}/${EXTEN:1})
> exten => _9.,2,Congestion

So, assuming that calls from your SIP device are in the same context as
the above extensions, all extensions beginning with a 9 should be dialled
on ${CONSOLE}. On my box, ${CONSOLE}=console/dsp... the sound card. Is
yours set to something similar (or is it really set to dial the zap
interface?)

Not being from the UK myself, I don't know whether the clock's number is
123 or 9123. If it's 9123, then you should be dialing 99123 in order to
get through your dialplan with the 9123 still intact to send to the PSTN.


Greg




More information about the asterisk-users mailing list