[Freeswitch-dev] hangup detection takes long
Callum Guy
callum.guy at x-on.co.uk
Mon Dec 5 19:19:27 MSK 2011
Check the wiki: http://wiki.freeswitch.org/wiki/Mod_commands#originate
Find the below:
You can specify the UUID of an originated call by doing the following:
- Use create_uuid to generate a UUID to use.
- This will allow you to kill an originated call before it is answered
by using uuid_kill.
- If you specify origination_uuid it will remain the UUID for answered
call leg for the whole session.
Basically if you send the call using this syntax [originate
{origination_uuid=...}user/100 at domain.name.com] you can the know the uuid
before answer, and kill it if you like.
Does that help?
______________________________
Callum Guy
Developer
X-on
Framlingham Technology Centre
Station Road, Framlingham,
Suffolk, IP13 9EZ
T 0333 332 0116
E callum.guy at x-on.co.uk
X-on is a trading name of Storacall Technology Ltd a limited company
registered in England and Wales
Registered Office : Avaland House, 110 London Road, Apsley, Hemel
Hempstead, Herts, HP3 9SD
Company Registration No. 2578478
This email has been sent from X-on.The contents and attachments are
confidential to the sender and the intended addressees.If the message
is received by anyone other than the addressee please return the
message to the sender by replying to it and then delete the message
from
your computer without copying or disclosing the contents to
anyone.Opinions, conclusions and statements of intent in this email
are those of
the sender and do not bind X-on unless confirmed by authorised
representatives independently of this message.While best endeavours
have
been taken to avoid transmission of viruses, it is the responsibility
of the recipient to scan for these.Please note emails sent to and from
X-on
are routinely monitored for record keeping and quality control, to
ensure regulatory compliance and prevent unauthorised use of our
systems.
Please consider the environment before printing this email.
On 5 December 2011 12:35, murthy <murthysoft at gmail.com> wrote:
> When I originate a call from a module in FS using switch_ivr_originate(),
> if the callee rejects the call in the middle of the ringing, FS is not
> detecting the hangup cause and it is not getting the response immediatly.
> After some time (may be 60 seconds default value or the value of
> originate_timeout seconds) only it is getting NO_ANSWER (hangup cause)
> and comming out from the originate function. I have tried two ways to
> capture the result. One is event socket and other is using
> switch_ivr_originate function. Both are taking same time. How can I get the
> response/hangup cause immediatly when the calee rejects the call.
>
>
> Regards,
> Murthy.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20111205/795e7d3d/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev
mailing list