[Asterisk-Users] Snom phone hint exten question
James Bean
james at hdcs.com.au
Sat Feb 19 02:49:50 MST 2005
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] 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: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-
> > bounces at lists.digium.com] 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-james&SIP/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-james&SIP/bt-karen,45,t)
> exten => s,3,Hangup
>
> Thorben
>
>
> _______________________________________________
> 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
>
>
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-james&SIP/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
More information about the asterisk-users
mailing list