[Asterisk-Users] SetVar - bellcode and cisco phone
Alfred R. Nurnberger
alfred at flosys.us
Tue May 25 16:32:57 MST 2004
The correct spelling of the string is BELLCORE - derived from the bellcore
telephony specifications.
-Alfred.
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Craig Waddington
Sent: Monday, May 24, 2004 4:59 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] SetVar - bellcode and cisco phone
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
More information about the asterisk-users
mailing list