Greetings to all, I am trying to get the line lights on a SNOM 320 to work using 'hint' in extensions.conf. Unfortunately I have not been able to get it to work properly. Does anyone know for sure if the hint function works properly in 1.0.9? If anyone has gotten this to work properly under 1.0.9 please post a sample. I am using: Exten => xxx,hint,sip/xxx Extension no. and sip channel are the same. On the SNOM I have Destination chosen, and the extension on asterisk. Maybe output the output from the command 'sip show subscriptions' would also be nice. Regards, Joe
>From memory (at a previous installation) you will need a newer version ofAsterisk than 1.09 for the lights to work. PaulH ----- Original Message ----- From: "Joseph Rothstein" <jrothstein@comcentrixs.com> To: <asterisk-users@lists.digium.com> Sent: Tuesday, November 29, 2005 8:32 AM Subject: [Asterisk-Users] SNOM and 1.0.9> Greetings to all, > > I am trying to get the line lights on a SNOM 320 to work using 'hint' in > extensions.conf. Unfortunately I have not been able to get it to work > properly. > > Does anyone know for sure if the hint function works properly in 1.0.9? > > If anyone has gotten this to work properly under 1.0.9 please post asample.> > I am using: > > Exten => xxx,hint,sip/xxx > > Extension no. and sip channel are the same. > > On the SNOM I have Destination chosen, and the extension on asterisk. > > Maybe output the output from the command 'sip show subscriptions' wouldalso> be nice. > > Regards, > Joe > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Joseph Rothstein wrote:>Greetings to all, > >I am trying to get the line lights on a SNOM 320 to work using 'hint' in >extensions.conf. Unfortunately I have not been able to get it to work >properly. > >Does anyone know for sure if the hint function works properly in 1.0.9? > >If anyone has gotten this to work properly under 1.0.9 please post a sample. > >I am using: > >Exten => xxx,hint,sip/xxx > >Extension no. and sip channel are the same. > >On the SNOM I have Destination chosen, and the extension on asterisk. > >Maybe output the output from the command 'sip show subscriptions' would also >be nice. > >Regards, >Joe > > > >I can't tell you if it works in 1.0.9 as I've only used hints in 1.2 iterations (beta, rc, final), but, my hints have the channel type in upper case: exten => 509,hint,SIP/509. Don't know if your extract is direct from your dial plan or just the way you typed it in the email. If it is lower case in your dial plan try changing it. In 1.2 there is a CLI command 'show hints', but I don't believe that exists pre 1.2. Cheers, Kevin -- Optimacy Communications, LLC http://www.optimacycomm.com
On 08:48, Tue 29 Nov 05, pdhales@optusnet.com.au wrote:> >From memory (at a previous installation) you will need a newer version of > Asterisk than 1.09 for the lights to work.on 1.0.9 the lights work. In this way: person is on the phone: light is on Person is not on the phone: light is off since 1.2 the lights will blink when the phone is running and above states work the same. -- Michiel van Baak http://michiel.vanbaak.info michiel@vanbaak.info GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D "Why is it drug addicts and computer afficionados are both called users?"
> On 08:48, Tue 29 Nov 05, pdhales@optusnet.com.au wrote: >> >From memory (at a previous installation) you will need a newer version >> >of >> Asterisk than 1.09 for the lights to work. > > on 1.0.9 the lights work. > In this way: > person is on the phone: light is on > Person is not on the phone: light is off > > since 1.2 the lights will blink when the phone is running > and above states work the same.Running? Is that a 3. state? Leif
I still cannot get this to work on 1.0.9. I am trying to test with two extensions: Here is the config I am using: exten => 451,hint,sip/451 exten => 451,1,Dial(SIP/451,20,tr) exten => 451,2,Voicemail(b451@other) exten => 451,102,Voicemail(u451@other) exten => 453,hint,sip/453 exten => 453,1,Dial(SIP/453,20,tr) exten => 453,2,Voicemail(b453@other) exten => 453,102,Voicemail(u453@other) On the SNOM, the SIP trace shows the initial subscription: NOTIFY sip:320@xxx.xxx.xxx.xxx SIP/2.0 Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK13ea176f From: <sip:453@xxx.xxx.xxx.xxx;user=phone>;tag=as77402d3b To: <sip:320@xxx.xxx.xxx.xxx>;tag=c0av8f2x4v Contact: <sip:453@xxx.xxx.xxx.xxx> Call-ID: 3c26700c30d4-libo7sf1rff7@snom320 CSeq: 102 NOTIFY User-Agent: Asterisk PBX Event: dialog Content-Type: application/dialog-info+xml Content-Length: 203 <?xml version="1.0"?> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="sip:320@xxx.xxx.xxx.xxx"> <dialog id="453"> <state>terminated</state> </dialog> </dialog-info> The SNOM shows the light off for this extension. This is a hardphone, and is always registered. NOTIFY sip:320@195.27.242.8 SIP/2.0 Via: SIP/2.0/UDP 195.27.242.8:5060;branch=z9hG4bK258fb569 From: <sip:451@195.27.242.8;user=phone>;tag=as26ba79ca To: <sip:320@195.27.242.8>;tag=8ioo4i3sp7 Contact: <sip:451@195.27.242.8> Call-ID: 3c26700c2bf2-wfqpeg34g7az@snom320 CSeq: 102 NOTIFY User-Agent: Asterisk PBX Event: dialog Content-Type: application/dialog-info+xml Content-Length: 202 <?xml version="1.0"?> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="sip:320@195.27.242.8"> <dialog id="451"> <state>confirmed</state> </dialog> </dialog-info> This is a softphone that is not registered, and the light on the keyboard is on. Light is one unavailable, light is off available. When I make a call from extension 453, and am on the phone, nothing is sent to the SNOM. I see no SIP packets leaving Asterisk either. This is what Asterisk shows: asterisk_test*CLI> sip show subscriptions Peer User Call ID URI 195.27.242.113 320 3c26700c30d4-libo7sf1 195.27.242.113 320 3c26700c2bf2-wfqpeg34 0 active SIP subscriptions(s) asterisk_test*CLI> If anyone has any additional ideas, or a snippet of config that works, please post it. I will try to upgrade to 1.2 and see how this works. Thanks, Joe
I have successfully upgraded to 1.2, but there is no change at all. Asterisk sees the subscriptions fine: asterisk_test*CLI> sip show subscriptions Peer User Call ID Extension Last state Type 195.27.242.113 320 3c26700c2e6 453 Idle dialog-info+xml 195.27.242.113 320 3c26700c2bf 451 Idle dialog-info+xml 2 active SIP subscriptions asterisk_test*CLI> But does not send a message when the extensions are busy, or when ringing. When the SNOM starts, it queries Asterisk, but there seems to be no subsequent SIP packets. Any more ideas? Thanks, Joe
Hi!> I still cannot get this to work on 1.0.9. > > exten => 451,hint,sip/451* Try "hint,SIP/451" instead of "hint,sip/451". The bugtracker has an open ticket on case-sensitivity of the hint priority. * Make sure that in the advanced settings your SNOM is set to not "filter packets from registrar" Cheers, Philipp