Yehavi Bourvine +972-8-9489444
2007-Jan-11 06:52 UTC
[asterisk-users] "real life" example of SLA definition
Hello, I am looking for a "real life" example of using SLA lines under Asterisk. I'll describe my environment and would like to know how I define it in Asterisk (version 1.4 final). Suppose I have two multi lines phones. The first phone has extension 1 assigned to it, and the second phone has extension 2 assigned to it. Now, I want extension 3 to be available on both phones as additional shared extension. What shall I define on the phone? (define extension 3 on both doesn't work as only one can register with it). What should sla.conf file have? Do I have to change extensions.conf? (To make it simple let's assume that it contains only Dial(SIP/${EXTEN}) as the dialplan). Thanks! __Yehavi:
Kevin P. Fleming
2007-Jan-11 08:11 UTC
[asterisk-users] "real life" example of SLA definition
Yehavi Bourvine +972-8-9489444 wrote:> Suppose I have two multi lines phones. The first phone has extension 1 > assigned to it, and the second phone has extension 2 assigned to it. Now, I > want extension 3 to be available on both phones as additional shared extension. > What shall I define on the phone? (define extension 3 on both doesn't work as > only one can register with it). What should sla.conf file have? Do I have to > change extensions.conf? (To make it simple let's assume that it contains only > Dial(SIP/${EXTEN}) as the dialplan).This is not SLA; SLA is shared lines, not shared extensions. You say you can't put 'extension 3' on both phones because only one can register to it, but that is incorrect. Extensions and SIP devices are not the the same thing; extensions exist in the dialplan, and SIP devices are in the SIP channel driver. Create two SIP friends for the two phones to use for their 'extension 3' line appearance (call them 'phone1-ext3' and 'phone2-ext3' or something), get them both to register, and then dial both devices from the dialplan when extension 3 is called.
Yehavi Bourvine +972-8-9489444
2007-Jan-11 08:21 UTC
[asterisk-users] "real life" example of SLA definition
> You say you can't put 'extension 3' on both phones because only one can > register to it, but that is incorrect. Extensions and SIP devices are > not the the same thing; extensions exist in the dialplan, and SIP > devices are in the SIP channel driver. > > Create two SIP friends for the two phones to use for their 'extension 3' > line appearance (call them 'phone1-ext3' and 'phone2-ext3' or > something), get them both to register, and then dial both devices from > the dialplan when extension 3 is called.OK, but how do I make that when extension 3 is being used on one phone the other one can see its status, and when it is placed on hold then it can be picked-up on the other phone by just hitting the line button? I am trying to emulate the current phone system behaviour, as this is what the users want... Thanks! __Yehavi:
Kevin P. Fleming
2007-Jan-11 14:27 UTC
[asterisk-users] "real life" example of SLA definition
Thomas Kenyon wrote:> Can I use SLA/BLA to arrange it so that 2 SIP clients (an AT-320 and an > e60) respond to the same extension, but if one is in use then the other > one will return as busy when a call is passed to the extension?Using group counting mechanics you can do that.
Kevin, Any chance you could give us a basic example of what you need in sla.conf and extensions.conf to set up a Shared Line Appearance? By Mapping "actual trunk lines", does this mean you can essentially have a button on phones that (for example) connect / maps you directly to Zap/1 - i.e the button would be labeled "line 1" etc. ? Marc. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Kevin P. Fleming Sent: Friday, 12 January 2007 8:27 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] "real life" example of SLA definition Steve Langstaff wrote:> Kevin - can you give a quick description of what shared lines are (as > opposed to shared extensions)?Shared Line Appearance == key system, essentially. Buttons on phones are mapped to actual trunk lines, and reflect the status of that trunk line, including being able to barge in (conference), hold and pickup at another phone, etc. Shared Extensions are different... although there are a lot of similarities, and we may end up being able to use our SLA code to achieve Shared Extensions, it's not currently something we are working on. _______________________________________________ --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