[asterisk-users] call forwarding

salaheddine elharit salah.elharit200 at gmail.com
Tue Apr 5 11:56:46 CDT 2011


Hi Rizwan



Thank you for your help i will test this solution and i will update you as
soon as i have any result.



Kind Regards

2011/4/4 Rizwan Hisham <rizwanhasham at gmail.com>

> 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
>
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110405/8f087713/attachment.htm>


More information about the asterisk-users mailing list