Ryan R. Fligg
2004-Mar-03 10:01 UTC
[Asterisk-Users] Status Lights on Snom200 Phone Displaying the Status of PSTN Lines
Alright, this may seem like something relatively easy to do but I must be missing something or had a neuron misfire. I am trying to get The Status lights on my Snom200 hardphones to display the status of each one of my PSTN lines in my Asterisk server. Current Config: 3 X100P cards Asterisk CVS-02/25/04-18:06:52 5 Snom200 phones I am currently using the following macro to dial out with my extensions [macro-stdexten] exten => s,1,Dial(${ARG2},20,Ttr) ; Ring the interface, 20 seconds maximum exten => s,2,Voicemail2(u${ARG1}) ; If unavailable, send to voicemail w/ unavail announce exten => s,3,Goto(default,s,1) ; If they press #, return to start exten => s,102,Voicemail2(b${ARG1}) ; If busy, send to voicemail w/ busy announce exten => s,103,Goto(default,s,1) ; If they press #, return to start My extension can then use this as follows: exten => 202,1,Macro(stdexten,${USERVM},${USER}) I do not have an extension setup directly to dialout and I am thinking that this might be part of my problem. I would also like to know the status of certain extensions To see who is on the phone and who is not by looking at the soft key light on the Snom200. If anyone has any ideas, they would be greatly appreciated. Sincerely, Ryan R. Fligg Secured Digital Storage, Inc. 104 SW 4th St. Des Moines, IA 50309 Phone: (515)-244-6290 Cell: (720)-841-5802 Website: www.dstorage.com E-Mail: rfligg@dstorage.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040303/908e3437/attachment.htm
Andre Bierwirth
2004-Jun-22 04:23 UTC
[Asterisk-Users] Status Lights on Snom200 Phone Displaying the Status of PSTN Lines
Current Config: Asterisk CVS-04/01/03-05:52:52 3 SNOM 200's 1 SNOM 100 The Extension State Stuff exists in chan_sip !!!!! Sorry i have some Changes in the Asterisk Extension State Source because this i have never compiled a new Version. In the current Asterisk CVS Version the SNOM 200 show you only FREE and BUSY state, in my Version the Phone show the RINGING State,too. I have a Patch for Extension State RINGING but Mark have never applied it to CVS, i don't know why ?? In the next weeks i try to change my Asterisk Server to the current CVS Version. Then i send a new Patch for RINGING State, i hope this time Mark commit it to CVS. And i write a tutorial for SNOM200 Extension State in the next Weeks. My old message to Mark Spencer was: Date: 11.04.2003 If One or more Devices from a extension in Ringing state, the extension is handeled as Ringing. The "Ringing" state has priority before the "inuse" state. So a extension that is "inuse" and gets a second call the new state is "ringing" for the time between the call is taken or gone. Snom200 Config: Phone :: Settings :: Key Mapping P1: Line P2: Line P3: Line P4: Destination <sip:12@192.168.100.4> P5: Destination <sip:13@192.168.100.4> extensions.conf exten => 11,hint,SIP/11 ; Hints!! to Map the Asterisk Extension to a SIP Device Name exten => 11,1,Dial,SIP/11|30|t exten => 11,2,Dial,CAPI/0:b0610932839 exten => 11,3,Voicemail,u11 ; Send to voicemail... exten => 12,hint,SIP/12 exten => 12,1,Dial,${HINT}|30|t exten => 12,2,Voicemail,u12 ; Send to voicemail... exten => 13,hint,SIP/13 exten => 13,1,Dial,${HINT}|30|t exten => 13,2,Voicemail,u13 ; Send to voicemail... exten => 14,hint,SIP/14 exten => 14,1,Dial,${HINT}|30|mt exten => 14,2,Voicemail,u14 ; Send to voicemail... Andre ----- Original Message ----- From: Ryan R. Fligg To: asterisk-users@lists.digium.com Sent: Wednesday, March 03, 2004 7:01 PM Subject: [Asterisk-Users] Status Lights on Snom200 Phone Displaying the Status of PSTN Lines Alright, this may seem like something relatively easy to do but I must be missing something or had a neuron misfire. I am trying to get The Status lights on my Snom200 hardphones to display the status of each one of my PSTN lines in my Asterisk server. Current Config: 3 X100P cards Asterisk CVS-02/25/04-18:06:52 5 Snom200 phones I am currently using the following macro to dial out with my extensions [macro-stdexten] exten => s,1,Dial(${ARG2},20,Ttr) ; Ring the interface, 20 seconds maximum exten => s,2,Voicemail2(u${ARG1}) ; If unavailable, send to voicemail w/ unavail announce exten => s,3,Goto(default,s,1) ; If they press #, return to start exten => s,102,Voicemail2(b${ARG1}) ; If busy, send to voicemail w/ busy announce exten => s,103,Goto(default,s,1) ; If they press #, return to start My extension can then use this as follows: exten => 202,1,Macro(stdexten,${USERVM},${USER}) I do not have an extension setup directly to dialout and I am thinking that this might be part of my problem. I would also like to know the status of certain extensions To see who is on the phone and who is not by looking at the soft key light on the Snom200. If anyone has any ideas, they would be greatly appreciated. Sincerely, Ryan R. Fligg Secured Digital Storage, Inc. 104 SW 4th St. Des Moines, IA 50309 Phone: (515)-244-6290 Cell: (720)-841-5802 Website: www.dstorage.com E-Mail: rfligg@dstorage.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040622/0a8eaaf1/attachment.htm