Distinctive Rings SPA942

For those of you that are ripping their hair out trying to find a solution to get distinctive rings to work; I have found a solution to this. Since our site is using a ring group that the IVR dials, we are to add a SIP header before the group is dialed. View the following. Again, we are using SPA942’s, for others, this may be different:

exten = s,1,NoOp(Upstairs) <--------- This is just the name of the Ring Group
exten = s,2,SIPAddHeader(Alert-Info:Classic-1) <----------- This is what is needed for the header for the Ring on the phone
exten = s,n,Dial(SIP/296&SIP/200&SIP/201&SIP/250&SIP/251&SIP/252&SIP/253&SIP/254,20,${DIALOPTIONS}i) <-- Dial
exten = s,n,Goto(default,200,1) <—If no one answers, go to extension 200

Others will use:

exten = s,2,SIPAddHeader(Alert-Info:Name of ring)

In their incoming call context. In this instance, our IVR dials the phones, in which we need the ring groups to be set with the SIP Header.