Choicecloud 0 Posted March 8 Report Share Posted March 8 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 Link to post Share on other sites
Vodia PBX 0 Posted March 8 Report Share Posted March 8 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 Link to post Share on other sites
Choicecloud 0 Posted March 15 Author Report Share Posted March 15 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 Link to post Share on other sites
Vodia PBX 0 Posted March 15 Report Share Posted March 15 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 Link to post Share on other sites
Guest Ola Posted March 15 Report Share Posted March 15 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 Link to post Share on other sites
Vodia PBX 0 Posted March 15 Report Share Posted March 15 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 Link to post Share on other sites
Choicecloud 0 Posted March 16 Author Report Share Posted March 16 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 Link to post Share on other sites
Choicecloud 0 Posted March 16 Author Report Share Posted March 16 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 Link to post Share on other sites
Vodia Telephone System 0 Posted March 16 Report Share Posted March 16 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 Link to post Share on other sites
Support 0 Posted March 16 Report Share Posted March 16 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 Link to post Share on other sites
Choicecloud 0 Posted March 17 Author Report Share Posted March 17 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 Link to post Share on other sites
Guest Choicecloud Posted March 18 Report Share Posted March 18 Please kindly help reply to our support ticket raised. Quote Link to post Share on other sites
Support 0 Posted March 18 Report Share Posted March 18 It has already been replied to 18 hours ago. Please also check on tickets and forums for updates. Quote Link to post Share on other sites
Recommended Posts