[Asterisk-Users] RE: +AFs-Asterisk-Users+AF0- Multi-line, multi-registration phones

Sean Garland sean at siskiyoutech.com
Tue Dec 30 16:00:45 MST 2003


Okay, so like this?

PHONE1+AD0-SIP/2000
PHONE2+AD0-SIP/3000
PHONE3+AD0-SIP/4000
ALL+AD0AJAB7-PHONE1+AH0AJgAkAHs-PHONE2+AH0AJgAkAHs-PHONE3+AH0- 

Then you would have 

Exten +AD0APg- s,1,Dial(+ACQAew-ALL+AH0-,20)

Is that right?

I have read about the Macros but don't understand their use.  Could
someone provide an example? 

Sorry about the newby questions...  This will hopefully be my production
phone system soon.  Thanks
Sean Garland
sean+AEA-siskiyoutech.com

-----Original Message-----
From: Steven Critchfield +AFs-mailto:critch+AEA-basesys.com+AF0- 
Sent: Tuesday, December 30, 2003 1:19 PM
To: asterisk-users+AEA-lists.digium.com
Subject: Re: +AFs-Asterisk-Users+AF0- Multi-line, multi-registration phones

On Tue, 2003-12-30 at 14:29, Sean Garland wrote:
+AD4- I have hard phones that are capable of handling three calls at once. 
+AD4- That is setup (apparently) through multiple registrations.  My 
+AD4- question is has anyone done this and what is the proper way of doing 
+AD4- it?  Do I have to setup (for 2 phones that have three lines) 6 
+AD4- sections in my sip.conf and setup 6 extensions to handle the 
+AD4- registrations?
+AD4- 
+AD4- Also, if I found by searching the web sample code for making both sip 
+AD4- extensions ring when a call comes in, but what if I had 100 
+AD4- extensions?  Seems like the string would get pretty long, is there a 
+AD4- way to put all extensions in a single group and ring the group?
+AD4- 
+AD4- All kinda is the same question.  But thanks for the answer anyway...

This is where variables come in handy, and also macros. For example, I
just put several new variables into my extensions.conf file to deal with
the changing nature of our dialplan. I defined a variable for each user
that we have, and I created a ALL variable that strings all the users
together. You could also make variables for all the users in certain
departments, and then your ALL variable could then just include your
department variables. 

The benefit of the variables is just that you can change it in one
location and it ripples through all the other definitions.

As for the multiple call appearances in SIP, I don't know how to deal
with that. 
--
Steven Critchfield  +ADw-critch+AEA-basesys.com+AD4-

+AF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXw-
Asterisk-Users mailing list
Asterisk-Users+AEA-lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list