[Asterisk-Users] lilte help please

Kevin Scott kevinds at cashette.com
Mon Oct 31 10:48:05 MST 2005


In his Outgoing context, should it not be 9|1NXXNXXXXXX, to strip the 9 from
being sent to the provider?

Kevin

-----Original Message-----
From: Rich Adamson [mailto:radamson at routers.com] 
Sent: October 31, 2005 7:21 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion;
KMOUSLI at V-TEC.NET
Subject: Re: [Asterisk-Users] lilte help please


> problem i can't get asterisk to dial to sip provider no matter what
provider i choose
> 
> the prefix and telephone format is the main problem and i cant figure it
even thoug i looked at example and 
diD not work for me
> 
> i took exmple on nufone and net2phone configs !
> 
> IF I UNDERSTAND THINGS WELL, i should dial 9 then phone number !, i always
get you dialed worgn number !!!!
> 
> any ideas
> [OUTGOING]
> exten => _91NXXNXXXXXX,1,Answer()
> 
> exten => _91NXXNXXXXXX,n,Dial(SIP/kmousli at nuphone/${EXTEN:1})
> 
> exten => _91NXXNXXXXXX,3,Congestion

You do not want to "answer" a call that is in the calling process.
Remove that.

To provide any better answers, we'll need ot see the context that
your sip phones are in along with any other contexts that are
included.

In your example above for nuphone, do you have a context like [nuphone]?
If so, what statements are included in it?

Can you copy/paste what the CLI is showing when you place a call?
It would be helpful to see that.

Until you understand exactly what you're doing, get rid of the "n" as
a priority and simply use numeric sequential numbers. In the above
example, change to 91NXXNXXXXXX,2,Dial and watch your CLI when placing
a call.







More information about the asterisk-users mailing list