A P P E N D I X A Sample Configuration Files SIP Phone Market-Specific Configuration For information about dial plans for other countries, contact Cisco support. Note The provisioning in these examples is based on Cisco BTS 10200 Release 4.4. China Dial Plan Using a Cisco 7960 SIP Phone A file (xxxx.xml) with the following dial_plan must be stored in the same directory as the SIP<mac>.cnf to support the China dialplan. Add the dial_template: “china_dialplan.xml.” china_dialplan.xml <DIALTEMPLATE> <TEMPLATE MATCH="11." Route="Default" Timeout="0" User="Phone"/> <!-- -> <TEMPLATE MATCH="........" Route="Default" Timeout="0" User="Phone"/> <!-- --> <TEMPLATE MATCH="01.11." Route="Default" Timeout="0" User="Phone"/> <!-- --> <TEMPLATE MATCH="02.11." Route="Default" Timeout="0" User="Phone"/> <!-- --> <TEMPLATE MATCH="0...11." Route="Default" Timeout="0" User="Phone"/> <!-- --> <TEMPLATE MATCH="00......*" Route="Default" Timeout="2" User="Phone"/> <!-- --> <TEMPLATE MATCH="01........." Route="Default" Timeout="0" User="Phone"/> <!-- --> <TEMPLATE MATCH="02........." Route="Default" Timeout="0" User="Phone"/> <!-- --> <TEMPLATE MATCH="\*..\**" Route="Default" Timeout="2" User="Phone"/> <!---> <TEMPLATE MATCH="#..\**" Route="Default" Timeout="2" User="Phone"/> <!-- --> <TEMPLATE MATCH="\*..#*" Route="Default" Timeout="0" User="Phone"/> <!-- --> <TEMPLATE MATCH="#..#" Route="Default" Timeout="0" User="Phone"/> <!-- --> <TEMPLATE MATCH="179.*" Route="Default" Timeout="2" User="Phone"/> <!-- --> <TEMPLATE MATCH="............." Route="Default" Timeout="2" User="Phone"/> <!-- --> <TEMPLATE MATCH="*" Route="Default" Timeout="2" User="Phone"/> <!-- --> </DIALTEMPLATE> Cisco BTS 10200 Softswitch SIP Protocol Provisioning Guide OL-5351-03 A-1 Appendix A Sample Configuration Files SIP Phone Market-Specific Configuration Using a Cisco 7905 SIP Phone Step 1 Add the following line to ld<macaddr>.txt file. Step 2 Convert it to binary by using cfgfmt.exe and upload the file to the TFTP server. dial_plan: 11.|........|01.11.|02.11.|0...11.|00.....St2-|01.........|02.........|0..........|*..*St2 -|#..#|*#..*St2-|#..*St2-|179.St2-|...................... North America Dial Plan Using a Cisco 7960 SIP Phone Refer to the Cisco SIP IP Phone 7940/7960 Administrator Guide, Version 4.0. Using a Cisco 7905 SIP Phone For further details refer to the Cisco IP Phone 7905 Series Administration Guide. Cisco IP Phone 7960 Sample Configuration File ########################################################## SIPDefault.cnf file ########################################################## # Image Version image_version: "P0S3-WF-X-20" # Proxy Server proxy1_address: proxy2_address: proxy3_address: proxy4_address: proxy5_address: proxy6_address: "10.89.224.18" "" "" "" "" "" # Proxy Server Port (default - 5060) proxy1_port:"5060" proxy2_port:"" proxy3_port:"" proxy4_port:"" proxy5_port:"" proxy6_port:"" # Emergency Proxy info proxy_emergency: "10.89.224.18" proxy_emergency_port: "5060" # Backup Proxy info proxy_backup: "10.89.224.18" proxy_backup_port: "5060" Cisco BTS 10200 Softswitch SIP Protocol Provisioning Guide A-2 OL-5351-03 Appendix A Sample Configuration Files SIP Phone Market-Specific Configuration # Proxy Registration (0-disable (default), 1-enable) proxy_register: "1" # Phone Registration Expiration [1-3932100 sec] (Default - 3600) timer_register_expires: "3600" # Codec for media stream (g711ulaw (default), g711alaw, g729) preferred_codec: "g711ulaw" # TOS bits in media stream [0-5] (Default - 5) tos_media: "5" # Enable VAD (0-disable (default), 1-enable) enable_vad: "0" # Inband DTMF Settings (0-disable, 1-enable (default)) dtmf_inband: "1" # Out of band DTMF Settings (none-disable, avt-avt enable (default), avt_always - always avt) dtmf_outofband: "avt" # DTMF dB Level Settings (1-6dB down, 2-3db down, 3-nominal (default), 4-3db up, 5-6dB up) dtmf_db_level: "3" # SIP Timers timer_t1: "500" timer_t2: "4000" sip_retx: "10" sip_invite_retx: "6" timer_invite_expires: "180" ; Default 500 msec ; Default 4 sec ; Default 11 ; Default 7 ; Default 180 sec # Setting for Message speeddial to UOne box messages_uri: "9195551212" #********* Release 2 new config parameters ********** # TFTP Phone Specific Configuration File Directory tftp_cfg_dir: "./sip_phone/" # Time Server sntp_mode: "directedbroadcast" sntp_server: "171.68.10.150" time_zone: "EST" dst_offset: "+1" dst_start_month: "April" dst_start_day: "" dst_start_day_of_week: "Sunday" dst_start_week_of_month: "1" dst_start_time: "02/00" dst_stop_month: "Oct" dst_stop_day: "" dst_stop_day_of_week: "Sunday" dst_stop_week_of_month: "8" dst_stop_time: "02/00" dst_auto_adjust: "1" # Do Not Disturb Control (0-off, 1-on, 2-off with no user control, 3-on with no user control) dnd_control: "0" ; Default 0 (Do Not Disturb feature is off) # Caller ID Blocking (0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no user con trol) callerid_blocking: "0" ; Default 0 (Disable sending all calls as anonymous) Cisco BTS 10200 Softswitch SIP Protocol Provisioning Guide OL-5351-03 A-3 Appendix A Sample Configuration Files SIP Phone Market-Specific Configuration # Anonymous Call Blocking (0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no use r control) anonymous_call_block: "0" ; Default 0 (Disable blocking of anonymous calls) # DTMF AVT Payload (Dynamic payload range for AVT tones - 96-127) dtmf_avt_payload: "101" ; Default 100 # XML file that specifies the dialplan desired dial_template: "dialplan" # Network Media Type (auto, full100, full10, half100, half10) network_media_type: "auto" #Autocompletion During Dial (0-off, 1-on [default]) autocomplete: "1" #Time Format (0-12hr, 1-24hr [default]) time_format_24hr: "0" # Services URL points to XML on Stan-btc services_url: "http://64.101.150.57/servlet/FeatureProvisioning" # services_url: "http://64.101.150.57/servlet/CallForwarding" # Enable telnet debugging telnet_level: 2 ########################################################## ########################################################## # SIP0008ABC456.cnf ########################################################## # SIP Confiuration Generic File (start) # Line 1 Settings line1_name: "9022551232" line1_displayname: "SIP8" line1_authname: "UNPROVISIONED" line1_password: "UNPROVISIONED" proxy1_address: 10.89.224.63 proxy1_port: 5060 # Line 2 Settings line2_name: "" line2_displayname: "" line2_authname: "UNPROVISIONED" line2_password: "UNPROVISIONED" ; Line 1 Extension\User ID ; Line 1 Display Name ; Line 1 Registration Authentication ; Line 1 Registration Password ; Line 2 Extension\User ID ; Line 2 Display Name ; Line 2 Registration Authentication ; Line 2 Registration Password # Line 3 Settings line3_name: "" line3_displayname: "" line3_authname: "UNPROVISIONED" line3_password: "UNPROVISIONED" ; ; ; ; Line Line Line Line 3 3 3 3 Extension\User ID Display Name Registration Authentication Registration Password # Line 4 Settings line4_name: "" line4_displayname: "" line4_authname: "UNPROVISIONED" line4_password: "UNPROVISIONED" ; ; ; ; Line Line Line Line 4 4 4 4 Extension\User ID Display Name Registration Authentication Registration Password Cisco BTS 10200 Softswitch SIP Protocol Provisioning Guide A-4 OL-5351-03 Appendix A Sample Configuration Files SIP Phone Market-Specific Configuration # Line 5 Settings line5_name: "" line5_displayname: "" line5_authname: "UNPROVISIONED" line5_password: "UNPROVISIONED" ; ; ; ; Line Line Line Line 5 5 5 5 Extension\User ID Display Name Registration Authentication Registration Password # Line 6 Settings line6_name: "" line6_displayname: "" line6_authname: "UNPROVISIONED" line6_password: "UNPROVISIONED" ; ; ; ; Line Line Line Line 6 6 6 6 Extension\User ID Display Name Registration Authentication Registration Password # Phone Label (Text desired to be displayed in upper right corner) phone_label: "SIP Phone 8" ; Has no effect on SIP messaging # Time Zone phone will reside in time_zone: CST # XML file that specifies the dialplan desired dial_template: "dialplan" # SIP Configuration Generic File (stop) ########################################################## Cisco IP Phone 7905 Sample Configuration File ld0008a3d31e4a.txt #tx upgradecode:3,0x501,0x0400,0x0100,2.3.4.5,69,0x030218A,LD0101SIP030218A.zup UIPassword:Cisco dhcp:1 Proxy:1.2.3.4 UID:4692557907 PWD:user LoginID:user UseLoginID:1 SIPRegOn:1 RxCodec:2 TxCodec:2 Timezone:20 DNS1IP:0.0.0.0 UseTftp:1 Cisco BTS 10200 Softswitch SIP Protocol Provisioning Guide OL-5351-03 A-5 Appendix A Sample Configuration Files SIP Phone Market-Specific Configuration Cisco BTS 10200 Softswitch SIP Protocol Provisioning Guide A-6 OL-5351-03
© Copyright 2024