Hi, 

> -----Original Message-----
> So far I've gotten Asterisk to say:
>           -- Extension 'XXXXXXXXXX' in context 'pstn' from '' does not
>           exist.  Rejecting call on channel 0/23, span 1
> (where XXXXXXXXXX is the phone number I dialed)
> So, that's a start, I guess ;)

> extensions.conf contains:
> [pstntosip]
> exten => _X,1,Dial(SIP/[EMAIL PROTECTED])
> 
> I'm sure I'm missing a vital config option elsewhere...

Try: 

exten => _X.,1,Dial(SIP/[EMAIL PROTECTED])

The '.' is a wildcard match of unknown length. With your pattern you only
accept extensions of 1 digit long.

Florian


_______________________________________________
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