Reply To: Distinctive Ring Tones

VitalPBX Community Support General Discussion Distinctive Ring Tones Reply To: Distinctive Ring Tones

    mdmoore
    Participant
    Up
    0
    Down
    ::
    Did this work for you?  I am trying to change the ringtone for a Yealink T46S phone connected via pjsip.  The alert-info field in the GUI only seemed to generate a SipAddHeader – which would be great if I were using sip, but I am using pjsip.

    I went to add custom code to force this to work, but it doesn’t seem to be taking effect though:

    exten => _MYTESTDID,1,NoOp(INBOUND_ROUTE: CVTest DID – MYTESTDID)
        same => n,Set(CHANNEL(language)=en)
        same => n,Set(__INBOUND_LANGUAGE=en)
        same => n,Set(PJSIP_HEADER(add,Alert-Info)=info=alert-ring3);
        same => n,Gosub(sub-set-moh,s,1(default,YES))
        same => n,Gosub(sub-set-call-vars,s-incoming,1(${CALLERID(num)},${EXTEN},…56))
        same => n,Set(ICALL=yes)
        same => n,Goto(T8_cos-all,99,1)

     

    When I examine the SIP INVITE there is not alert info in the header 🙁

    If you might share your code for this or point out what my error is, I would be in your debt!

    Thanks,

    -Michael

     

    0