[asterisk-users] call forwarding
Rizwan Hisham
rizwanhasham at gmail.com
Mon Apr 4 11:14:26 CDT 2011
Do this:
exten=> _0522XXXXXX,1,Goto(${CONTEXT},0520${EXTEN:4:},1)
you can also use the dial command for this as well
exten=> _0522XXXXXX,1,Dial(Local/0520${EXTEN:4}@${SOMECONTEXT})
replace ${CoNTEXT} and ${SOMECONTEXT} with name of your contexts which
contains 0520 numbers.
I have not tested it, you can try it on your setup.
On Mon, Apr 4, 2011 at 7:00 PM, salaheddine elharit <
salah.elharit200 at gmail.com> wrote:
> Hello list,
>
> i have one question related to call forwarding.
>
> i have 2 number for the inbound and i want to configure asterisk like that.
>
> When the customer call the first number 0522XXXXXX the call will be
> forwarding automatically to anther number 0520xxxxxx
>
> Does anybody have a solution to this problem.
>
> Thanks and Regards.
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Best Ragards
Rizwan Qureshi
VoIP/Asterisk Engineer
Axvoice Inc.
V: +92 (0) 3333 6767 26
E: rizwanhasham at gmail.com
W: www.axvoice.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110404/368f0afe/attachment.htm>
More information about the asterisk-users
mailing list