I find that this causes me all sorts of woes in a rather sneaky fashion. Pretty much to the point where I can’t use it.
; silent ring line keys (SANYO SIP-PHONEs)
exten = 500,1,NoOp(5f)
exten = 500,n,Set(DIALGROUP(5f,add)=SIP/500@phone-512.office)
exten = 500,n,Set(DIALGROUP(5f,add)=SIP/500@phone-513.office)
exten = 500,n,Set(DIALGROUP(5f,add)=SIP/500@phone-521.office)
exten = 500,n,Set(DIALGROUP(5f,add)=SIP/500@phone-522.office)
exten = 500,n,Dial(${DIALGROUP(5f)},ikKtT)
exten = 500,n,Hangup
Why?
Because it never forgets.
In this case, every time I dial extension 500, it would add these 4 extensions again.
show database:
…
/dialgroup/5f : SIP/500@phone-521.office&SIP/500@phone-521.office&SIP/500@phone-512.office&SIP/5
phone-512.office&SIP/500@phone-513.office&SIP/500@phone-522.office&SIP/500@phone-522.office
dial 500, see a pile of errors about “Skipping dialing interface … again …”
show database:
/dialgroup/5f : SIP/500@phone-521.office&SIP/500@phone-521.office&SIP/500@phone-521.office&SIP/5
phone-513.office&SIP/500@phone-512.office&SIP/500@phone-513.office&SIP/500@phone-512.office&SIP/500@phone-513.office&SIP/500@phone-5
office&SIP/500@phone-522.office
Clearly I am doing something wrong, would someone be so kind as to point me in the right direction as to how to do this?
Should I define extension 500 somewhere that only gets visited once, and then have just
exten = 500,s,Dial(${DIALGROUP(5f)},ikKtT)
exten = 500,n,Hangup