RE: [Asterisk-Users] hints and the sNOM 360

2005-09-23 Thread asterisk-Users
Hi Paul

It's working for me ! (CVS-HEAD 1.0.9 FC3)

I'm using the snom 360IP with firmware 4.2
http://www.snom.com/download/snom360-4.2-SIP-j.bin

In my extensions.conf I have:

exten = 100,hint,SIP/100 ; SIP Phone 100
exten = 101,hint,SIP/101 ; SIP Phone 101
exten = 102,hint,SIP/102 ; SIP Phone 102

On my phone I used the same setup as You.

A good hint is: Be patient. It often takes up to 5 min. before it starts
working for me.

Normally I start *, start snom, start other phones.

Hope this is of any use !

Reg. BennyB

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Hewlett
Sent: 19. september 2005 18:49
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] hints and the sNOM 360

Hi 

   I am trying to get a SNOM 360 to monitor other extensions i.e. when
someone 
makes a call to/from another extension, one of the LED's on the SNOM 360
will 
change state. I am using 1.0.9/bristuff-8l.

   I have 2 extensions - 2001 is a SNOM 190, 2002 is a 360 - both are
running 
the latest firmware. (3.60i for 190, 4.0 for 360). I have read all the 
relevant articles on the wiki on 'hints' and also on the 'devstate' app.

   I set the first function key on the 360 to extension 2001 - this
transforms 
itself into sip:[EMAIL PROTECTED];user=phone when I save it. The function key 
type is set to 'Destination' as recommended by a number of articles on the 
Wiki. 

aside
This seems to contradict the 360 manual which states that the function key 
type should be set to 'Line'. /aside

In the dialplan I put

[myhints]
exten = 2001,hint,sip/2001
exten = 2001,1,macro(stdexten,sip/2001)
exten = 2001,2,hangup

In sip.conf I have

[2001]
type=friend
username=2001
subscribecontext=myhints
host=dynamic
mailbox=2001
callerid=ext 2001
incominglimit=1

[2002]
type=friend
username=2002
subscribecontext=myhints
host=dynamic
mailbox=2001
callerid=SNOM360 2002

I restart asterisk from scratch and then reboot the 360. The * console
shows one entry when typing the command 'sip show subscriptions' which looks

correct. Inspection of the sip trace log on the 360's web page reveals that 
the registration  succeeds and that the subscription of the 2001 from the
360 
also gets a 200 OK reply. However when I dial into extension 2001 nothing 
happens to the led's on the 360. Inspection of the 'sip trace log' on the 
360's web page reveals that it does not receive any NOTIFY from asterisk.

I am at my wits end - anybody got any ideas ?

Paul HE
~
-- 
Paul Hewlett - CottonPickinMinds - www.cottonpickinminds.co.za
Tel: +27 21 852 8812  Cel: +27 84 420 9282  Fax: +27 86 672 0563
-- 
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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




___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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


RE: [Asterisk-Users] hints and the sNOM 360

2005-09-22 Thread Shanon Swafford
Oh yeah,

And:
 Turn OFF Filter Packets from Registrar.
 Turn ON  Support Broken Registrar.

This may or may not be a security risk, but for testing, it will help to see if 
toggling these make a difference.

Shanon

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shanon Swafford
Sent: Thursday, September 22, 2005 12:36 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] hints and the sNOM 360



SIP Message Reference:

# Reboot Phone which is 2000 monitoring 2001s state:
UA--- SUBSCRIBE ---Asterisk
UA---   200 OK  ---Asterisk
# Asterisk saves subscription:
# Wait for a call:
# Call Comes to 2001:
# Asterisk should realize somehow that it needs to NOTIFY 2000 about the call.
UA---   NOTIFY  ---Asterisk
UA---   200 OK  ---Asterisk
# Phone light flashes
# 2001 Answers call
UA---   NOTIFY  ---Asterisk
UA---   200 OK  ---Asterisk
# Phone LED goes steady

# Then another NOTIFY to turn off the LED when the call is over. # This works 
on my Snom 4S SIP Proxy.

I don't know much about the Asterisk side, but I do know that the monitoring 
phone should receive a NOTIFY when the monitored phone
is called.  Until Asterisk sends the NOTIFY, it won't work.

If you watch the sip debug output on *, does it show * sending a NOTIFY when 
the call is made?  Is it to the correct IP and PORT
that the phone is listening on?  This might NOT be 5060.

If not, the new question is why:)

You try to register your phone to 2001@ip_of_asterisk instead of asterisk.  
Maybe * acts different that way.  If you do this,
make sure to redo your destination so that the phone will auto fill [EMAIL 
PROTECTED] rather than keeping the existing
[EMAIL PROTECTED]

Last, see this message from Monday: 
http://lists.digium.com/pipermail/asterisk-users/2005-September/126034.html
Is that a coincedence?

Shanon
ABP Technology

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Hewlett
Sent: Monday, September 19, 2005 11:49 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] hints and the sNOM 360


Hi 

   I am trying to get a SNOM 360 to monitor other extensions i.e. when someone 
makes a call to/from another extension, one of the LED's on the SNOM 360 will 
change state. I am using 1.0.9/bristuff-8l.

   I have 2 extensions - 2001 is a SNOM 190, 2002 is a 360 - both are running 
the latest firmware. (3.60i for 190, 4.0 for 360). I have read all the 
relevant articles on the wiki on 'hints' and also on the 'devstate' app.

   I set the first function key on the 360 to extension 2001 - this transforms 
itself into sip:[EMAIL PROTECTED];user=phone when I save it. The function key 
type is set to 'Destination' as recommended by a number of articles on the 
Wiki. 

aside
This seems to contradict the 360 manual which states that the function key 
type should be set to 'Line'. /aside

In the dialplan I put

[myhints]
exten = 2001,hint,sip/2001
exten = 2001,1,macro(stdexten,sip/2001)
exten = 2001,2,hangup

In sip.conf I have

[2001]
type=friend
username=2001
subscribecontext=myhints
host=dynamic
mailbox=2001
callerid=ext 2001
incominglimit=1

[2002]
type=friend
username=2002
subscribecontext=myhints
host=dynamic
mailbox=2001
callerid=SNOM360 2002

I restart asterisk from scratch and then reboot the 360. The * console shows 
one entry when typing the command 'sip show
subscriptions' which looks 
correct. Inspection of the sip trace log on the 360's web page reveals that 
the registration  succeeds and that the subscription of the 2001 from the 360 
also gets a 200 OK reply. However when I dial into extension 2001 nothing 
happens to the led's on the 360. Inspection of the 'sip trace log' on the 
360's web page reveals that it does not receive any NOTIFY from asterisk.

I am at my wits end - anybody got any ideas ?

Paul HE
~
-- 
Paul Hewlett - CottonPickinMinds - www.cottonpickinminds.co.za
Tel: +27 21 852 8812  Cel: +27 84 420 9282  Fax: +27 86 672 0563
-- 
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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] hints and the sNOM 360

2005-09-21 Thread Paul Hewlett
Hi 

   I am trying to get a SNOM 360 to monitor other extensions i.e. when someone 
makes a call to/from another extension, one of the LED's on the SNOM 360 will 
change state. I am using 1.0.9/bristuff-8l.

   I have 2 extensions - 2001 is a SNOM 190, 2002 is a 360 - both are running 
the latest firmware. (3.60i for 190, 4.0 for 360). I have read all the 
relevant articles on the wiki on 'hints' and also on the 'devstate' app.

   I set the first function key on the 360 to extension 2001 - this transforms 
itself into sip:[EMAIL PROTECTED];user=phone when I save it. The function key 
type is set to 'Destination' as recommended by a number of articles on the 
Wiki. 

aside
This seems to contradict the 360 manual which states that the function key 
type should be set to 'Line'. /aside

In the dialplan I put

[myhints]
exten = 2001,hint,sip/2001
exten = 2001,1,macro(stdexten,sip/2001)
exten = 2001,2,hangup

In sip.conf I have

[2001]
type=friend
username=2001
subscribecontext=myhints
host=dynamic
mailbox=2001
callerid=ext 2001
incominglimit=1

[2002]
type=friend
username=2002
subscribecontext=myhints
host=dynamic
mailbox=2001
callerid=SNOM360 2002

I restart asterisk from scratch and then reboot the 360. The * console
shows one entry when typing the command 'sip show subscriptions' which looks 
correct. Inspection of the sip trace log on the 360's web page reveals that 
the registration  succeeds and that the subscription of the 2001 from the 360 
also gets a 200 OK reply. However when I dial into extension 2001 nothing 
happens to the led's on the 360. Inspection of the 'sip trace log' on the 
360's web page reveals that it does not receive any NOTIFY from asterisk.

I am at my wits end - anybody got any ideas ?

Paul HE
~
-- 
Paul Hewlett - CottonPickinMinds - www.cottonpickinminds.co.za
Tel: +27 21 852 8812  Cel: +27 84 420 9282  Fax: +27 86 672 0563
-- 
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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


RE: [Asterisk-Users] hints and the sNOM 360

2005-09-21 Thread Shanon Swafford

SIP Message Reference:

# Reboot Phone which is 2000 monitoring 2001s state:
UA--- SUBSCRIBE ---Asterisk
UA---   200 OK  ---Asterisk
# Asterisk saves subscription:
# Wait for a call:
# Call Comes to 2001:
# Asterisk should realize somehow that it needs to NOTIFY 2000 about the call.
UA---   NOTIFY  ---Asterisk
UA---   200 OK  ---Asterisk
# Phone light flashes
# 2001 Answers call
UA---   NOTIFY  ---Asterisk
UA---   200 OK  ---Asterisk
# Phone LED goes steady

# Then another NOTIFY to turn off the LED when the call is over.
# This works on my Snom 4S SIP Proxy.

I don't know much about the Asterisk side, but I do know that the monitoring 
phone should receive a NOTIFY when the monitored phone
is called.  Until Asterisk sends the NOTIFY, it won't work.

If you watch the sip debug output on *, does it show * sending a NOTIFY when 
the call is made?  Is it to the correct IP and PORT
that the phone is listening on?  This might NOT be 5060.

If not, the new question is why:)

You try to register your phone to 2001@ip_of_asterisk instead of asterisk.  
Maybe * acts different that way.  If you do this,
make sure to redo your destination so that the phone will auto fill [EMAIL 
PROTECTED] rather than keeping the existing
[EMAIL PROTECTED]

Last, see this message from Monday:
http://lists.digium.com/pipermail/asterisk-users/2005-September/126034.html
Is that a coincedence?

Shanon
ABP Technology

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Hewlett
Sent: Monday, September 19, 2005 11:49 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] hints and the sNOM 360


Hi 

   I am trying to get a SNOM 360 to monitor other extensions i.e. when someone 
makes a call to/from another extension, one of the LED's on the SNOM 360 will 
change state. I am using 1.0.9/bristuff-8l.

   I have 2 extensions - 2001 is a SNOM 190, 2002 is a 360 - both are running 
the latest firmware. (3.60i for 190, 4.0 for 360). I have read all the 
relevant articles on the wiki on 'hints' and also on the 'devstate' app.

   I set the first function key on the 360 to extension 2001 - this transforms 
itself into sip:[EMAIL PROTECTED];user=phone when I save it. The function key 
type is set to 'Destination' as recommended by a number of articles on the 
Wiki. 

aside
This seems to contradict the 360 manual which states that the function key 
type should be set to 'Line'. /aside

In the dialplan I put

[myhints]
exten = 2001,hint,sip/2001
exten = 2001,1,macro(stdexten,sip/2001)
exten = 2001,2,hangup

In sip.conf I have

[2001]
type=friend
username=2001
subscribecontext=myhints
host=dynamic
mailbox=2001
callerid=ext 2001
incominglimit=1

[2002]
type=friend
username=2002
subscribecontext=myhints
host=dynamic
mailbox=2001
callerid=SNOM360 2002

I restart asterisk from scratch and then reboot the 360. The * console shows 
one entry when typing the command 'sip show
subscriptions' which looks 
correct. Inspection of the sip trace log on the 360's web page reveals that 
the registration  succeeds and that the subscription of the 2001 from the 360 
also gets a 200 OK reply. However when I dial into extension 2001 nothing 
happens to the led's on the 360. Inspection of the 'sip trace log' on the 
360's web page reveals that it does not receive any NOTIFY from asterisk.

I am at my wits end - anybody got any ideas ?

Paul HE
~
-- 
Paul Hewlett - CottonPickinMinds - www.cottonpickinminds.co.za
Tel: +27 21 852 8812  Cel: +27 84 420 9282  Fax: +27 86 672 0563
-- 
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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