[Asterisk-Users] SetVar - bellcode and cisco phone

Craig Waddington craig at xmbsystems.com
Mon May 24 04:58:33 MST 2004


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040524/d74529a3/attachment.htm


More information about the asterisk-users mailing list