[Asterisk-Users] Snom phone hint exten question

Michiel van Baak michiel at vanbaak.info
Sat Feb 19 03:51:35 MST 2005


<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-james&SIP/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
michiel at vanbaak.info
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D

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




More information about the asterisk-users mailing list