waitForAnswer on the Socket Interface
Hi, Can somebody tell me how to achieve the same behavuior as session.waitForAnswer via the socket interface? That is, when i call a device, i want to block until the call is completely answered (not just early media). Thanks, Klaus. -- Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a
Then originate the call with {ignore_early_media=true}sofia/blah/blah, It will not return till its actually answered. /b On Jan 15, 2009, at 12:55 PM, Klaus Teller wrote:
Hi,
Can somebody tell me how to achieve the same behavuior as session.waitForAnswer via the socket interface?
That is, when i call a device, i want to block until the call is completely answered (not just early media).
Thanks, Klaus. --
Klaus, What is your dialstring? If you ignore_early_media=true then I believe it will have the same net effect, but it would be good to know exactly what you're hoping to accomplish. -MC On Thu, Jan 15, 2009 at 10:55 AM, Klaus Teller <klaus.teller@gmx.net> wrote:
Hi,
Can somebody tell me how to achieve the same behavuior as session.waitForAnswer via the socket interface?
That is, when i call a device, i want to block until the call is completely answered (not just early media).
Thanks, Klaus. -- Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a
_______________________________________________ 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
Thanks folks! ignore_early_media=true solves my problem. The dialstring was just sofia/gateway/blah/blah. Klaus. -------- Original-Nachricht --------
Datum: Thu, 15 Jan 2009 11:06:57 -0800 Von: "Michael Collins" <msc@freeswitch.org> An: freeswitch-users@lists.freeswitch.org Betreff: Re: [Freeswitch-users] waitForAnswer on the Socket Interface
Klaus,
What is your dialstring? If you ignore_early_media=true then I believe it will have the same net effect, but it would be good to know exactly what you're hoping to accomplish.
-MC
On Thu, Jan 15, 2009 at 10:55 AM, Klaus Teller <klaus.teller@gmx.net> wrote:
Hi,
Can somebody tell me how to achieve the same behavuior as session.waitForAnswer via the socket interface?
That is, when i call a device, i want to block until the call is completely answered (not just early media).
Thanks, Klaus. -- Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a
_______________________________________________ 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
_______________________________________________ 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
participants (3)
-
Brian West
-
Klaus Teller
-
Michael Collins