RE: [Asterisk-Users] Snom phone hint exten question

2005-03-01 Thread Shanon Swafford

Asterisk should also tell the phone to turn off the light with a Notify
Message.

Flow should be:

Bootup:
Snom-*  -  SUBSCRIBE
*-Snom  -  200 OK (Subscribe)

Call hits the hint:
*-Snom  -  NOTIFY(look at the XML in the Message)
Snom-*  -  200 OK (Notify)

Stuff happens or call is over:
*-Snom  -  NOTIFY(look at the XML in the Message)
Snom-*  -  200 OK (Notify)

If the phone is never told to turn it's light off, it won't.





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of James Bean
Sent: Wednesday, February 23, 2005 11:44 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Snom phone hint exten question



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Hecken, Guido
 Sent: Thursday, 24 February 2005 3:10 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: RE: [Asterisk-Users] Snom phone hint exten question

 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...


Wooppss, I need to take that last one back.

On the snom190 the light is on solid now, whether or not the line is in
use.

Rebooting the snom doesn't change things.

I also attempted using

exten = 691,hint,691

No change.

James
___
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


___
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] Snom phone hint exten question

2005-02-23 Thread Shanon Swafford
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




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of James Bean
Sent: Monday, February 21, 2005 07:17 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Snom phone hint exten question



  I am going to now sit in a corner and go quietly insane
 while playing
  the banyo with no strings.
 
  Still doesn't work, I dialed in an outside line and picked up the
  receive on extension 691, yet the light on the snom phone
 did not come
  on. I dialed out of extension 691 to an outside line, yet still the
  light did not come on.
 
  Snom190 has firmware 3.56m the button is set to Destination 691

 Hi James,

 I am using the latest CSV-HEAD of *, I do not think it works
 with * stable.

 Thorben


Just downloaded the latest cvs 21/2/05 and compiled and installed it.

Still nothing, the led's work on the snom but naybe its just buggered,
*sigh*

James
___
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


___
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] Snom phone hint exten question

2005-02-23 Thread James Bean
 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:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 192.168.69.1:5060;branch=z9hG4bK72930751
From: sip:[EMAIL PROTECTED];user=phone;tag=as7d00d305
To: sip:[EMAIL PROTECTED];tag=1dz3l0jjq0
Contact: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]
dialog id=691
stateterminated/state
/dialog
/dialog-info

* sip debug

Scheduling destruction of call
'[EMAIL PROTECTED]' in 361 ms
Reliably Transmitting:
NOTIFY sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 192.168.69.1:5060;branch=z9hG4bK72930751
From: sip:[EMAIL PROTECTED];user=phone;tag=as7d00d305
To: sip:[EMAIL PROTECTED];tag=1dz3l0jjq0
Contact: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]
dialog id=691
stateterminated/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@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] Snom phone hint exten question

2005-02-23 Thread Hecken, Guido
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:[EMAIL PROTECTED]
 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:[EMAIL PROTECTED] SIP/2.0
 Via: SIP/2.0/UDP 192.168.69.1:5060;branch=z9hG4bK72930751
 From: sip:[EMAIL PROTECTED];user=phone;tag=as7d00d305
 To: sip:[EMAIL PROTECTED];tag=1dz3l0jjq0
 Contact: sip:[EMAIL PROTECTED]
 Call-ID: [EMAIL PROTECTED]
 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:[EMAIL PROTECTED]
 dialog id=691
 stateterminated/state
 /dialog
 /dialog-info
 
 * sip debug
 
 Scheduling destruction of call
 '[EMAIL PROTECTED]' in 361 ms
 Reliably Transmitting:
 NOTIFY sip:[EMAIL PROTECTED] SIP/2.0
 Via: SIP/2.0/UDP 192.168.69.1:5060;branch=z9hG4bK72930751
 From: sip:[EMAIL PROTECTED];user=phone;tag=as7d00d305
 To: sip:[EMAIL PROTECTED];tag=1dz3l0jjq0
 Contact: sip:[EMAIL PROTECTED]
 Call-ID: [EMAIL PROTECTED]
 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:[EMAIL PROTECTED]
 dialog id=691
 stateterminated/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@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
___
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] Snom phone hint exten question

2005-02-23 Thread James Bean
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Hecken, Guido
 Sent: Thursday, 24 February 2005 3:10 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: RE: [Asterisk-Users] Snom phone hint exten question
 
 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...
 

Woohoo, it works now :-)...

Thank you very much, its weird that it requires that formating for the
extension to do the hint, but thank you none the less.

:-)

James
___
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] Snom phone hint exten question

2005-02-23 Thread James Bean

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Hecken, Guido
 Sent: Thursday, 24 February 2005 3:10 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: RE: [Asterisk-Users] Snom phone hint exten question
 
 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...
 

Wooppss, I need to take that last one back.

On the snom190 the light is on solid now, whether or not the line is in
use.

Rebooting the snom doesn't change things.

I also attempted using

exten = 691,hint,691

No change.

James
___
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


SV: [Asterisk-Users] Snom phone hint exten question

2005-02-21 Thread Thorben Jensen
 
 I haven't used it in a while, but I had to put subscribecontext=sip
 for the phone's (in your case the snom) sip entry.
 
 This seems like it has been removed from the wiki.  Has it changed or
 is this incorrect?


Hi James,

I have just found out that all you need to do is make the hint in the
context where the phone registers. That means that all you need to do is put
'690,hint,SIP/bt-karen' in your [sip] context, nothing else and it should
work. Remember to take the power from the phone for a short while after you
have configured this, otherwise it won't work.

thorben

___
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] Snom phone hint exten question

2005-02-21 Thread James Bean
  
  I haven't used it in a while, but I had to put subscribecontext=sip 
  for the phone's (in your case the snom) sip entry.
  
  This seems like it has been removed from the wiki.  Has it 
 changed or 
  is this incorrect?
 
 
 Hi James,
 
 I have just found out that all you need to do is make the 
 hint in the context where the phone registers. That means 
 that all you need to do is put '690,hint,SIP/bt-karen' in 
 your [sip] context, nothing else and it should work. Remember 
 to take the power from the phone for a short while after you 
 have configured this, otherwise it won't work.
 
 thorben
 

Ok your example confused me a little.

You put 690,hint,SIP/bt-karen

From this section in my extensions from your example I should have

exten = 690,hint,SIP/bt-karen

exten = 691,hint,SIP/snom-james

So set hint on the opposite extensions?

[sip]

exten = 690,hint,SIP/snom-james
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,hint,SIP/bt-karen
exten = 691,1,SetMusicOnHold(random)
exten = 691,2,Dial(SIP/bt-karen,30,Ttr)
exten = 691,3,Voicemail,u691
exten = 691,103,Voicemail,b691
___
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


SV: [Asterisk-Users] Snom phone hint exten question

2005-02-21 Thread Thorben Jensen
 
 Ok your example confused me a little.
 
 You put 690,hint,SIP/bt-karen
 
 From this section in my extensions from your example I should have
 
 exten = 690,hint,SIP/bt-karen
 
 exten = 691,hint,SIP/snom-james
 
 So set hint on the opposite extensions?
 
 [sip]
 
 exten = 690,hint,SIP/snom-james
 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,hint,SIP/bt-karen
 exten = 691,1,SetMusicOnHold(random)
 exten = 691,2,Dial(SIP/bt-karen,30,Ttr)
 exten = 691,3,Voicemail,u691
 exten = 691,103,Voicemail,b691

Hi James 

I am sorry I made a typo. You need to set [sip] like this:

[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

That should work
thorben

___
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] Snom phone hint exten question

2005-02-21 Thread Thorben Jensen
 I am going to now sit in a corner and go quietly insane while playing
 the banyo with no strings.
 
 Still doesn't work, I dialed in an outside line and picked up the
 receive on extension 691, yet the light on the snom phone did not come
 on. I dialed out of extension 691 to an outside line, yet still the
 light did not come on.
 
 Snom190 has firmware 3.56m the button is set to Destination 691

Hi James,

I am using the latest CSV-HEAD of *, I do not think it works with * stable.

Thorben


___
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] Snom phone hint exten question

2005-02-21 Thread James Bean
 
  I am going to now sit in a corner and go quietly insane 
 while playing 
  the banyo with no strings.
  
  Still doesn't work, I dialed in an outside line and picked up the 
  receive on extension 691, yet the light on the snom phone 
 did not come 
  on. I dialed out of extension 691 to an outside line, yet still the 
  light did not come on.
  
  Snom190 has firmware 3.56m the button is set to Destination 691
 
 Hi James,
 
 I am using the latest CSV-HEAD of *, I do not think it works 
 with * stable.
 
 Thorben
 

Just downloaded the latest cvs 21/2/05 and compiled and installed it.

Still nothing, the led's work on the snom but naybe its just buggered,
*sigh*

James
___
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] Snom phone hint exten question

2005-02-21 Thread adria vidal
El 21/02/2005, a las 12:30, James Bean escribió:
Still doesn't work, I dialed in an outside line and picked up the
receive on extension 691, yet the light on the snom phone did not come
on. I dialed out of extension 691 to an outside line, yet still the
light did not come on.
Snom190 has firmware 3.56m the button is set to Destination 691

Be sure to reboot the snom after every change, fooled with it a little 
bit too.
But get it woorking now.

Atentament.
··
Adrià Vidal 
___
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] Snom phone hint exten question

2005-02-21 Thread Michiel van Baak
On 13:27, Mon 21 Feb 05, Thorben Jensen wrote:
  I am going to now sit in a corner and go quietly insane while playing
  the banyo with no strings.
  
  Still doesn't work, I dialed in an outside line and picked up the
  receive on extension 691, yet the light on the snom phone did not come
  on. I dialed out of extension 691 to an outside line, yet still the
  light did not come on.
  
  Snom190 has firmware 3.56m the button is set to Destination 691
 
 Hi James,
 
 I am using the latest CSV-HEAD of *, I do not think it works with * stable.
 

It works on the Debian 1.0.5 version.
___
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] Snom phone hint exten question

2005-02-21 Thread Paul Fielding
- Original Message - 
From: James Bean [EMAIL PROTECTED]

I am going to now sit in a corner and go quietly insane while playing
the banyo with no strings.
I'd probably go insane, too, if I was trying to figure out how the heck to 
play a banyo

;)
___
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] Snom phone hint exten question

2005-02-20 Thread Jon Radon
I haven't used it in a while, but I had to put subscribecontext=sip
for the phone's (in your case the snom) sip entry.

This seems like it has been removed from the wiki.  Has it changed or
is this incorrect?

http://www.voip-info.org/tiki-pagehistory.php?page=Asterisk+phone+snomdiff=7


On Sat, 19 Feb 2005 21:36:04 +1000, James Bean [EMAIL PROTECTED] wrote:
 Putting bt-karen in the destination of the snom doesn't work, i.e.
 pushing the button the phone says no such destination.
 
 exten = 691,hint,SIP/bt-karen
 exten = 691,1,SetMusicOnHold(random)
 exten = 691,2,Dial(SIP/bt-karen,30,tr)
 exten = 691,10,voicemail,u691
 
 Is in the extensions.conf but in the snom I have destination as 691.
 
 In the sip.conf it is setup as
 
 [bt-karen]
 type=friend
 secret=secret password
 host=dynamic
 callerid=Karen Colomb 691
 defaultip=192.168.69.251
 dtmfmode=info
 mailbox=691
 
 Hope this helps.
 
 James


-- 
Is it something someone said, was it something someone said?
___
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] Snom phone hint exten question

2005-02-20 Thread James Bean
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Jon Radon
 Sent: Monday, 21 February 2005 2:55 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [Asterisk-Users] Snom phone hint exten question
 
 I haven't used it in a while, but I had to put 
 subscribecontext=sip for the phone's (in your case the snom) 
 sip entry.
 
 This seems like it has been removed from the wiki.  Has it 
 changed or is this incorrect?
 
 http://www.voip-info.org/tiki-pagehistory.php?page=Asterisk+ph
 one+snomdiff=7
 
 
 On Sat, 19 Feb 2005 21:36:04 +1000, James Bean 
 [EMAIL PROTECTED] wrote:
  Putting bt-karen in the destination of the snom doesn't work, i.e.
  pushing the button the phone says no such destination.
  
  exten = 691,hint,SIP/bt-karen
  exten = 691,1,SetMusicOnHold(random)
  exten = 691,2,Dial(SIP/bt-karen,30,tr) exten = 
 691,10,voicemail,u691
  
  Is in the extensions.conf but in the snom I have destination as 691.
  
  In the sip.conf it is setup as
  
  [bt-karen]
  type=friend
  secret=secret password
  host=dynamic
  callerid=Karen Colomb 691
  defaultip=192.168.69.251
  dtmfmode=info
  mailbox=691
  
  Hope this helps.
  
  James
 
 
 --
 Is it something someone said, was it something someone said?
 ___
 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
 
 

Thanks for the link, it had some very userful information in it,
unforunately the lights on my snom are still dead as a door nail.

Ok the snom phone has one of its LED's set to Destination 691 (it
changes that into the sip address and it dials the extension when I hit
the button on the snom no problems, and the led works)

Does anyone know where I have gone wrong.

Configurations I have enabled are voicemail and call parking.

My sip.conf is

[general]
port = 5060
bindaddr = 192.168.69.1
context = sip
disallow = all
allow = ilbc
allow = alaw
allow = ulaw
nat=disable
srvlookup=no
localnet=192.168.69.0/255.255.255.0
subscribecontext = sip

[snom-james]
type=friend
secret=password
host=dynamic
callerid=James Bean 690
defaultip=192.168.69.250
dtmfmode=rfc2833
mailbox=690

[bt-karen]
type=friend
secret=password
host=dynamic
callerid=Karen Colomb 691
defaultip=192.168.69.251
dtmfmode=info
mailbox=691

My extensions.conf is

[pstn]

exten = s,hint,SIP/bt-karen
exten = s,1,SetMusicOnHold(random)
exten = s,2,Dial(SIP/snom-jamesSIP/bt-karen,45,t) 
exten = s,4,VoiceMail(u690) 
exten = s,5,Hangup

[internal]

exten = i,1,Playback(invalid)
exten = i,2,Hangup
exten = t,1,Hangup

exten = 098,1,WaitMusicOnHold(45)
exten = 099,1,Echo ;simple echo test when you dial 099 on your
phone

exten = 1690,1,VoicemailMain,s690
exten = 1691,1,VoicemailMain,s691

[outgoing]

exten = _9X.,hint,SIP/bt-karen
exten = _9X.,1,Dial(Zap/g1/${EXTEN:1})
exten = _9X.,2,Congestion()
exten = _9X.,3,Hangup

[sip]

exten = 690,hint,SIP/snom-james
exten = 690,1,SetMusicOnHold(random)
exten = 690,2,Dial(SIP/snom-james,30,Ttr)
exten = 690,3,Voicemail,u690
exten = 690,103,Voicemail,b690

exten = 691,hint,SIP/bt-karen
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@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


SV: [Asterisk-Users] Snom phone hint exten question

2005-02-19 Thread Thorben Jensen


 -Oprindelig meddelelse-
 Fra: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] På vegne af James Bean
 Sendt: 19. februar 2005 08:14
 Til: Asterisk Users Mailing List - Non-Commercial Discussion
 Emne: [Asterisk-Users] Snom phone hint exten question
 
 
 Hi,
 
 I am sorry to be asking this but the wiki is down and has been for a
 couple of days and I need to get this working before Monday to get my
 live system setup.
 
 Trying to get the Snom 190's and soon to arrive 3com 3102's to use the
 function keys and for the life of me I can't work it out from the
 conversations on the archive what I am going exactly wrong here?
 
 The snom 190 with function keys is extension 690, the other extension
 (691) is just a BT102 so it doesn't have any function keys to program.
 
 When extension 691 is dialing out, or receives a call I want it to just
 tell the snom190 on ext 690 so the light shows up.
 
 (Soon as I got it going here I have a live system I will be setting it
 up on).
 
 Thank you to anyone in advance for the help.
 
 This is my extensions.conf
 
 ---
 
 [pstn]
 
 exten = s,1,SetMusicOnHold(random)
 exten = s,2,Dial(SIP/snom-jamesSIP/bt-karen,45,t)
 exten = s,3,Hangup
 ;exten = s,10,VoiceMail(u100);Whatever box you want.
 
 [internal]
 
 exten = i,1,Playback(invalid)
 exten = i,2,Hangup
 exten = t,1,Hangup
 
 exten = 098,1,WaitMusicOnHold(5)
 exten = 099,1,Echo ;simple echo test when you dial 099 on your
 phone
 
 include = outgoing
 include = sip
 
 [outgoing]
 
 exten = _9X.,1,Dial(Zap/g1/${EXTEN:1})
 exten = _9X.,2,Congestion()
 exten = _9X.,3,Hangup
 
 [sip]
 
 exten = 690,2,SetMusicOnHold(random)
 exten = 690,3,Dial(SIP/snom-james,30,tr)
 exten = 690,4,voicemail2,u690
 exten = 690,102,voicemail2,b690
 
 exten = 691,hint,SIP/bt-karen
 exten = 691,1,Macro(stdexten,SIP/bt-karen)
 exten = 691,2,SetMusicOnHold(random)
 exten = 691,3,Dial(SIP/bt-karen,30,tr)
 exten = 691,4,voicemail2,u691
 exten = 691,102,voicemail,b691
 
 include = internal
 include = outgoing

Hi,

You need to 'hint' SIP/bt-karen in the pstn context:

[pstn]
exten = s,hint,SIP/bt-karen
exten = s,1,SetMusicOnHold(random)
exten = s,2,Dial(SIP/snom-jamesSIP/bt-karen,45,t)
exten = s,3,Hangup

Thorben


___
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] Snom phone hint exten question

2005-02-19 Thread James Bean
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Thorben Jensen
 Sent: Saturday, 19 February 2005 6:13 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: SV: [Asterisk-Users] Snom phone hint exten question
 
 
 
  -Oprindelig meddelelse-
  Fra: [EMAIL PROTECTED] 
 [mailto:asterisk-users- 
  [EMAIL PROTECTED] På vegne af James Bean
  Sendt: 19. februar 2005 08:14
  Til: Asterisk Users Mailing List - Non-Commercial Discussion
  Emne: [Asterisk-Users] Snom phone hint exten question
  
  
  Hi,
  
  I am sorry to be asking this but the wiki is down and has 
 been for a 
  couple of days and I need to get this working before Monday 
 to get my 
  live system setup.
  
  Trying to get the Snom 190's and soon to arrive 3com 3102's 
 to use the 
  function keys and for the life of me I can't work it out from the 
  conversations on the archive what I am going exactly wrong here?
  
  The snom 190 with function keys is extension 690, the other 
 extension
  (691) is just a BT102 so it doesn't have any function keys 
 to program.
  
  When extension 691 is dialing out, or receives a call I want it to 
  just tell the snom190 on ext 690 so the light shows up.
  
  (Soon as I got it going here I have a live system I will be 
 setting it 
  up on).
  
  Thank you to anyone in advance for the help.
  
  This is my extensions.conf
  
  ---
  
  [pstn]
  
  exten = s,1,SetMusicOnHold(random)
  exten = s,2,Dial(SIP/snom-jamesSIP/bt-karen,45,t)
  exten = s,3,Hangup
  ;exten = s,10,VoiceMail(u100);Whatever box you want.
  
  [internal]
  
  exten = i,1,Playback(invalid)
  exten = i,2,Hangup
  exten = t,1,Hangup
  
  exten = 098,1,WaitMusicOnHold(5)
  exten = 099,1,Echo ;simple echo test when you dial 099 on your
  phone
  
  include = outgoing
  include = sip
  
  [outgoing]
  
  exten = _9X.,1,Dial(Zap/g1/${EXTEN:1}) exten = 
 _9X.,2,Congestion() 
  exten = _9X.,3,Hangup
  
  [sip]
  
  exten = 690,2,SetMusicOnHold(random)
  exten = 690,3,Dial(SIP/snom-james,30,tr) exten = 
  690,4,voicemail2,u690 exten = 690,102,voicemail2,b690
  
  exten = 691,hint,SIP/bt-karen
  exten = 691,1,Macro(stdexten,SIP/bt-karen)
  exten = 691,2,SetMusicOnHold(random)
  exten = 691,3,Dial(SIP/bt-karen,30,tr) exten = 
 691,4,voicemail2,u691 
  exten = 691,102,voicemail,b691
  
  include = internal
  include = outgoing
 
 Hi,
 
 You need to 'hint' SIP/bt-karen in the pstn context:
 
 [pstn]
 exten = s,hint,SIP/bt-karen
 exten = s,1,SetMusicOnHold(random)
 exten = s,2,Dial(SIP/snom-jamesSIP/bt-karen,45,t)
 exten = s,3,Hangup
 
 Thorben
 
 
 ___
 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
 
 

Thank you for that, it was very much appreciated.

Also instead of putting a whole bunch of hints in, how might I go about putting 
a cluster of SIP extensions in the hint off the PSTN situation?

Could you also maybe throw me a couple of hints what the 

exten = 691,1,Macro(stdexten,SIP/bt-karen)

Macro portion I have seen in some examples but I am not sure what it does.

James
___
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] Snom phone hint exten question

2005-02-19 Thread James Bean

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Thorben Jensen
 Sent: Saturday, 19 February 2005 6:13 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: SV: [Asterisk-Users] Snom phone hint exten question
 
 
 
  -Oprindelig meddelelse-
  Fra: [EMAIL PROTECTED] 
 [mailto:asterisk-users- 
  [EMAIL PROTECTED] På vegne af James Bean
  Sendt: 19. februar 2005 08:14
  Til: Asterisk Users Mailing List - Non-Commercial Discussion
  Emne: [Asterisk-Users] Snom phone hint exten question
  
  
  Hi,
  
  I am sorry to be asking this but the wiki is down and has 
 been for a 
  couple of days and I need to get this working before Monday 
 to get my 
  live system setup.
  
  Trying to get the Snom 190's and soon to arrive 3com 3102's 
 to use the 
  function keys and for the life of me I can't work it out from the 
  conversations on the archive what I am going exactly wrong here?
  
  The snom 190 with function keys is extension 690, the other 
 extension
  (691) is just a BT102 so it doesn't have any function keys 
 to program.
  
  When extension 691 is dialing out, or receives a call I want it to 
  just tell the snom190 on ext 690 so the light shows up.
  
  (Soon as I got it going here I have a live system I will be 
 setting it 
  up on).
  
  Thank you to anyone in advance for the help.
  
  This is my extensions.conf
  
  ---
  
  [pstn]
  
  exten = s,1,SetMusicOnHold(random)
  exten = s,2,Dial(SIP/snom-jamesSIP/bt-karen,45,t)
  exten = s,3,Hangup
  ;exten = s,10,VoiceMail(u100);Whatever box you want.
  
  [internal]
  
  exten = i,1,Playback(invalid)
  exten = i,2,Hangup
  exten = t,1,Hangup
  
  exten = 098,1,WaitMusicOnHold(5)
  exten = 099,1,Echo ;simple echo test when you dial 099 on your
  phone
  
  include = outgoing
  include = sip
  
  [outgoing]
  
  exten = _9X.,1,Dial(Zap/g1/${EXTEN:1}) exten = 
 _9X.,2,Congestion() 
  exten = _9X.,3,Hangup
  
  [sip]
  
  exten = 690,2,SetMusicOnHold(random)
  exten = 690,3,Dial(SIP/snom-james,30,tr) exten = 
  690,4,voicemail2,u690 exten = 690,102,voicemail2,b690
  
  exten = 691,hint,SIP/bt-karen
  exten = 691,1,Macro(stdexten,SIP/bt-karen)
  exten = 691,2,SetMusicOnHold(random)
  exten = 691,3,Dial(SIP/bt-karen,30,tr) exten = 
 691,4,voicemail2,u691 
  exten = 691,102,voicemail,b691
  
  include = internal
  include = outgoing
 
 Hi,
 
 You need to 'hint' SIP/bt-karen in the pstn context:
 
 [pstn]
 exten = s,hint,SIP/bt-karen
 exten = s,1,SetMusicOnHold(random)
 exten = s,2,Dial(SIP/snom-jamesSIP/bt-karen,45,t)
 exten = s,3,Hangup
 
 Thorben
 
 
 ___
 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
 
 

Unfortunately that did not work, I hard rebooted the snom phone, the bt102 and 
the asterisk server, the light just stays off, and I tested the LED on the 
button as well just to make sure its working

I also added a hint to the outgoing context so when they make an outgoing call, 
still no luck.

My extensions.conf is now

[pstn]

exten = s,hint,SIP/bt-karen
exten = s,1,SetMusicOnHold(random)
exten = s,2,Dial(SIP/snom-jamesSIP/bt-karen,45,t) 
exten = s,3,Hangup
;exten = s,5,VoiceMail(u100);Whatever box you want.

[internal]

exten = i,1,Playback(invalid)
exten = i,2,Hangup
exten = t,1,Hangup

exten = 098,1,WaitMusicOnHold(5)
exten = 099,1,Echo ;simple echo test when you dial 099 on your phone

Include = outgoing
include = sip

[outgoing]

exten = _9X.,hint,SIP/bt-karen
exten = _9X.,1,Dial(Zap/g1/${EXTEN:1})
exten = _9X.,2,Congestion()
exten = _9X.,3,Hangup

[sip]

exten = 690,1,SetMusicOnHold(random)
exten = 690,2,Dial(SIP/snom-james,30,tr)
exten = 690,102,voicemail2,u690

exten = 691,hint,SIP/bt-karen
exten = 691,1,SetMusicOnHold(random)
exten = 691,2,Dial(SIP/bt-karen,30,tr)
exten = 691,102,voicemail,u691

include = internal
include = outgoing

___
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] Snom phone hint exten question

2005-02-19 Thread Thorben Jensen
 Unfortunately that did not work, I hard rebooted the snom phone, the bt102
 and the asterisk server, the light just stays off, and I tested the LED on
 the button as well just to make sure its working
 
 I also added a hint to the outgoing context so when they make an outgoing
 call, still no luck.
 
 My extensions.conf is now
 
 [pstn]
 
 exten = s,hint,SIP/bt-karen
 exten = s,1,SetMusicOnHold(random)
 exten = s,2,Dial(SIP/snom-jamesSIP/bt-karen,45,t)
 exten = s,3,Hangup
 ;exten = s,5,VoiceMail(u100);Whatever box you want.
 
 [internal]
 
 exten = i,1,Playback(invalid)
 exten = i,2,Hangup
 exten = t,1,Hangup
 
 exten = 098,1,WaitMusicOnHold(5)
 exten = 099,1,Echo ;simple echo test when you dial 099 on your phone
 
 Include = outgoing
 include = sip
 
 [outgoing]
 
 exten = _9X.,hint,SIP/bt-karen
 exten = _9X.,1,Dial(Zap/g1/${EXTEN:1})
 exten = _9X.,2,Congestion()
 exten = _9X.,3,Hangup
 
 [sip]
 
 exten = 690,1,SetMusicOnHold(random)
 exten = 690,2,Dial(SIP/snom-james,30,tr)
 exten = 690,102,voicemail2,u690
 
 exten = 691,hint,SIP/bt-karen
 exten = 691,1,SetMusicOnHold(random)
 exten = 691,2,Dial(SIP/bt-karen,30,tr)
 exten = 691,102,voicemail,u691
 
 include = internal
 include = outgoing


Have you set the function key on the SNOM to 'Destination' and typed '691'
in the number?



___
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] Snom phone hint exten question

2005-02-19 Thread Thorben Jensen
 
 
 Have you set the function key on the SNOM to 'Destination' and typed '691'
 in the number?

I am sorry, I meant that you have to type 'bt-karen' in the number.

___
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] Snom phone hint exten question

2005-02-19 Thread James Bean

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Thorben Jensen
 Sent: Saturday, 19 February 2005 8:33 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: RE: [Asterisk-Users] Snom phone hint exten question
 
  Unfortunately that did not work, I hard rebooted the snom 
 phone, the 
  bt102 and the asterisk server, the light just stays off, 
 and I tested 
  the LED on the button as well just to make sure its working
  
  I also added a hint to the outgoing context so when they make an 
  outgoing call, still no luck.
  
  My extensions.conf is now
  
  [pstn]
  
  exten = s,hint,SIP/bt-karen
  exten = s,1,SetMusicOnHold(random)
  exten = s,2,Dial(SIP/snom-jamesSIP/bt-karen,45,t)
  exten = s,3,Hangup
  ;exten = s,5,VoiceMail(u100);Whatever box you want.
  
  [internal]
  
  exten = i,1,Playback(invalid)
  exten = i,2,Hangup
  exten = t,1,Hangup
  
  exten = 098,1,WaitMusicOnHold(5)
  exten = 099,1,Echo ;simple echo test when you dial 099 
 on your phone
  
  Include = outgoing
  include = sip
  
  [outgoing]
  
  exten = _9X.,hint,SIP/bt-karen
  exten = _9X.,1,Dial(Zap/g1/${EXTEN:1}) exten = 
 _9X.,2,Congestion() 
  exten = _9X.,3,Hangup
  
  [sip]
  
  exten = 690,1,SetMusicOnHold(random)
  exten = 690,2,Dial(SIP/snom-james,30,tr) exten = 
  690,102,voicemail2,u690
  
  exten = 691,hint,SIP/bt-karen
  exten = 691,1,SetMusicOnHold(random)
  exten = 691,2,Dial(SIP/bt-karen,30,tr) exten = 
  691,102,voicemail,u691
  
  include = internal
  include = outgoing
 
 
 Have you set the function key on the SNOM to 'Destination' 
 and typed '691'
 in the number?
 
 
 
 ___
 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
 
 

Ooppss sorry should have put that in, yes the snome has the function key
set to destination and 691, when I push the button it calls that
extensions.

Updated extensions.conf

[global]

PSTNLine=Zap/g1
AnalogPhone=Zap/g2

[pstn]

exten = s,hint,SIP/bt-karen
exten = s,1,SetMusicOnHold(random)
exten = s,2,Dial(SIP/snom-jamesSIP/bt-karen,45,t) 
exten = s,3,Hangup
;exten = s,5,VoiceMail(u690) 

[internal]

exten = i,1,Playback(invalid)
exten = i,2,Hangup
exten = t,1,Hangup

exten = 098,1,WaitMusicOnHold(45)
exten = 099,1,Echo ;simple echo test when you dial 099 on your
phone

[outgoing]

exten = _9X.,hint,SIP/bt-karen
exten = _9X.,1,Dial(Zap/g1/${EXTEN:1})
exten = _9X.,2,Congestion()
exten = _9X.,3,Hangup

[sip]

exten = 690,hint,SIP/snom-james
exten = 690,1,SetMusicOnHold(random)
exten = 690,2,Dial(SIP/snom-james,30,tr)
exten = 690,10,voicemail2,u690

exten = 691,hint,SIP/bt-karen
exten = 691,1,SetMusicOnHold(random)
exten = 691,2,Dial(SIP/bt-karen,30,tr)
exten = 691,10,voicemail,u691

include = internal
include = outgoing
___
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] Snom phone hint exten question

2005-02-19 Thread James Bean
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Thorben Jensen
 Sent: Saturday, 19 February 2005 8:33 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: RE: [Asterisk-Users] Snom phone hint exten question
 
  Unfortunately that did not work, I hard rebooted the snom 
 phone, the 
  bt102 and the asterisk server, the light just stays off, 
 and I tested 
  the LED on the button as well just to make sure its working
  
  I also added a hint to the outgoing context so when they make an 
  outgoing call, still no luck.
  
  My extensions.conf is now
  
  [pstn]
  
  exten = s,hint,SIP/bt-karen
  exten = s,1,SetMusicOnHold(random)
  exten = s,2,Dial(SIP/snom-jamesSIP/bt-karen,45,t)
  exten = s,3,Hangup
  ;exten = s,5,VoiceMail(u100);Whatever box you want.
  
  [internal]
  
  exten = i,1,Playback(invalid)
  exten = i,2,Hangup
  exten = t,1,Hangup
  
  exten = 098,1,WaitMusicOnHold(5)
  exten = 099,1,Echo ;simple echo test when you dial 099 
 on your phone
  
  Include = outgoing
  include = sip
  
  [outgoing]
  
  exten = _9X.,hint,SIP/bt-karen
  exten = _9X.,1,Dial(Zap/g1/${EXTEN:1}) exten = 
 _9X.,2,Congestion() 
  exten = _9X.,3,Hangup
  
  [sip]
  
  exten = 690,1,SetMusicOnHold(random)
  exten = 690,2,Dial(SIP/snom-james,30,tr) exten = 
  690,102,voicemail2,u690
  
  exten = 691,hint,SIP/bt-karen
  exten = 691,1,SetMusicOnHold(random)
  exten = 691,2,Dial(SIP/bt-karen,30,tr) exten = 
  691,102,voicemail,u691
  
  include = internal
  include = outgoing
 
 
 Have you set the function key on the SNOM to 'Destination' 
 and typed '691'
 in the number?
 
 
 
 ___
 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
 
 

Even worse I didn't add...

The snom firmware is the latest 3.56m

James
___
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


SV: [Asterisk-Users] Snom phone hint exten question

2005-02-19 Thread Thorben Jensen
 Also instead of putting a whole bunch of hints in, how might I go about
 putting a cluster of SIP extensions in the hint off the PSTN situation?
 
 Could you also maybe throw me a couple of hints what the
 
 exten = 691,1,Macro(stdexten,SIP/bt-karen)
 
 Macro portion I have seen in some examples but I am not sure what it does.
 
 James

Hi James,

I think you have to put a whole bunch of hints in, as variables are not
supported with hint AFAIK.

Macro(stdexten,SIP/bt-karen) is the way to call a macro called 'stdexten' in
your dial plan.

Thorben

___
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] Snom phone hint exten question

2005-02-19 Thread Michiel van Baak
snip
 [global]
 
 PSTNLine=Zap/g1
 AnalogPhone=Zap/g2
 
 [pstn]
 
 exten = s,hint,SIP/bt-karen
 exten = s,1,SetMusicOnHold(random)
 exten = s,2,Dial(SIP/snom-jamesSIP/bt-karen,45,t) 
 exten = s,3,Hangup
 ;exten = s,5,VoiceMail(u690) 
 
 [internal]
 
 exten = i,1,Playback(invalid)
 exten = i,2,Hangup
 exten = t,1,Hangup
 
 exten = 098,1,WaitMusicOnHold(45)
 exten = 099,1,Echo ;simple echo test when you dial 099 on your
 phone
 
 [outgoing]
 
 exten = _9X.,hint,SIP/bt-karen
 exten = _9X.,1,Dial(Zap/g1/${EXTEN:1})
 exten = _9X.,2,Congestion()
 exten = _9X.,3,Hangup
 
 [sip]
 
 exten = 690,hint,SIP/snom-james
 exten = 690,1,SetMusicOnHold(random)
 exten = 690,2,Dial(SIP/snom-james,30,tr)
 exten = 690,10,voicemail2,u690
 
 exten = 691,hint,SIP/bt-karen
 exten = 691,1,SetMusicOnHold(random)
 exten = 691,2,Dial(SIP/bt-karen,30,tr)
 exten = 691,10,voicemail,u691
 
 include = internal
 include = outgoing
/snip

I have this in my test machines extensions.conf

[SIP-intern]
exten = 10,1,Dial(SIP/willem,40)
exten = 11,1,Dial(SIP/karin,40)
exten = 12,1,Dial(SIP/christian,40)
exten = 13,1,Dial(SIP/michiel,40)
exten = 14,1,Dial(SIP/stephan,40)
exten = 15,1,Dial(SIP/nancy,40)
; hint for the snom phone at karins desk
exten = 10,hint,SIP/willem
exten = 11,hint,SIP/karin
exten = 12,hint,SIP/christian
exten = 13,hint,SIP/michiel
exten = 14,hint,SIP/stephan
exten = 15,hint,SIP/nancy

On the snom I programmed the 10,12, etc numbers as
Destination for the buttons. I did this with the phone menu,
not with the webinterface.
This works like a charm.


-- 
Michiel van Baak
http://lunteren.vanbaak.info
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7E0B9A2D

Two of the most famous products of Berkeley are LSD and BSD. I don't think 
that this is a coincidence.

___
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] Snom phone hint exten question

2005-02-19 Thread James Bean
No its setup in the snom as 691 not bt-karen I will test that now.

James 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Thorben Jensen
 Sent: Saturday, 19 February 2005 8:39 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: RE: [Asterisk-Users] Snom phone hint exten question
 
  
  
  Have you set the function key on the SNOM to 'Destination' 
 and typed '691'
  in the number?
 
 I am sorry, I meant that you have to type 'bt-karen' in the number.
 
 ___
 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
 
 
___
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] Snom phone hint exten question

2005-02-19 Thread James Bean
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Thorben Jensen
 Sent: Saturday, 19 February 2005 8:39 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: RE: [Asterisk-Users] Snom phone hint exten question
 
  
  
  Have you set the function key on the SNOM to 'Destination' 
 and typed '691'
  in the number?
 
 I am sorry, I meant that you have to type 'bt-karen' in the number.
 
 ___
 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
 


Putting bt-karen in the destination of the snom doesn't work, i.e.
pushing the button the phone says no such destination.

exten = 691,hint,SIP/bt-karen
exten = 691,1,SetMusicOnHold(random)
exten = 691,2,Dial(SIP/bt-karen,30,tr)
exten = 691,10,voicemail,u691

Is in the extensions.conf but in the snom I have destination as 691.

In the sip.conf it is setup as

[bt-karen]
type=friend
secret=secret password
host=dynamic
callerid=Karen Colomb 691
defaultip=192.168.69.251
dtmfmode=info
mailbox=691

Hope this helps.

James
___
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


[Asterisk-Users] Snom phone hint exten question

2005-02-18 Thread James Bean

Hi, 

I am sorry to be asking this but the wiki is down and has been for a
couple of days and I need to get this working before Monday to get my
live system setup.

Trying to get the Snom 190's and soon to arrive 3com 3102's to use the
function keys and for the life of me I can't work it out from the
conversations on the archive what I am going exactly wrong here?

The snom 190 with function keys is extension 690, the other extension
(691) is just a BT102 so it doesn't have any function keys to program.

When extension 691 is dialing out, or receives a call I want it to just
tell the snom190 on ext 690 so the light shows up.

(Soon as I got it going here I have a live system I will be setting it
up on).

Thank you to anyone in advance for the help.

This is my extensions.conf

---

[pstn]

exten = s,1,SetMusicOnHold(random)
exten = s,2,Dial(SIP/snom-jamesSIP/bt-karen,45,t)
exten = s,3,Hangup
;exten = s,10,VoiceMail(u100);Whatever box you want.

[internal]

exten = i,1,Playback(invalid)
exten = i,2,Hangup
exten = t,1,Hangup

exten = 098,1,WaitMusicOnHold(5)
exten = 099,1,Echo ;simple echo test when you dial 099 on your
phone

include = outgoing
include = sip

[outgoing]

exten = _9X.,1,Dial(Zap/g1/${EXTEN:1})
exten = _9X.,2,Congestion()
exten = _9X.,3,Hangup

[sip]

exten = 690,2,SetMusicOnHold(random)
exten = 690,3,Dial(SIP/snom-james,30,tr)
exten = 690,4,voicemail2,u690
exten = 690,102,voicemail2,b690

exten = 691,hint,SIP/bt-karen
exten = 691,1,Macro(stdexten,SIP/bt-karen)
exten = 691,2,SetMusicOnHold(random)
exten = 691,3,Dial(SIP/bt-karen,30,tr)
exten = 691,4,voicemail2,u691
exten = 691,102,voicemail,b691

include = internal
include = outgoing

___
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