Click to Dial using REFER
Hi, We are looking at how to implement some "Click to Dial" functionality, and have come across a "REFER based" method documented on several sites, e.g. http://www.tech-invite.com/Ti-sip-service-19.html, which shows the possibility of a Switch or some other agent sending a SIP REFER to a Client which causes that client to make an outbound call to the "referred to" URI. This is also documented elsewhere as:- "First, the SIP server sends an INVITE to one of the phones because phones usually do not accept REFER without prior invitation.The INVITE contains 0.0.0.0 as the IP address in SDP, because there is no remote phone (the message is sent by user agent within the SIP server which does not deal with media). After that, the server sends a REFER method which will ask the phone to send INVITE somewhere else.The URI of the called party is passed to the phone in a Refer-To header field of the REFER method." My question relates to whether or not it is possible to cause FS to issue this form of REFER via the Event Socket interface to implement this kind of click to dial functionality. Rgds, Neil
Why would you go round about to do this type of click to call when a simple example of doing this is in scripts/perl/call.cgi that uses ESL to do the entire call. /b On Oct 12, 2010, at 11:24 AM, Neil Burgess wrote:
My question relates to whether or not it is possible to cause FS to issue this form of REFER via the Event Socket interface to implement this kind of click to dial functionality.
Rgds, Neil
I guess I was wondering whether the refer method might give a better overall feel in that the phone will presumably act as though it is making an outbound call, rather than it ringing as an inbound call, which then requires it to be manually answered, before it is then bridged to other end! Although, I guess if I also use a Call-Info header, I can get an auto-answer out of it. I will go and experiment with this approach for the moment! Thanks for the pointer. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 12 October 2010 17:30 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Click to Dial using REFER Why would you go round about to do this type of click to call when a simple example of doing this is in scripts/perl/call.cgi that uses ESL to do the entire call. /b On Oct 12, 2010, at 11:24 AM, Neil Burgess wrote:
My question relates to whether or not it is possible to cause FS to issue this form of REFER via the Event Socket interface to implement this kind of click to dial functionality.
Rgds, Neil
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org ________________________________ No virus found in this message. Checked by AVG - www.avg.com<http://www.avg.com> Version: 10.0.1136 / Virus Database: 422/3191 - Release Date: 10/11/10
it's probably possible but it would require additional features coded into mod_sofia. On Tue, Oct 12, 2010 at 11:24 AM, Neil Burgess <neil.burgess@redmatter.com> wrote:
Hi,
We are looking at how to implement some “Click to Dial” functionality, and have come across a “REFER based” method documented on several sites, e.g. http://www.tech-invite.com/Ti-sip-service-19.html, which shows the possibility of a Switch or some other agent sending a SIP REFER to a Client which causes that client to make an outbound call to the “referred to” URI.
This is also documented elsewhere as:-
“First, the SIP server sends an INVITE to one of the phones because phones usually do not accept
REFER without prior invitation.The INVITE contains 0.0.0.0 as the IP address in SDP, because
there is no remote phone (the message is sent by user agent within the SIP server which does not
deal with media).
After that, the server sends a REFER method which will ask the phone to send INVITE
somewhere else.The URI of the called party is passed to the phone in a Refer-To header field of
the REFER method.”
My question relates to whether or not it is possible to cause FS to issue this form of REFER via the Event Socket interface to implement this kind of click to dial functionality.
Rgds,
Neil
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
participants (3)
-
Anthony Minessale
-
Brian West
-
Neil Burgess