Updated all variables to comply with raintpl.
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
<flat-profile>
|
||||
<Profile_Rule>http://{domain_name}{v_project_path}/app/provision/?mac=$MA&password={v_password}</Profile_Rule>
|
||||
<Profile_Rule>http://{$domain_name}{$v_project_path}/app/provision/?mac=$MA&password={$v_password}</Profile_Rule>
|
||||
<Resync_Periodic>3600</Resync_Periodic>
|
||||
|
||||
<!--<GPP_B>{v_agent}</GPP_B>-->
|
||||
<!--<GPP_B>{$v_agent}</GPP_B>-->
|
||||
<!--Sets the time. Dunno what else.-->
|
||||
<Primary_NTP_Server>0.pool.ntp.org</Primary_NTP_Server>
|
||||
<Secondary_NTP_Server>time.nist.gov</Secondary_NTP_Server>
|
||||
|
||||
<Upgrade_Rule></Upgrade_Rule>
|
||||
<Voice_Mail_Number>*97</Voice_Mail_Number>
|
||||
<Time_Zone>GMT-{v_time_zone_offset}</Time_Zone>
|
||||
<Time_Zone>GMT-{$v_time_zone_offset}</Time_Zone>
|
||||
<!--
|
||||
<Daylight_Saving_Time_Rule>start=9/27/0/2;end=4/4/0/3;save=1</Daylight_Saving_Time_Rule>-->
|
||||
<!--<Blind_Attn-Xfer_Enable_1_>No</Blind_Attn-Xfer_Enable_1_>-->
|
||||
@@ -17,28 +17,28 @@
|
||||
|
||||
|
||||
<Line_Enable_1_>yes</Line_Enable_1_>
|
||||
<Proxy_1_>{domain_name}</Proxy_1_>
|
||||
<Display_Name_1_>{v_line1_displayname}</Display_Name_1_>
|
||||
<User_ID_1_>{v_line1_user_id}</User_ID_1_>
|
||||
<Password_1_>{v_line1_user_password}</Password_1_>
|
||||
<Proxy_1_>{$domain_name}</Proxy_1_>
|
||||
<Display_Name_1_>{$v_line1_displayname}</Display_Name_1_>
|
||||
<User_ID_1_>{$v_line1_user_id}</User_ID_1_>
|
||||
<Password_1_>{$v_line1_user_password}</Password_1_>
|
||||
<Use_Auth_ID_1_>No</Use_Auth_ID_1_>
|
||||
<Preferred_Codec_1_>G729a</Preferred_Codec_1_>
|
||||
<Register_Expires_1_>3600</Register_Expires_1_><!--*9 will perform intercom and call the other line on the box. There is no other way, from my testing to call from jack to jack on the box, without without the media being proxied.-->
|
||||
<Dial_Plan_1_>
|
||||
(1xxx[2-9]xxxxxxS0|[*#x]x.)
|
||||
</Dial_Plan_1_>
|
||||
<!--|<*9:{v_line2_user_id}@127.0.0.1:5061>-->
|
||||
<!--|<*9:{$v_line2_user_id}@127.0.0.1:5061>-->
|
||||
<Line_Enable_2_>yes</Line_Enable_2_>
|
||||
<Proxy_2_>{domain_name}</Proxy_2_>
|
||||
<Display_Name_2_>{v_line2_displayname}</Display_Name_2_>
|
||||
<User_ID_2_>{v_line2_user_id}</User_ID_2_>
|
||||
<Password_2_>{v_line2_user_password}</Password_2_>
|
||||
<Proxy_2_>{$domain_name}</Proxy_2_>
|
||||
<Display_Name_2_>{$v_line2_displayname}</Display_Name_2_>
|
||||
<User_ID_2_>{$v_line2_user_id}</User_ID_2_>
|
||||
<Password_2_>{$v_line2_user_password}</Password_2_>
|
||||
<Use_Auth_ID_2_>No</Use_Auth_ID_2_>
|
||||
<Preferred_Codec_2_>G729a</Preferred_Codec_2_>
|
||||
<Register_Expires_2_>3600</Register_Expires_2_>
|
||||
<Dial_Plan_2_>
|
||||
(1xxx[2-9]xxxxxxS0|[*#x]x.)
|
||||
</Dial_Plan_2_><!--|<*9:{v_line1_user_id}@127.0.0.1:5061>-->
|
||||
</Dial_Plan_2_><!--|<*9:{$v_line1_user_id}@127.0.0.1:5061>-->
|
||||
|
||||
|
||||
<RTP_Packet_Size>0.020</RTP_Packet_Size> <!--the default of .030 throws errors.-->
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
-->
|
||||
<flat-profile>
|
||||
<!-- provisioning config -->
|
||||
<Profile_Rule>http://{domain_name}{v_project_path}/app/provision/?mac=$MA</Profile_Rule>
|
||||
<Profile_Rule>http://{$domain_name}{$v_project_path}/app/provision/?mac=$MA</Profile_Rule>
|
||||
<Resync_Periodic>7200</Resync_Periodic>
|
||||
<Resync_On_Reset>yes</Resync_On_Reset>
|
||||
<Resync_Error_Retry_Delay>10</Resync_Error_Retry_Delay>
|
||||
@@ -37,13 +37,13 @@
|
||||
<!-- network config -->
|
||||
<DHCP>yes</DHCP> <!-- for WAN port -->
|
||||
<!--
|
||||
<Primary_NTP_Server>{domain_name}</Primary_NTP_Server>
|
||||
<Primary_NTP_Server>{$domain_name}</Primary_NTP_Server>
|
||||
<Secondary_NTP_Server>pool.ntp.org</Secondary_NTP_Server>
|
||||
-->
|
||||
|
||||
<!-- remote logging - valid debug levels are 0, 1, 2 and 3
|
||||
<Syslog_Server>{domain_name}</Syslog_Server>
|
||||
<Debug_Server>{domain_name}</Debug_Server>
|
||||
<Syslog_Server>{$domain_name}</Syslog_Server>
|
||||
<Debug_Server>{$domain_name}</Debug_Server>
|
||||
<Debug_Level>2</Debug_Level>
|
||||
-->
|
||||
|
||||
@@ -65,11 +65,11 @@
|
||||
<Admin_Passwd/>
|
||||
<User_Password/>
|
||||
-->
|
||||
<Time_Zone>GMT-{v_time_zone_offset}</Time_Zone>
|
||||
<Time_Zone>GMT-{$v_time_zone_offset}</Time_Zone>
|
||||
|
||||
|
||||
<!-- SIP settings -->
|
||||
<Proxy_1_>{domain_name}</Proxy_1_>
|
||||
<Proxy_1_>{$domain_name}</Proxy_1_>
|
||||
<SIP_Port_1_>5060</SIP_Port_1_>
|
||||
<Use_Outbound_Proxy_1_>no</Use_Outbound_Proxy_1_>
|
||||
<!-- only allow proxy IP to connect
|
||||
@@ -83,9 +83,9 @@
|
||||
|
||||
<!-- FXS port aka "Line 1" in web interface -->
|
||||
<Register_1_>yes</Register_1_>
|
||||
<User_ID_1_>{v_line1_user_id}</User_ID_1_>
|
||||
<Password_1_>{v_line1_user_password}</Password_1_>
|
||||
<Display_Name_1_>{v_line1_displayname}</Display_Name_1_>
|
||||
<User_ID_1_>{$v_line1_user_id}</User_ID_1_>
|
||||
<Password_1_>{$v_line1_user_password}</Password_1_>
|
||||
<Display_Name_1_>{$v_line1_displayname}</Display_Name_1_>
|
||||
<Use_Auth_ID_1_>no</Use_Auth_ID_1_> <!-- Use authentication ID instead of user ID for SIP registration -->
|
||||
|
||||
<Line_Enable_1_>yes</Line_Enable_1_>
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
<flat-profile>
|
||||
<Station_Name>{v_line1_displayname}</Station_Name>
|
||||
<Profile_Rule>http://{domain_name}{v_project_path}/app/provision/?mac=$MA</Profile_Rule>
|
||||
<Station_Name>{$v_line1_displayname}</Station_Name>
|
||||
<Profile_Rule>http://{$domain_name}{$v_project_path}/app/provision/?mac=$MA</Profile_Rule>
|
||||
<Resync_Periodic>3600</Resync_Periodic>
|
||||
<Primary_NTP_Server>pool.ntp.org</Primary_NTP_Server>
|
||||
<Upgrade_Rule></Upgrade_Rule>
|
||||
<Voice_Mail_Number>*97</Voice_Mail_Number>
|
||||
<Time_Zone>GMT{v_time_zone_offset}</Time_Zone>
|
||||
<Time_Zone>GMT{$v_time_zone_offset}</Time_Zone>
|
||||
<Daylight_Saving_Time_Rule>start=9/27/0/2;end=4/4/0/3;save=0</Daylight_Saving_Time_Rule>
|
||||
<Blind_Attn-Xfer_Enable_1_>No</Blind_Attn-Xfer_Enable_1_>
|
||||
<Proxy_1_>{domain_name}</Proxy_1_>
|
||||
<Display_Name_1_>{v_line1_displayname}</Display_Name_1_>
|
||||
<User_ID_1_>{v_line1_user_id}</User_ID_1_>
|
||||
<Password_1_>{v_line1_user_password}</Password_1_>
|
||||
<Proxy_1_>{$domain_name}</Proxy_1_>
|
||||
<Display_Name_1_>{$v_line1_displayname}</Display_Name_1_>
|
||||
<User_ID_1_>{$v_line1_user_id}</User_ID_1_>
|
||||
<Password_1_>{$v_line1_user_password}</Password_1_>
|
||||
<Use_Auth_ID_1_>No</Use_Auth_ID_1_>
|
||||
<Preferred_Codec_1_>G711u</Preferred_Codec_1_>
|
||||
<Proxy_2_>{domain_name}</Proxy_2_>
|
||||
<Display_Name_2_>{v_line2_displayname}</Display_Name_2_>
|
||||
<User_ID_2_>{v_line2_user_id}</User_ID_2_>
|
||||
<Password_2_>{v_line2_user_password}</Password_2_>
|
||||
<Proxy_2_>{$domain_name}</Proxy_2_>
|
||||
<Display_Name_2_>{$v_line2_displayname}</Display_Name_2_>
|
||||
<User_ID_2_>{$v_line2_user_id}</User_ID_2_>
|
||||
<Password_2_>{$v_line2_user_password}</Password_2_>
|
||||
<Use_Auth_ID_2_>No</Use_Auth_ID_2_>
|
||||
<Preferred_Codec_2_>G711u</Preferred_Codec_2_>
|
||||
<Dial_Plan_1_>
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
<flat-profile>
|
||||
<Station_Name>{v_line1_displayname}</Station_Name>
|
||||
<Profile_Rule>http://{domain_name}{v_project_path}/app/provision/?mac=$MA</Profile_Rule>
|
||||
<Station_Name>{$v_line1_displayname}</Station_Name>
|
||||
<Profile_Rule>http://{$domain_name}{$v_project_path}/app/provision/?mac=$MA</Profile_Rule>
|
||||
<Resync_Periodic>3600</Resync_Periodic>
|
||||
<Primary_NTP_Server>pool.ntp.org</Primary_NTP_Server>
|
||||
<Upgrade_Rule></Upgrade_Rule>
|
||||
<Voice_Mail_Number>*97</Voice_Mail_Number>
|
||||
<Time_Zone>GMT{v_time_zone_offset}</Time_Zone>
|
||||
<Time_Zone>GMT{$v_time_zone_offset}</Time_Zone>
|
||||
<Daylight_Saving_Time_Rule>start=9/27/0/2;end=4/4/0/3;save=0</Daylight_Saving_Time_Rule>
|
||||
<Blind_Attn-Xfer_Enable_1_>No</Blind_Attn-Xfer_Enable_1_>
|
||||
<Proxy_1_>{domain_name}</Proxy_1_>
|
||||
<Display_Name_1_>{v_line1_displayname}</Display_Name_1_>
|
||||
<User_ID_1_>{v_line1_user_id}</User_ID_1_>
|
||||
<Password_1_>{v_line1_user_password}</Password_1_>
|
||||
<Proxy_1_>{$domain_name}</Proxy_1_>
|
||||
<Display_Name_1_>{$v_line1_displayname}</Display_Name_1_>
|
||||
<User_ID_1_>{$v_line1_user_id}</User_ID_1_>
|
||||
<Password_1_>{$v_line1_user_password}</Password_1_>
|
||||
<Use_Auth_ID_1_>No</Use_Auth_ID_1_>
|
||||
<Preferred_Codec_1_>G711u</Preferred_Codec_1_>
|
||||
<Proxy_2_>{domain_name}</Proxy_2_>
|
||||
<Display_Name_2_>{v_line2_displayname}</Display_Name_2_>
|
||||
<User_ID_2_>{v_line2_user_id}</User_ID_2_>
|
||||
<Password_2_>{v_line2_user_password}</Password_2_>
|
||||
<Proxy_2_>{$domain_name}</Proxy_2_>
|
||||
<Display_Name_2_>{$v_line2_displayname}</Display_Name_2_>
|
||||
<User_ID_2_>{$v_line2_user_id}</User_ID_2_>
|
||||
<Password_2_>{$v_line2_user_password}</Password_2_>
|
||||
<Use_Auth_ID_2_>No</Use_Auth_ID_2_>
|
||||
<Preferred_Codec_2_>G711u</Preferred_Codec_2_>
|
||||
<Dial_Plan_1_>
|
||||
|
||||
Reference in New Issue
Block a user