Re: [asterisk-users] SIP configuration by group

2006-07-16 Thread El Flynn

Sharon Lim wrote:

Hi there,

I would like to ask, is it possible to group sip user? Means group A with
sip user 100,200 and group B with sip user 100,200?

thanks in advance.



in your dialplan, define the following variables:

GROUP_A=SIP/100SIP/200
GROUP_B=SIP/150SIP/200

and in your dial string

exten = blah,1,Dial(${GROUP_A})
exten = moreblah,1,Dial(${GROUP_B})

Flynn


___
--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


Re: [asterisk-users] SIP configuration by group

2006-07-16 Thread Sharon Lim
hmm...the group functions is to dial all the sip account, right. assuming if the dial plan is like exten = blah,1,Dial(${GROUP_A})exten = moreblah,1,Dial(${GROUP_B})then it will dial sip100  sip200 at the same time right? But i want to group it as different company. Is it possible? 
Assuming, if 1 have 2 company and want to have same sip account context, how do i differentiate with it? Thanks in advance. On 7/17/06, El Flynn
 [EMAIL PROTECTED] wrote:
Sharon Lim wrote: Hi there, I would like to ask, is it possible to group sip user? Means group A with sip user 100,200 and group B with sip user 100,200? thanks in advance.
in your dialplan, define the following variables:GROUP_A=SIP/100SIP/200GROUP_B=SIP/150SIP/200and in your dial stringexten = blah,1,Dial(${GROUP_A})exten = moreblah,1,Dial(${GROUP_B})
Flynn___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
___
--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


Re: [asterisk-users] SIP configuration by group

2006-07-16 Thread Ira

At 06:25 PM 7/16/2006, you wrote:

exten = blah,1,Dial(${GROUP_A})
exten = moreblah,1,Dial(${GROUP_B})

then it will dial sip100  sip200 at the same time right? But i want 
to group it as different company. Is it possible?
Assuming, if 1 have 2 company and want to have same sip account 
context, how do i differentiate with it?


One of these for each business should help if you have callerID 
display on your phones.


exten = s,n,GoToIf($[${CALLERID(Name)} = ]?noCID:prefixCID)
exten = s,n(prefixCID),Set(CALLERID(Name)=B1_${CALLERID(Name)})
exten = s,n,goto(doneCID)
exten = s,n(noCID),Set(CALLERID(Name)=Business1)
exten = s,n,goto(answercall)

Ira 


___
--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