Jump to content

Snom/Asterisk Konfiguration: Difference between revisions

From Parasol
Sdruschel (talk | contribs)
Sdruschel (talk | contribs)
m Sdruschel moved page IT:Snom/Asterisk Konfiguration to Snom/Asterisk Konfiguration without leaving a redirect
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Snom Calls and DB=
==Audiofiles==
action_dnd_on_url!: http://192.168.0.5/snom/snomactions.php?action=dnd_on&user=$user_name1&mac=$mac<br />
/var/lib/asterisk/
action_dnd_off_url!: http://192.168.0.5/snom/snomactions.php?action=dnd_off&user=$user_name1&mac=$mac<br />
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=
lame --decode {filename}.mp3 {filename}.wav
update_filename!: /snom/snomdefaults.php?mac={mac}
sox -V {filename}.wav -r 8000 -c 1 -w {filename}.raw
sox -V {filename}.wav -r 8000 -c 1 {filename}.gsm


 
==Scripts and Firmware==
=DHCP Boot Parameter=
/usr/share/asterisk/agi-bin
Boot Server Hostname<br />
192.168.0.5<br />
<br />
DHCP Boot Filename<br />
/snom/snomdefaults.php?mac={mac}<br />
 
 
==Callback Notification==
/var/lib/asterisk/agi-bin/sendcallback.php<br />
<br />
Aufruf:<br />
exten => 1,n(callback),AGI(sendcallback.php|${ARG2}|${CALLERIDNUM})<br />
 
 
 
$csv->load('/var/www/inc/csv/contact_data_2011_1_3.csv');
 
 
$mail_text = file_get_contents ('/var/www/inc/mail_callback/hrkeepmeposted_txt.template');
$mail_html = file_get_contents ('/var/www/inc/mail_callback/hrkeepmeposted_html.template');
 
 
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