Choicecloud Posted March 8, 2021 Report Posted March 8, 2021 Hello, we are in the process of doing custom development into our own CRM , our CRM is developed using PHP. Our developers have studied the online guides but having issues to understand the code. My Lead developer has sent me this email to find-out as follows: Sir, I have gone through every document link that you have provided me. and I have realized the curl document has not defined the prerequisite things. Can you directly ask the support team for a PHP code to add an extension for users? with one code I will be able to understand the rest of things. We simply need a single line of code in PHP to add an extension successfully in Vodia and with that they can understand the syntax. Quote
Vodia PBX Posted March 8, 2021 Report Posted March 8, 2021 If you can control the code in the CRM system you could use the <pbxcall> tag mentioned in https://doc.vodia.com/docs/click2dial. The formatting of that page was broken with the migration from our previous documentation platform — we have to work in re-formatting it. Quote
Choicecloud Posted March 15, 2021 Author Report Posted March 15, 2021 sir i was trying to run WebRTC Click to Call API .but it is constantly asking for login credentials.when add it is redirecting to same page again n again.kindly help. Quote
Vodia PBX Posted March 15, 2021 Report Posted March 15, 2021 Well you can start calls only if you have the password. Otherwise you will soon have a lot of calls on your server, especially if you are running it on a public IP! Quote
Guest Ola Posted March 15, 2021 Report Posted March 15, 2021 Yes. We do have the correct password, as indicated earlier once we typed the password it went straight back to the login page. This is a development platform that will be scrap after the project. Quote
Vodia PBX Posted March 15, 2021 Report Posted March 15, 2021 IMHO if you control your own CRM code, I would rather go for the integration that requires those changes on the backend (see https://doc.vodia.com/click2dial "Click-to-dial Embedded into HTML"). Then when the user has logged into the CRM system, there is no need to enter a password. All the user needs to do is click on the phone number that you present to the browser. The user can also disconnect the call from there. Quote
Choicecloud Posted March 16, 2021 Author Report Posted March 16, 2021 18 hours ago, Vodia PBX said: Well you can start calls only if you have the password. Otherwise you will soon have a lot of calls on your server, especially if you are running it on a public IP! Quote
Choicecloud Posted March 16, 2021 Author Report Posted March 16, 2021 Now WebRTC Click to Call API is running but call is not showing on the receiving end. `<div style="cursor:pointer;" onclick="window.open('http://PBX_IP_OR_DOMAIN/makecall.htm?destnumber=1234567890&user=YOURUSERNAME@DOMAIN.COM&pass=MD5HASH&time=current_time&duration=3600', '', 'width=230, height=300, left=200, location=0');">John Smith</div><div style="cursor:pointer;" onclick="window.open('http://PBX_IP_OR_DOMAIN/makecall.htm?destnumber=1234567890&user=YOURUSERNAME@DOMAIN.COM&pass=MD5HASH&time=current_time&duration=3600&lang=en', '', 'width=230, height=300, left=200, location=0');">John Smith</div>` I have used the above code. Quote
Vodia Telephone System Posted March 16, 2021 Report Posted March 16, 2021 We would need more debug information not that you are presumably doing it correctly but the call not being made. Could you please open a ticket with Vodia with the last post. Also the SIP logs. OR if it's only a test system, maybe we can have the url, login and password of the admin of the system, if it's a public system so we can exactly see what's happening and advice accordingly. You can add that in the ticket if you want. Quote
Support Posted March 16, 2021 Report Posted March 16, 2021 On 3/15/2021 at 8:32 AM, Choicecloud said: sir i was trying to run WebRTC Click to Call API .but it is constantly asking for login credentials.when add it is redirecting to same page again n again.kindly help. From your URL here (as much as we can see) 1. Please try using https instead of http 2. Your domain should be xyz.com and not http://xyz.com 3. You don't need to escape "&" with "/". Also as one of our members mentioned, sharing admin login to your PBX can help. Quote
Choicecloud Posted March 17, 2021 Author Report Posted March 17, 2021 Hello, we have created a support ticket along with the PBX credentials requested to help review. Re: PHP Code Integrations into our CRM Posted in the Forum Ticket# 486142 - created just now Quote
Guest Choicecloud Posted March 18, 2021 Report Posted March 18, 2021 Please kindly help reply to our support ticket raised. Quote
Support Posted March 18, 2021 Report Posted March 18, 2021 It has already been replied to 18 hours ago. Please also check on tickets and forums for updates. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.