Christian Hoffmeyer
2004-Apr-08 16:13 UTC
[Asterisk-Users] Two operators, 10 rollover lines, Cisco 7960G chanisavail problem
Here's my situation. I have two receptionists that answer incoming lines. Each has a 7960G with 5 incoming lines each. I'm trying to set this up so each line on each phone doesn't utilize call waiting. My problem seems to be that ChanisAvail(Sip/cisco1&Sip/cisco2&Sip/cisco3&Sip/cisco4&Sip/cisco5) always returns cisco1. Here are the sip.conf entries: (mind you, there are entries for frontdesk1-10 and each phone logs in with 1-5 and 6-10 respectively) [frontdesk10] type=friend ;Theresa Sprocket username=frontdesk10 callerid="Cogswell's Coggs" <555> secret=asterisk host=dynamic transfer=yes canreinvite=no incominglimit=1 context=recordings Here's the dial string I'm trying to use: exten => 775,1,SetMusicOnHold(default) exten => 775,2,ChanisAvail(Sip/frontdesk1&Sip/frontdesk2&Sip/frontdesk3&Sip/frontdesk 4&Sip/frontdesk5) exten => 775,3,Cut(DESK1=AVAILCHAN||1) exten => 775,4,ChanisAvail(Sip/frontdesk6&Sip/frontdesk7&Sip/frontdesk8&Sip/frontdesk 9&Sip/frontdesk10) exten => 775,5,Cut(DESK2=AVAILCHAN||1) exten => 775,6,Dial(${DESK1}&${DESK2},15,tr) Any tips, tricks or ideas would be greatly appreciated. Thank you, Christian Hoffmeyer YottaDot Solutions Huntsville, AL (iax) 700.859.4508
Walker Haddock
2004-Apr-09 07:12 UTC
[Asterisk-Users] Two operators, 10 rollover lines, Cisco 7960G chanisavail problem
Hi Christian, On Thu, Apr 08, 2004 at 06:13:50PM -0500, Christian Hoffmeyer wrote:> Here's my situation. > > I have two receptionists that answer incoming lines. Each has a 7960G with > 5 incoming lines each. I'm trying to set this up so each line on each phone > doesn't utilize call waiting. My problem seems to be that > ChanisAvail(Sip/cisco1&Sip/cisco2&Sip/cisco3&Sip/cisco4&Sip/cisco5) always > returns cisco1.I had tried this back in October and found that ChanisAvail does not work for Sip channels. I think you can look at the code and confirm this. I have not heard of it being implemented. The incominglimit=1 is the solution I used. If you use this feature, it will only allow one call to the extension. Therefore, you can set your Dial command to ring all of the extensions at the two front desks (set a global) and it will ring all of the extensions except the ones that are busy. Actually, I just set all of the lines on my 7960 phones to the same Sip extension. That way if they are on a call on the first 7960 appearance, they can just press the next button to answer the new call while the 7960 holds the one they were talking on (while playing music on hold!). email me offline if you want me to call you and discuss it with you more. Also, I could send my config files for you to take a look at. Walker> > Here are the sip.conf entries: (mind you, there are entries for > frontdesk1-10 and each phone logs in with 1-5 and 6-10 respectively) > > [frontdesk10] > type=friend ;Theresa Sprocket > username=frontdesk10 > callerid="Cogswell's Coggs" <555> > secret=asterisk > host=dynamic > transfer=yes > canreinvite=no > incominglimit=1 > context=recordings > > Here's the dial string I'm trying to use: > > exten => 775,1,SetMusicOnHold(default) > exten => > 775,2,ChanisAvail(Sip/frontdesk1&Sip/frontdesk2&Sip/frontdesk3&Sip/frontdesk > 4&Sip/frontdesk5) > exten => 775,3,Cut(DESK1=AVAILCHAN||1) > exten => > 775,4,ChanisAvail(Sip/frontdesk6&Sip/frontdesk7&Sip/frontdesk8&Sip/frontdesk > 9&Sip/frontdesk10) > exten => 775,5,Cut(DESK2=AVAILCHAN||1) > exten => 775,6,Dial(${DESK1}&${DESK2},15,tr) > > Any tips, tricks or ideas would be greatly appreciated.Just do this: FRONTDESK=Sip/frontdesk1&Sip/frontdesk2&Sip/frontdesk3&Sip/frontdesk4&Sip/frontdesk5 ... exten => 775,1,Dial(${FRONTDESK})> > Thank you, > > Christian Hoffmeyer > YottaDot Solutions > Huntsville, AL > > (iax) 700.859.4508 > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- ******** DataCrest, Inc. -- Technically Superior ****************** Walker Haddock http://www.datacrest.com DataCrest, Inc. e-mail: wh@datacrest.com 1634A Montgomery Hwy. phone: 1-888-941-3282, 1-205-335-8589 Birmingham, AL 35216 fax: 1-205-823-7838 ***********************************************************************