3cx soft phone auto provisioning

Forum for the 3CX SIP phone client (Sip phone) User to User - Answers are provided by the community. 3CX does NOT provide technical support via this forum.

Moderators: kevin, 3CX staff

3cx soft phone auto provisioning

Postby tgj » Wed Jul 27, 2011 4:06 pm

Hi,

I'm trying to get http provisioning to work for the 3cx soft phone. I want the soft phone to register to my asterisk server.

I have added my provisioning site to the account "Perform provisioning from the following URL", the problem is that I cannot see that the URL is ever called when I look at my web logs.

When is the phone supposed to call the provisioning URL? During startup? when I press OK on the account?

Also I have not been able to find much documentation on the XML to use for the provisioning.

Thank you all in advance.

regards
thorben.dk
tgj
New User
 
Posts: 5
Joined: Wed Jul 27, 2011 3:58 pm

Re: 3cx soft phone auto provisioning

Postby Vali_3CX » Fri Jul 29, 2011 10:26 am

Hi
You may check the following topic:
documentation-on-automatic-provisioning-19032.html
3CXPhone software developer
Vali_3CX
3CX Support
3CX Support
 
Posts: 901
Joined: Fri Dec 12, 2008 4:11 pm
Location: Nicosia, Cyprus

Re: 3cx soft phone auto provisioning

Postby tgj » Sat Jul 30, 2011 2:52 pm

Vali_3CX wrote:Hi
You may check the following topic:
documentation-on-automatic-provisioning-19032.html


I read that thread before I posted my question, and it does not answer my question:

"When is the phone supposed to call the provisioning URL? During startup? when I press OK on the account?"

Regards
Thorben
tgj
New User
 
Posts: 5
Joined: Wed Jul 27, 2011 3:58 pm

Re: 3cx soft phone auto provisioning

Postby eagle2 » Sat Jul 30, 2011 3:04 pm

Upon installation you either choose 'Create new account' or 'Autoprovision phone'.
Before that you must have configured the extension for provisioning in 3CX server.
Orlin Shopov
Eagle Engineering Ltd.
http://eagle-engineering.net
3CX Certified Professional
---
eagle2
3CX Valued Professional
3CX Valued Professional
 
Posts: 657
Joined: Wed Apr 27, 2011 10:04 am

Re: 3cx soft phone auto provisioning

Postby tgj » Sun Jul 31, 2011 7:09 am

eagle2 wrote:Upon installation you either choose 'Create new account' or 'Autoprovision phone'.
Before that you must have configured the extension for provisioning in 3CX server.


I don't have a 3CX server, as I wrote in my first post, I want to provision the phone to work with my asterisk server.
tgj
New User
 
Posts: 5
Joined: Wed Jul 27, 2011 3:58 pm

Re: 3cx soft phone auto provisioning

Postby eagle2 » Sun Jul 31, 2011 7:47 am

Sorry, I missed the 'Asterisk' point.

Search the forum, there was a post explaining how to modify the config file of 3CX softphone. This should solve the issue, if applicable.

Regards
Orlin Shopov
Eagle Engineering Ltd.
http://eagle-engineering.net
3CX Certified Professional
---
eagle2
3CX Valued Professional
3CX Valued Professional
 
Posts: 657
Joined: Wed Apr 27, 2011 10:04 am

Re: 3cx soft phone auto provisioning

Postby tgj » Sun Jul 31, 2011 4:07 pm

eagle2 wrote:Sorry, I missed the 'Asterisk' point.

Search the forum, there was a post explaining how to modify the config file of 3CX softphone. This should solve the issue, if applicable.

Regards


I think you are missing the question all together. I am asking: "When is the phone supposed to call the provisioning URL? During startup? when I press OK on the account?".

I have searched this forum extensively, and not found the answer to my question.
tgj
New User
 
Posts: 5
Joined: Wed Jul 27, 2011 3:58 pm

Re: 3cx soft phone auto provisioning

Postby Vali_3CX » Sun Jul 31, 2011 8:19 pm

Hi Thorben

3CXPhone reads the provisioning data before every first registration on any account - therefore, your assumption is correct: when 3CXPhone starts AND when you press OK on accounts' dialog.

About provisioning file:
- the two most important things is to have the proper XML format and to be accessible by HTTP (therefore C:\, file://, ftp://, https:// and so on are not accepted, only http://).
- There is no requirement or checking for this file to reside on the same PBX's IP - PBX might be on 10.0.0.1 while provisioning file on http://www.google.com/3cxphone_provisioning.xml. Using such kind of "distribution", with a "provisioning server", perhaps using some PHP scripts on it, you may create a centralized, per-"company" provisioning server.

Hope it helps
Regards
vali
3CXPhone software developer
Vali_3CX
3CX Support
3CX Support
 
Posts: 901
Joined: Fri Dec 12, 2008 4:11 pm
Location: Nicosia, Cyprus

Re: 3cx soft phone auto provisioning

Postby eagle2 » Sun Jul 31, 2011 8:32 pm

Hi Thorben,

the link from Vali is what I meant -- I've seen either this or similar post somewhere in the forums.
Hope this solves your issue.

Regards
Orlin Shopov
Eagle Engineering Ltd.
http://eagle-engineering.net
3CX Certified Professional
---
eagle2
3CX Valued Professional
3CX Valued Professional
 
Posts: 657
Joined: Wed Apr 27, 2011 10:04 am

Re: 3cx soft phone auto provisioning

Postby tgj » Mon Aug 01, 2011 5:47 pm

Dear Vali_3CX,

Thank you very much for your answer, that helped a lot.

I downloaded a 3CXSoft phone from a voip provider, and when I started the 3CX Soft Phone it was configured to my extension at the voip provider. This was very neat, and I was wondering if I could do that somehow, and offer that to my customers? Is it possible to preconfigure a 3CX Soft Phone to an asterisk extension?

Regards
thorben.dk
tgj
New User
 
Posts: 5
Joined: Wed Jul 27, 2011 3:58 pm

Re: 3cx soft phone auto provisioning

Postby Vali_3CX » Tue Aug 02, 2011 7:24 pm

tgj wrote:I downloaded a 3CXSoft phone from a voip provider, and when I started the 3CX Soft Phone it was configured to my extension at the voip provider. This was very neat

Hi
Hmm, this is something completely new for me... I'm not interested to know this provider, I'm interested to know what kind of 3CXphone installer was - msi, zip, .. ? Which 3CXPhone version it installed, as shown in About menu?

Now, about your question:

From my knowledge, the only way to achieve what you want - a preconfigured 3CXPhone installation - is to create your own installer. 3CXPhone installer does not write anything in user's profile (C:\documents and settings\user_name\Local Settings\Application data\3CX Voip Phone). Therefore, your custom installer should copy all existing binaries from C:\Program Files\3CXphone in a similar location (what current installer does) AND, additionally, to copy a preconfigured 3CXVoipPhone.ini in user's folder mentioned above. If you want a "dynamic" configuration of that preconfigured account, it requires only name and the provisioning URL - therefore, after install, 3CXPhone will read that account, will read the provisioning data from specified URL, then will register.

Regards
vali
3CXPhone software developer
Vali_3CX
3CX Support
3CX Support
 
Posts: 901
Joined: Fri Dec 12, 2008 4:11 pm
Location: Nicosia, Cyprus

Re: 3cx soft phone auto provisioning

Postby eagle2 » Tue Aug 02, 2011 9:09 pm

Have a look on this related threat:
documentation-on-automatic-provisioning-19032.html
Orlin Shopov
Eagle Engineering Ltd.
http://eagle-engineering.net
3CX Certified Professional
---
eagle2
3CX Valued Professional
3CX Valued Professional
 
Posts: 657
Joined: Wed Apr 27, 2011 10:04 am


Return to 3CX VoIP Phone (Community-led, no tech support)


Who is online

Users browsing this forum: No registered users and 0 guests

Announcements: