[Asterisk-Users] PSTN Gateway X101P

Marty Mastera mmastera at m3resources.com
Sun Jul 18 11:20:35 MST 2004


  
> What I am NOT able to do is dial a seven digit local or 10 
> digit long distance number and make a phone call to the pstn 
> using the x100p card.
> 
snip

> Attached is my extensions.conf
> 
> When I dial 94341321 or 4341321 I just get a 404 error in Xlite.
> 
> What am I doing wrong? Any help would be appreciated.

Hey Jason....

In your extensions.conf, the [default] context only has the [demo]
context included which provides no outbound dialing.  Try adding an
'include =>' line to your default context to allow for this. For example
in extensions.conf, there is a context called [local] to allow for
outbound dialing, so add 'include => local' under your [default]
context...

The other side of this is in sip.conf, where you tell the phone (or
x-lite or whatever) which context to start in (from extensions.conf).
Since you can already dial 1000 and get the demo, I assume that your
sip.conf is configured to start in the [default] context in
extensions.conf

With that being the case, after adding the include => local to your
[default] context, you should be able to dial your 7 digit number (you
must dial 9 first).

Marty



More information about the asterisk-users mailing list