[Asterisk-Users] call number + tariling suffix
Timur V. Elzhov
Timur.Elzhov at jinr.ru
Tue Aug 23 02:33:02 MST 2005
Dear Asterisk experts and users.
Let's assume I purchased the call number, let it be 2200
for simplicity. So when we call 2200, our call will be
processed with Asterisk, and come in, say, [incoming] context.
Well, then I'd like Asterisk to process all calls that a
*begin* with 2200, i.e. 2200101. My dialplan would include
something like:
;; extensions.conf
[incoming]
exten => _2200.,1,GoTo(incoming-2,${EXTEN},1)
; ...
[incoming-2]
exten => _2200.,1,NoOp(${EXTEN}) ; something I'd like to do
It does work with IP phones. But, if I purchase the DID #
2200, can I be sure that I will not lose the trailing
suffix? I mean if I type direct call 2200101, is it guaranteed
that in [incoming-2] context the correct full number 2200101
will be processed?
Thanks!
--
Best regards,
Timur Elzhov
More information about the asterisk-users
mailing list