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

Thorben Jensen thorben at thorben.dk
Sat Feb 19 01:12:35 MST 2005



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





More information about the asterisk-users mailing list