Jump to content

Click to Dial via links


Recommended Posts

Hello,

 

I need help for use fonction click to call via url

http://wiki.snomone.com/index.php?title=Click_to_Dial

 

I would make calls in use links with authentification inside..

But I don't understand the link for auth...

 

http://pbx/remote_call.htm?user=123%40domain1.com&dest=123456789&auth=123%40domain1.com%3Asecret

 

If my account is "301" and my password "password" , I put auth=301@pbx.company.com:password

 

full link:

http://172.16.122.100/remote_call.htm?user=301@pbx.company.com&dest=0102030405&auth=301@pbx.company.com:password

 

Is it ok?

because that don't work

 

Thanks for your reply

Link to comment
Share on other sites

:(

it works not.

 

If " &auth=myextwebpassword" is web password of extension, "secret" must be replaced by what?

 

I tried with :

pbx.company.com/remote_call.htm?user=440&dest=9786854321&auth=myextwebpassword@440@pbx.company.com%3Asecret

pbx.company.com/remote_call.htm?user=440&dest=9786854321&auth=myextwebpassword@440%3Asecret

pbx.company.com/remote_call.htm?user=440&dest=9786854321&auth=myextwebpassword@440@pbx.company.com:secret

pbx.company.com/remote_call.htm?user=440&dest=9786854321&auth=myextwebpassword@440@pbx.company.com%3AmyExtSipPassword

pbx.company.com/remote_call.htm?user=440&dest=9786854321&auth=myextwebpassword@440@pbx.company.com

pbx.company.com/remote_call.htm?user=440&dest=9786854321&auth=myextwebpassword@440

 

Tests with pbx.company.com = IP address SnomOne in IE and Chrome.

but none works.

 

I see also what:

 

AddressIpPBX/remote_call.htm?user=40&dest=9786854321

 

=> I get dialog box for log on AddressIpPBX:80 but I cannot log with

-Extension (40) +WebPassword

-Extension (40) +SipPassword

-Extension (40@pbx.company.com) +WebPassword

-Extension (40@pbx.company.com) +SipPassword

- admin + WebPassword

 

I don't understand :-/

On http://AddressIpPBX, I log with extension or admin correctly

Link to comment
Share on other sites

I make others tests.

 

With link following :

pbx/remote_call.htm?user=41@pbx.company.com&dest=9876543210&auth=41@pbx.company.com:MyExtWebPassword

 

it's work correctly in Chrome.

In Internet Explorer (11), authentification automatic works not... I get dialog box for log in.. I can log with 41@pbx.company.com and password. The call runs.

Link to comment
Share on other sites

There are several ways to start a call with the remote_call.htm link.

 

If you have already a session, then the session authentication will be used. This is interesting if you are logged in from a web browser.

 

Otherwise there are two ways for authentication. If the HTTP request contains a HTTP header "Authorization", it must contain a Basic authentication according to the RFC. In single domain environments where the domain names contain localhost, the username may not include the domain (123 instead of 123@domain). But it is better to include the domain anyway.

 

Otherwise the URL itself may contain the authentication in the form username:password. The username is the username as used in the user parameter in the URL. Make sure that special characters are escaped using %xx.

 

This click to dial works only if the extension has a web password set.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...