Snom/Asterisk Konfiguration: Difference between revisions
No edit summary |
|||
| Line 28: | Line 28: | ||
exten => 1,n(callback),AGI(sendcallback.php|${ARG2}|${CALLERIDNUM})<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'); | |||
Revision as of 16:59, 2 March 2012
Snom Calls and DB
action_dnd_on_url!: http://192.168.0.5/snom/snomactions.php?action=dnd_on&user=$user_name1&mac=$mac
action_dnd_off_url!: http://192.168.0.5/snom/snomactions.php?action=dnd_off&user=$user_name1&mac=$mac
action_redirection_on_url!:
action_redirection_off_url!:
action_incoming_url!: http://192.168.0.5/snom/snomactions.php?action=incomingcall&user=$user_name1&number=$remote
action_outgoing_url!:
action_setup_url!:
action_offhook_url!: http://192.168.0.5/snom/snomactions.php?action=offhook&user=$user_name1
action_onhook_url!: http://192.168.0.5/snom/snomactions.php?action=onhook&user=$user_name1
Snom Config Parameter
update_filename!: /snom/snomdefaults.php?mac={mac}
DHCP Boot Parameter
Boot Server Hostname
192.168.0.5
DHCP Boot Filename
/snom/snomdefaults.php?mac={mac}
Callback Notification
/var/lib/asterisk/agi-bin/sendcallback.php
Aufruf:
exten => 1,n(callback),AGI(sendcallback.php|${ARG2}|${CALLERIDNUM})
$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