Advertisement

03.31.2008 at 01:01PM PDT, ID: 23283780
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.2

Need help editing an xml file "zoiper.conf" for 200+ users

Asked by xuserx2000 in Extensible Markup Language (XML)

Tags: , , ,

Attached code is an xml file, used by "zoiper", which is a software voip client.  I have 200+ users and instead of inputing the account info 200+ times  I was wondering if anyone could give me a shortcut to edit this xml file via script...vbs / bat file...whatever...and save a copy of each one which will be downloaded to the "program files\zoiper" directory on client machines based on machine name during logon....

The only thing that needs to change in this xml file is "<username>3001</username> "...  I just need 3002, 3003, 3004.... etc. and save each one seperately as c:\zoiperconfigs\3001.conf, 3002.conf, 3003.conf...   etc.   all the way until 3200.
All other information is the same...account info is identical for everyone besides extension name.

I know there's an easy way to do this.....eas if you are a programmer anyway...  :)

help me out please...

Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
<?xml version="1.0" encoding="UTF-8" ?> 
- <options>
+ <general>
  <record_calls>0</record_calls> 
  <record_path /> 
  <always_on_top>0</always_on_top> 
  <automatic_popup_on_incoming_call>1</automatic_popup_on_incoming_call> 
  <popup_menu_on_incoming_call>1</popup_menu_on_incoming_call> 
  <user_data_visible>1</user_data_visible> 
  <volume_controls_visible>1</volume_controls_visible> 
  <log_visible>0</log_visible> 
  <default_account>3001</default_account> 
  <check_for_updates>1</check_for_updates> 
  <start_with_windows>0</start_with_windows> 
  <show_hints>0</show_hints> 
  <start_minimized>0</start_minimized> 
  <on_transfer_request_style>2</on_transfer_request_style> 
  <language>English</language> 
  </general>
+ <sip_options>
  <port>5060</port> 
  </sip_options>
+ <iax_options>
  <port>4569</port> 
  </iax_options>
+ <rtp_options>
  <port>8000</port> 
  <session_name>Zoiper_user</session_name> 
  <url>www.zoiper.com</url> 
  <email>support@zoiper.com</email> 
  </rtp_options>
+ <stun_options>
  <enable_stun>0</enable_stun> 
  <stun_host>stun.zoiper.com</stun_host> 
  <stun_port>3478</stun_port> 
  <stun_refresh_period>30</stun_refresh_period> 
  </stun_options>
+ <audio>
  <input_device /> 
  <output_device /> 
  <ringing_device /> 
  <use_echo_cancellation>1</use_echo_cancellation> 
  <use_audio_enhancement>1</use_audio_enhancement> 
  <ring_tone_file /> 
  <mic_boost>0</mic_boost> 
  <pc_speaker_ring>0</pc_speaker_ring> 
  <mute_on_early_media>0</mute_on_early_media> 
  <ring_when_talking>1</ring_when_talking> 
  <input_volume>1</input_volume> 
  <output_volume>0.64</output_volume> 
  <disable_dtmf_sounds>0</disable_dtmf_sounds> 
  </audio>
+ <transfer>
  <park_extension>700</park_extension> 
  <voicemail_prefix>mail</voicemail_prefix> 
  </transfer>
+ <diagnostics>
  <enable_debug_log>0</enable_debug_log> 
  </diagnostics>
+ <fax>
  <fax_enabled>0</fax_enabled> 
  <destination_folder /> 
  <custom_command /> 
  <automatic_display>1</automatic_display> 
  <automatic_print>0</automatic_print> 
  </fax>
+ <network>
  <signal_dscp>0</signal_dscp> 
  <media_dscp>0</media_dscp> 
  </network>
- <accounts>
- <account>
  <tech>1</tech> 
  <name>3001</name> 
  <host>192.168.3.2</host> 
  <username>3001</username> 
  <authentication_username /> 
  <password>9+K843ehKoX8t86nLCpIEA==</password> 
  <context>default</context> 
  <callerid /> 
  <number /> 
  <register_on_startup>1</register_on_startup> 
  <do_not_play_ringback_tones>0</do_not_play_ringback_tones> 
  <custom_codecs>0</custom_codecs> 
  <dtmf_style>0</dtmf_style> 
  </account>
  </accounts>
+ <codecs>
- <codec>
  <name>GSM</name> 
  <codec_id>1</codec_id> 
  <priority>1</priority> 
  <selected>1</selected> 
  </codec>
- <codec>
  <name>u-law</name> 
  <codec_id>0</codec_id> 
  <priority>2</priority> 
  <selected>1</selected> 
  </codec>
- <codec>
  <name>iLBC 20</name> 
  <codec_id>28</codec_id> 
  <priority>65535</priority> 
  <selected>0</selected> 
  </codec>
- <codec>
  <name>a-law</name> 
  <codec_id>6</codec_id> 
  <priority>65535</priority> 
  <selected>0</selected> 
  </codec>
- <codec>
  <name>Speex</name> 
  <codec_id>24</codec_id> 
  <priority>65535</priority> 
  <selected>0</selected> 
  </codec>
- <codec>
  <name>iLBC 30</name> 
  <codec_id>27</codec_id> 
  <priority>65535</priority> 
  <selected>0</selected> 
  </codec>
  <use_default_speex_settings>1</use_default_speex_settings> 
  <enhance_decoding>1</enhance_decoding> 
  <quality>4</quality> 
  <bitrate>8</bitrate> 
  <variable_bit_rate>0</variable_bit_rate> 
  <average_bit_rate>0</average_bit_rate> 
  <complexity>3</complexity> 
  </codecs>
  </options>
 
Loading Advertisement...
 
[+][-]03.31.2008 at 01:03PM PDT, ID: 21248637

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.31.2008 at 10:53PM PDT, ID: 21251479

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Extensible Markup Language (XML)
Tags: zoiper, zoiper, vbs visual basic xml, xml edit
Sign Up Now!
Solution Provided By: bigjokey
Participating Experts: 1
Solution Grade: A
 
 
[+][-]03.31.2008 at 10:55PM PDT, ID: 21251490

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628