VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
omakhileshchand at gma... Guest
|
Posted: Mon Nov 04, 2013 11:23 pm Post subject: [asterisk-users] two steps when calling from web! |
|
|
Dear All.
When I calling a number from web, my softphone show me "Answer" and "Decline" bottoms, and then I have to click Answer to call the number. it seems it is two step to calling the number. If I type the number direct to my client softphone, it calls directly the number without show me to choose Answer to calling.
First call connect with client and then come into my screen and showing me to choose "Answer" and "Decline".I'm not able to listen ringing sound because call is connecting first with client and then connect with my softphone.
My source code is in AMI socket open to make call from web. how can I call direct to the number? |
|
Back to top |
|
|
omakhileshchand at gma... Guest
|
Posted: Fri Nov 08, 2013 12:33 am Post subject: [asterisk-users] two steps when calling from web! |
|
|
Dear All.
When I calling a number from web, my softphone show me "Answer" and "Decline" bottoms, and then I have to click Answer to call the number. it seems it is two step to calling the number. If I type the number direct to my client softphone, it calls directly the number without show me to choose Answer to calling.
First call connect with client and then come into my screen and showing me to choose "Answer" and "Decline".I'm not able to listen ringing sound because call is connecting first with client and then connect with my softphone.
My source code is in AMI socket open to make call from web. how can I call direct to the number? |
|
Back to top |
|
|
asterisk_list at earth... Guest
|
Posted: Fri Nov 08, 2013 4:08 am Post subject: [asterisk-users] two steps when calling from web! |
|
|
On Friday 08 November 2013, akhilesh chand wrote:
Quote: | When I calling a number from web, my softphone show me "Answer" and
"Decline" bottoms, and then I have to click Answer to call the number. it
seems it is two step to calling the number. If I type the number direct to
my client softphone, it calls directly the number without show me to choose
Answer to calling.
First call connect with client and then come into my screen and showing me
to choose "Answer" and "Decline".I'm not able to listen ringing sound
because call is connecting first with client and then connect with my
softphone.
|
That's the normal way things work.
If you use Asterisk to set up a call, either through AMI or by means of a call
file, then you have to lift your receiver to set the other end ringing. (You
can prove this easily enough.) Even if the phone on your end is a softphone,
you still have to "lift the receiver" by pressing "Answer".
What you really want, is to start your softphone and make it dial the number.
How exactly to do this depends on your setup.
--
AJS
Answers come *after* questions.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
omakhileshchand at gma... Guest
|
Posted: Tue Nov 12, 2013 1:06 am Post subject: [asterisk-users] two steps when calling from web! |
|
|
I'm making a call from web(click to dial) and able to successfully dial to number but problem with when i dial a number call goes to first client and after that call come into my softphone show me "Answer" and "Decline" bottoms, and then I have to click Answer to call the number. it seems it is two step to calling the number. If I type the number direct to my client softphone, it calls directly the number without show me to choose Answer to calling.
I want integrate web application with softphone suppose to I will click on dial button on web call goes to via my softphone or i will get ringing(or ISDN status of call) sound.
On Fri, Nov 8, 2013 at 2:37 PM, A J Stiles <asterisk_list@earthshod.co.uk (asterisk_list@earthshod.co.uk)> wrote:
Quote: | On Friday 08 November 2013, akhilesh chand wrote:
Quote: | When I calling a number from web, my softphone show me "Answer" and
"Decline" bottoms, and then I have to click Answer to call the number. it
seems it is two step to calling the number. If I type the number direct to
my client softphone, it calls directly the number without show me to choose
Answer to calling.
First call connect with client and then come into my screen and showing me
to choose "Answer" and "Decline".I'm not able to listen ringing sound
because call is connecting first with client and then connect with my
softphone.
|
That's the normal way things work.
If you use Asterisk to set up a call, either through AMI or by means of a call
file, then you have to lift your receiver to set the other end ringing. (You
can prove this easily enough.) Even if the phone on your end is a softphone,
you still have to "lift the receiver" by pressing "Answer".
What you really want, is to start your softphone and make it dial the number.
How exactly to do this depends on your setup.
--
AJS
Answers come *after* questions.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
asterisk_list at earth... Guest
|
Posted: Tue Nov 12, 2013 4:53 am Post subject: [asterisk-users] two steps when calling from web! |
|
|
(re-ordered correctly)
On Tuesday 12 November 2013, akhilesh chand wrote:
Quote: | I'm making a call from web(click to dial) and able to successfully dial to
number but problem with when i dial a number call goes to first client and
after that call come into my softphone show me "Answer" and "Decline"
bottoms, and then I have to click Answer to call the number. it seems it is
two step to calling the number. If I type the number direct to my client
softphone, it calls directly the number without show me to choose Answer to
calling.
I want integrate web application with softphone suppose to I will click on
dial button on web call goes to via my softphone or i will get ringing(or
ISDN status of call) sound.
|
As I already pointed out, you have to pick your handset up to cause a call to
be set up. That is just the way telephony works. It's been like that ever
since "Mr Watson, come here at once. I want you".
If your softphone can be made to pick up by means of a special SIP header,
then you might be able to insert this. Probably the easiest way is by
creating a special context in your dialplan which will send the necessary
header, and having your call file use this context.
Otherwise, it's more complicated; but -- assuming you can pass parameters to
your softphone to invoke it with the handset up and dialling a number; it
probably has a manpage, so look there first -- still just about within the
bounds of doability. You will have to create a little daemon on your local
machine which runs as your UID, and invokes your softphone client with a
number ready to dial. The chapter on "sockets" in your book on your favourite
programming language will help you with writing this. Then, your "click-to-
call" CGI script must, instead of generating a call file, fire off a request to
your softphone-starting daemon.
(If you can spare the resources to run a web server on your local machine,
then use that; and start the softphone from an ordinary CGI script. The IOCCC
version of Hibachi is Public Domain, and not subject to the restrictive
licence of later versions which includes legally-unenforcible terms.)
N.B. As this involves a network request initiating a program, you need to
MAKE SURE THAT WHATEVER PORT YOU USE FOR THE DAEMON TO LISTEN ON IS FIREWALLED
OFF FROM THE OUTSIDE WORLD!
--
AJS
Answers come *after* questions.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|