[Asterisk-Users] Snom phone hint exten question

Hecken, Guido guido.hecken at gwsnettech.de
Wed Feb 23 22:10:17 MST 2005


exten => 691,hint,SIP/691
should do the job. I've got it working with SNOM 190 Phones and actual
CVS-HEAD.
Perhaps there is a problem using the callerid instead of the extension in
the hint?!

Hope, it helps...

> -----Ursprüngliche Nachricht-----
> Von: James Bean [mailto:james at hdcs.com.au]
> Gesendet: Donnerstag, 24. Februar 2005 05:13
> An: Asterisk Users Mailing List - Non-Commercial Discussion
> Betreff: RE: [Asterisk-Users] Snom phone hint exten question
> 
> > James,
> >
> > Are watching the SIP Messaging?  SIP Trace on the phone and
> > sip debug... on the Asterisk box?
> >
> > The Asterisk should be sending a NOTIFY to the Snom when that
> > hint line is hit.  If you see it in Asterisk, verify that you
> > received it on the SIP Trace page of the Snom.
> >
> > When rebooted, the Snom will send a SUBSCRIBE for that button
> > but Asterisk will probably not do anything with it.
> >
> > Have fun,
> > Shanon
> 
> Thanks for the info Shanon, I do apologise I don't know 100% what I am
> looking at but will give it my best shot.
> 
> I powered the snom off and on again and with sip debug enabled on * and
> cleared out sip trace on the snom.
> 
> The login was pretty normal with a couple of pages of standard
> negotiating going on, the snom phone in SIP Trace did notify * that it
> had a hint button for the other extension (691), as attached below.
> 
> I have also attached the [sip] seciotn of extensions.conf where the
> hints are.
> 
> When I went to extension 691 and dialed an external call the * box did
> not send a hint/notify to the snom that 691 was in use. I checked backed
> through the debug and all the logs were specifically or the call that
> 691 was making out zap, so the problems seems to be * nto sending the
> hint to the snom phone.
> 
> Any input on this would be very much appreciated.
> 
> The one thing I have not tried is doing the hint as
> 
> exten => 691,hint,691 ???????????
> 
> James Bean
> 
> ------------
> Snom phone SIP Trace
> 
> NOTIFY sip:snom-james at 192.168.69.1 SIP/2.0
> Via: SIP/2.0/UDP 192.168.69.1:5060;branch=z9hG4bK72930751
> From: <sip:691 at 192.168.69.1;user=phone>;tag=as7d00d305
> To: <sip:snom-james at 192.168.69.1>;tag=1dz3l0jjq0
> Contact: <sip:691 at 192.168.69.1>
> Call-ID: 3c26700b99cf-um84amx9e1pe at 192-168-69-250
> CSeq: 102 NOTIFY
> User-Agent: Asterisk PBX
> Event: dialog
> Content-Type: application/dialog-info+xml
> Content-Length: 210
> 
> <?xml version="1.0"?>
> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0"
> state="full" entity="sip:snom-james at 192.168.69.1">
> <dialog id="691">
> <state>terminated</state>
> </dialog>
> </dialog-info>
> ------------
> * sip debug
> 
> Scheduling destruction of call
> '3c26700b99cf-um84amx9e1pe at 192-168-69-250' in 3610000 ms
> Reliably Transmitting:
> NOTIFY sip:snom-james at 192.168.69.1 SIP/2.0
> Via: SIP/2.0/UDP 192.168.69.1:5060;branch=z9hG4bK72930751
> From: <sip:691 at 192.168.69.1;user=phone>;tag=as7d00d305
> To: <sip:snom-james at 192.168.69.1>;tag=1dz3l0jjq0
> Contact: <sip:691 at 192.168.69.1>
> Call-ID: 3c26700b99cf-um84amx9e1pe at 192-168-69-250
> CSeq: 102 NOTIFY
> User-Agent: Asterisk PBX
> Event: dialog
> Content-Type: application/dialog-info+xml
> Content-Length: 210
> 
> <?xml version="1.0"?>
> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0"
> state="full" entity="sip:snom-james at 192.168.69.1">
> <dialog id="691">
> <state>terminated</state>
> </dialog>
> </dialog-info>
>  (no NAT) to 192.168.69.250:5060
> 
> -----------
> Extensions.conf [sip] section
> 
> [sip]
> 
> exten => 690,hint,SIP/snom-james
> exten => 691,hint,SIP/bt-karen
> 
> exten => 690,1,SetMusicOnHold(random)
> exten => 690,2,Dial(SIP/snom-james,30,Ttr)
> exten => 690,3,Voicemail2,u690
> exten => 690,103,Voicemail2,b690
> 
> exten => 691,1,SetMusicOnHold(random)
> exten => 691,2,Dial(SIP/bt-karen,30,Ttr)
> exten => 691,3,Voicemail,u691
> exten => 691,103,Voicemail,b691
> 
> include => internal
> include => outgoing
> include => parkedcalls
> 
> -----------
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list