Jump to content

Snom/Asterisk Konfiguration: Difference between revisions

From Parasol
Sdruschel (talk | contribs)
Created page with " =Snom Calls and DB= action_dnd_on_url!: http://192.168.0.5/snom/snomactions.php?action=dnd_on&user=$user_name1&mac=$mac<br /> action_dnd_off_url!: http://192.168.0.5/snom/snomac..."
 
Sdruschel (talk | contribs)
m Sdruschel moved page IT:Snom/Asterisk Konfiguration to Snom/Asterisk Konfiguration without leaving a redirect
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Audiofiles==
/var/lib/asterisk/


=Snom Calls and DB=
lame --decode {filename}.mp3 {filename}.wav
action_dnd_on_url!: http://192.168.0.5/snom/snomactions.php?action=dnd_on&user=$user_name1&mac=$mac<br />
sox -V {filename}.wav -r 8000 -c 1 -w {filename}.raw
action_dnd_off_url!: http://192.168.0.5/snom/snomactions.php?action=dnd_off&user=$user_name1&mac=$mac<br />
sox -V {filename}.wav -r 8000 -c 1 {filename}.gsm
action_redirection_on_url!: <br />
action_redirection_off_url!: <br />
action_incoming_url!: http://192.168.0.5/snom/snomactions.php?action=incomingcall&user=$user_name1&number=$remote<br />
action_outgoing_url!: <br />
action_setup_url!: <br />
action_offhook_url!: http://192.168.0.5/snom/snomactions.php?action=offhook&user=$user_name1<br />
action_onhook_url!: http://192.168.0.5/snom/snomactions.php?action=onhook&user=$user_name1<br />


=Snom Config Parameter=
==Scripts and Firmware==
update_filename!: /snom/snomdefaults.php?mac={mac}
/usr/share/asterisk/agi-bin
 
 
=DHCP Boot Parameter=
Boot Server Hostname<br />
192.168.0.5<br />
<br />
DHCP Boot Filename<br />
/snom/snomdefaults.php?mac={mac}<br />
 
 
 
 
;das script liegt in /var/lib/asterisk/agi-bin/
exten => 1,n(callback),AGI(sendcallback.php|${ARG2}|${CALLERIDNUM})
 
 
 
Wenn Queue dann: Mailbox und email
 
 
 
Clickmap

Latest revision as of 14:10, 5 November 2013

Audiofiles

[edit]

/var/lib/asterisk/

lame --decode {filename}.mp3 {filename}.wav
sox -V {filename}.wav -r 8000 -c 1 -w {filename}.raw
sox -V {filename}.wav -r 8000 -c 1 {filename}.gsm

Scripts and Firmware

[edit]

/usr/share/asterisk/agi-bin