[asterisk-users] SIP configuration by group

Ira ira at extrasensory.com
Sun Jul 16 20:26:51 MST 2006


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 




More information about the asterisk-users mailing list