[asterisk-users] Disabling Call-Waiting

Gordon Henderson gordon+asterisk at drogon.net
Tue Nov 25 10:22:32 CST 2008


On Tue, 25 Nov 2008, Mikhail (Plus Plus) wrote:

> Sorry for hijacking this thread, but I need something similar in
> opposite way the original poster wants:
>
> I have real incoming phone number and all calls on this phone number are
> redirected to local extension: 1234567 -> 515
> where "1234567" is a phone number and "515" is a local extension in
> asterisk. The phone number I get from my provider supposedly has 2
> incoming lines. What I want is:
> If "515" extension is busy, redirect call to local extension "516".
> How this can be achieved?
>
> Right now I have:
>
> exten => 1234567,1,Dial(SIP/515)
> exten => s-NOANSWER,n,Dial(SIP/516)
> exten => s-BUSY,n,Dial(SIP/516)
>
> But this does not work (I guess because I'm wrong).

If you have programmed the phones to only accept 1 incoming call (ie. 
turned of call-waiting on the phones thmselves), then simply:

   exten => 1234567,1,Dial(SIP/515)
   exten => 1234567,n,Dial(SIP/516)

Will work.

You may want to put a time-out on the first Dial to drop into the 2nd one 
if the first phone doesn't answer, otherwise it'll ring until the caller 
hangs up.

Gordon


>
> Thanks.
>
> Gordon Henderson wrote:
>> On Tue, 25 Nov 2008, Elliot Murdock wrote:
>>
>>> Hello!
>>>
>>> I have a few sip devices and it is necessary for me to disable call-waiting
>>> and immediately return a busy signal if the sip's channel is busy on them.
>>>
>>> What is the procedure to do so in Asterisk 1.4?
>>
>> Read the phone manual and work out how to disable it in the phone.
>>
>> That's the easiest way I've found, anyway...
>>
>> Gordon
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list