[Asterisk-Users] PSTN to SIP gateway
Florian Overkamp
florian at obsimref.com
Thu Jul 14 23:23:14 MST 2005
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/*${CALLERIDNUM}*${DID}*@voip)
>
> I'm sure I'm missing a vital config option elsewhere...
Try:
exten => _X.,1,Dial(SIP/*${CALLERIDNUM}*${DID}*@voip)
The '.' is a wildcard match of unknown length. With your pattern you only
accept extensions of 1 digit long.
Florian
More information about the asterisk-users
mailing list