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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060714/c0d142d9/attachment.htm
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/100&SIP/200 GROUP_B=SIP/150&SIP/200 and in your dial string exten => blah,1,Dial(${GROUP_A}) exten => moreblah,1,Dial(${GROUP_B}) Flynn
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 <el_flynn@lanvik-icu.com>
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/100&SIP/200
> GROUP_B=SIP/150&SIP/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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20060716/2a2a328c/attachment.htm
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