For multiline phones how do you set SIP channels to busy. For instance if SIP/101 is on a call then dial would return busy. Right now it just starts ringing on line X, and stacks up from there. What would be really great is if I could control how many calls by the context. So if a call was routed via [overload] Then the ext wouldn't report busy it would just keep ringing available lines, but if the call was routed via [singletrackmind] dial would return busy if the channel already had one call. Thanks Miles
use groups, check the commands/functions group and checkgroup. On 4/9/06, Miles Scruggs <asterisk@garnetweb.com> wrote:> For multiline phones how do you set SIP channels to busy. For instance > if SIP/101 is on a call then dial would return busy. Right now it just > starts ringing on line X, and stacks up from there. > > What would be really great is if I could control how many calls by the > context. So if a call was routed via > > [overload] Then the ext wouldn't report busy it would just keep ringing > available lines, but if the call was routed via > > [singletrackmind] dial would return busy if the channel already had one > call. > > Thanks > > Miles > _______________________________________________ > --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 >
On Sunday 09 April 2006 06:02, Miles Scruggs wrote:> For multiline phones how do you set SIP channels to busy. For instance > if SIP/101 is on a call then dial would return busy. Right now it just > starts ringing on line X, and stacks up from there.I suppose incominglinit=1 in the sip.conf of that phone works exactly the wrong way round? -Benoit-
Benoit Panizzon wrote:> On Sunday 09 April 2006 06:02, Miles Scruggs wrote: > >> For multiline phones how do you set SIP channels to busy. For instance >> if SIP/101 is on a call then dial would return busy. Right now it just >> starts ringing on line X, and stacks up from there. >> > > I suppose incominglinit=1 in the sip.conf of that phone works exactly the > wrong way round? >That will return CHANUNAVAIL instead of the needed BUSY for DAILSTATUS Thanks though.
On Sunday 09 April 2006 06:02, Miles Scruggs wrote:> For multiline phones how do you set SIP channels to busy. For instance > if SIP/101 is on a call then dial would return busy. Right now it just > starts ringing on line X, and stacks up from there.${DIALSTATUS} BUSY comes from the phone. You can limit the possible lines to an phone with call_limit. If you have call_limit=1 you will never get an BUSY from the phone. If call_limit smaller or equal the maximum call to an phone, you will never get an BUSY. So use groupcount and make your own logic. Then you know whats going on. best regards Thomas
On Sunday 09 April 2006 08:46, Benoit Panizzon wrote:> On Sunday 09 April 2006 06:02, Miles Scruggs wrote: > > For multiline phones how do you set SIP channels to busy. For instance > > if SIP/101 is on a call then dial would return busy. Right now it just > > starts ringing on line X, and stacks up from there. > > I suppose incominglinit=1 in the sip.conf of that phone works exactly the > wrong way round?incominglimit and outgoinglimit is replaced by call_limit in Asterisk 1.2.
Many multi-line phones allow you to use the same username/password for all lines. Then the phone only actually registers once using that username and password, not once for each line. What we do with the Polycoms is configure each line to register as a different username/password (we use the MAC address followed by a - and a letter to indicate which line.) As long as you turn off Call Waiting on the phone you can avoid all the checkgroup/setgroup and incominglimit options other people are talking about. Miles Scruggs wrote:> For multiline phones how do you set SIP channels to busy. For instance > if SIP/101 is on a call then dial would return busy. Right now it just > starts ringing on line X, and stacks up from there. > > What would be really great is if I could control how many calls by the > context. So if a call was routed via > > [overload] Then the ext wouldn't report busy it would just keep ringing > available lines, but if the call was routed via > > [singletrackmind] dial would return busy if the channel already had one > call.