[asterisk-users] Re: Two phones, same number

Wes Baehr wbaehr at abilitybusiness.com
Thu Sep 21 06:45:43 MST 2006


voip*CLI> show application chanisavail
voip*CLI>
  -= Info about application 'ChanIsAvail' =-

[Synopsis]
Check channel availability

[Description]
  ChanIsAvail(Technology/resource[&Technology2/resource2...][|options]):
This application will check to see if any of the specified channels are
available. The following variables will be set by this application:
  ${AVAILCHAN}     - the name of the available channel, if one exists
  ${AVAILORIGCHAN} - the canonical channel name that was used to create the
channel
  ${AVAILSTATUS}   - the status code for the available channel
  Options:
    s - Consider the channel unavailable if the channel is in use at all
    j - Support jumping to priority n+101 if no channel is available

Use chanisavail to check if one or both phones is busy - if either is busy,
redirect to voicemail/busy/whatever.

Wes Baehr

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Benny Amorsen
> Sent: Thursday, September 21, 2006 9:22 AM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] Re: Two phones, same number
> 
> >>>>> "ZZ" == Zeeshan Zakaria <zishanov at gmail.com> writes:
> 
> ZZ> Why don't you simply give them separate extensions and put them in
> ZZ> a ring group.
> 
> I'm not quite sure what you mean by "ring group". Perhaps you could
> elaborate?
> 
> ZZ> Or disable call waiting on this phone, and forward the second call
> ZZ> using Call Forward On Busy to a queue, where MoH file will be a
> ZZ> busy phone signal. Called will hear a busy phone signal and the
> ZZ> second phone will still be ringing.
> 
> I don't want the second phone to ring.
> 
> ZZ> But whats the point to make the second phone ring if caller is
> ZZ> hearing a busy tone. He'll hang up anyways.
> 
> I want the caller to get the busy tone. Basically, if I'm talking on
> one phone, I don't want the other phone to ring.
> 
> 
> /Benny
> 
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.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