[asterisk-users] _FAX_. extension refuses to work !
A J Stiles
asterisk_list at earthshod.co.uk
Wed Nov 30 05:10:44 CST 2016
On Wednesday 30 Nov 2016, Michele Pinassi wrote:
>[stuff deleted]
> but on a call directed to, es. FAX_3700 i got:
>
> [Nov 30 11:38:30] NOTICE[5462][C-00000027]: chan_sip.c:26309
> handle_request_invite: Call from 'voip-trunk' (xxx:5060) to extension
> 'FAX_3700' rejected because extension not found in context 'from-voip'.
> [Nov 30 11:38:30] NOTICE[5462][C-00000027]: chan_sip.c:26309
> handle_request_invite: Call from 'voip-trunk' (xxx:5060) to extension
> 'FAX_3700' rejected because extension not found in context 'from-voip'.
>
> Other extension like _IVR_ or _VMR_ works perfeclty and are defined in
> the same manner.
>
> Maybe _FAX was a reserved keyword ?
Almost. The letter X is a reserved *character*; it gets translated internally
to [0-9]. So your extension pattern
_FAX_.
actually matches the pattern
FA[0-9]_.
and something like "FAX_3700" is not going to match this pattern (because
there is now a letter X in the place where the extension pattern is expecting
for there to be a digit 0-9).
Try a backslash before the X?
--
AJS
Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .
More information about the asterisk-users
mailing list