I am trying to have the ring types different for internal and external incoming calls.

 

I have followed the guide on the wiki, the SetVar executes, in extensions.conf  I have it as s,1,

 

Yet it doesn’t work?

 

When the phone rings, the  ring type is the one I chose on the phone, it rings same tone for both when I test.

 

Using Asterisk Stable.

 

Anyone got this working and can point me in the right direction?

 

Ouput of both internal and external incoming calls.

 

-- Executing Macro("SIP/20-5722", "stdexten|SIP/22") in new stack

    -- Executing SetVar("SIP/20-5722", "ALERT_INFO=Bellcode-dr2") in new stack

    -- Executing Dial("SIP/20-5722", "SIP/22|25|tr") in new stack

    -- Called 22

    -- SIP/22-080c is ringing

  == Spawn extension (macro-stdexten, s, 2) exited non-zero on 'SIP/20-5722' in macro 'stdexten'

  == Spawn extension (sip, 22, 1) exited non-zero on 'SIP/20-5722'

 

    -- Executing SetVar("CAPI[contr1/s]/0", "ALERT_INFO=Bellcode-dr5") in new stack

    -- Executing Dial("CAPI[contr1/s]/0", "SIP/22|35|t") in new stack

    -- Called 22

    -- started pbx on channel (callgroup=2)!

    -- SIP/22-e97c is ringing

  == Spawn extension (incoming, s, 2) exited non-zero on 'CAPI[contr1/s]/0'

    -- CAPI Hangingup

Reply via email to