<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi again,<br>
<br>
It looks like there is something wrong relating to the
[CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL],<br>
but no idea how this happened.<br>
<br>
A bit desperately to solve this problem ASAP as we will have a demo
in a few days.<br>
<br>
Please could anybody give any clue?<br>
<br>
Many thanks!<br>
<br>
On 02/27/2012 11:34 AM, x.liu wrote:
<blockquote cite="mid:4F4B6A35.8030907@hw.ac.uk" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Now I tried it at a different machine with different version of
FS.<br>
The behaviour is slightly different. This time the softphone is
ringing but the recording extension is not correctly executed.<br>
The version for this test is "FreeSWITCH Version 1.0.head
(git-e566057 2011-12-14 10-27-31 -0500)"<br>
(The FS version for previous tries is "FreeSWITCH Version
1.0.head (git-54ddef0 2011-12-06 21-53-45 -0600)" )<br>
<br>
I copy part of terminal message here, hope it is not too much
message for the email list.<br>
<br>
--------------------------------------------------<br>
09:04.180223 [NOTICE] switch_channel.c:920 New Channel <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/external/anonymous@sipgate.co.uk">sofia/external/anonymous@sipgate.co.uk</a>
[7596ad60-6133-11e1-9141-8b50a5b8b13b]<br>
09:04.180223 [INFO] mod_dialplan_xml.c:481 Processing anonymous
<anonymous>->74997 in context public<br>
09:04.180223 [NOTICE] switch_channel.c:920 New Channel <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/1003@x.x.x.x">sofia/internal/1003@x.x.x.x</a>
[75976d18-6133-11e1-9145-8b50a5b8b13b]<br>
09:04.180223 [NOTICE] switch_channel.c:920 New Channel <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/74999@x.x.x.x">sofia/internal/74999@x.x.x.x</a>
[75977f24-6133-11e1-914a-8b50a5b8b13b]<br>
09:04.180223 [NOTICE] switch_channel.c:920 New Channel <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/anonymous@x.x.x.x">sofia/internal/anonymous@x.x.x.x</a>
[7597aab2-6133-11e1-914e-8b50a5b8b13b]<br>
09:04.180223 [INFO] mod_dialplan_xml.c:481 Processing anonymous
<anonymous>->1003 in context public<br>
09:04.180223 [NOTICE] switch_channel.c:920 New Channel <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/anonymous@x.x.x.x">sofia/internal/anonymous@x.x.x.x</a>
[75980192-6133-11e1-9150-8b50a5b8b13b]<br>
09:04.180223 [NOTICE] switch_ivr.c:1711 Transfer <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/external/anonymous@sipgate.co.uk">sofia/external/anonymous@sipgate.co.uk</a>
to XML[1003@public]<br>
09:04.180223 [NOTICE] switch_ivr_originate.c:3182 Hangup <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/1003@x.x.x.x">sofia/internal/1003@x.x.x.x</a>
[CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]<br>
09:04.180223 [NOTICE] switch_ivr_originate.c:3182 Hangup <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/74999@x.x.x.x">sofia/internal/74999@x.x.x.x</a>
[CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]<br>
09:04.180223 [INFO] mod_dptools.c:2897 Originate Failed. Cause:
ORIGINATOR_CANCEL<br>
09:04.180223 [INFO] mod_dialplan_xml.c:481 Processing anonymous
<anonymous>->1003 in context public<br>
09:04.180223 [NOTICE] switch_core_session.c:1397 Session 2 (<a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/1003@x.x.x.x">sofia/internal/1003@x.x.x.x</a>)
Ended<br>
09:04.180223 [NOTICE] switch_core_session.c:1399 Close Channel <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/1003@x.x.x.x">sofia/internal/1003@x.x.x.x</a>
[CS_DESTROY]<br>
09:04.180223 [NOTICE] switch_ivr.c:1711 Transfer <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/external/anonymous@sipgate.co.uk">sofia/external/anonymous@sipgate.co.uk</a>
to XML[1003@default]<br>
09:04.180223 [INFO] mod_dialplan_xml.c:481 Processing anonymous
<anonymous>->1003 in context default<br>
09:04.180223 [NOTICE] sofia.c:427 Hangup <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/anonymous@x.x.x.x">sofia/internal/anonymous@x.x.x.x</a>
[CS_EXECUTE] [BLIND_TRANSFER]<br>
09:04.201188 [NOTICE] switch_core_session.c:1397 Session 4 (<a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/anonymous@x.x.x.x">sofia/internal/anonymous@x.x.x.x</a>)
Ended<br>
09:04.201188 [NOTICE] switch_core_session.c:1399 Close Channel <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/anonymous@x.x.x.x">sofia/internal/anonymous@x.x.x.x</a>
[CS_DESTROY]<br>
09:04.201188 [INFO] switch_ivr_async.c:3164 Bound B-Leg: *1
execute_extension::dx XML features<br>
09:04.201188 [INFO] mod_dialplan_xml.c:481 Processing anonymous
<anonymous>->74999 in context public<br>
09:04.201188 [INFO] switch_ivr_async.c:3164 Bound B-Leg: *2
record_session:: recordings/anonymous.2012-02-27-11-09-04.wav<br>
09:04.201188 [NOTICE] switch_core_session.c:1397 Session 3 (<a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/74999@x.x.x.x">sofia/internal/74999@x.x.x.x</a>)
Ended<br>
09:04.201188 [NOTICE] switch_core_session.c:1399 Close Channel <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/74999@x.x.x.x">sofia/internal/74999@x.x.x.x</a>
[CS_DESTROY]<br>
09:04.201188 [INFO] switch_ivr_async.c:3164 Bound B-Leg: *3
execute_extension::cf XML features<br>
09:04.201188 [NOTICE] sofia.c:6134 Hangup <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/anonymous@x.x.x.x">sofia/internal/anonymous@x.x.x.x</a>
[CS_EXECUTE] [ORIGINATOR_CANCEL]<br>
09:04.201188 [INFO] switch_ivr_async.c:3164 Bound B-Leg: *4
execute_extension::att_xfer XML features<br>
09:04.201188 [NOTICE] switch_core_session.c:1397 Session 5 (<a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/anonymous@x.x.x.x">sofia/internal/anonymous@x.x.x.x</a>)
Ended<br>
09:04.201188 [NOTICE] switch_core_session.c:1399 Close Channel <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/anonymous@x.x.x.x">sofia/internal/anonymous@x.x.x.x</a>
[CS_DESTROY]<br>
09:04.201188 [NOTICE] switch_channel.c:920 New Channel
sofia/internal/<a moz-do-not-send="true"
class="moz-txt-link-freetext" href="sip:1003@y.y.y.y:5062">sip:1003@y.y.y.y:5062</a>
[759a6630-6133-11e1-9158-8b50a5b8b13b]<br>
09:04.740223 [NOTICE] sofia.c:5462 Ring-Ready sofia/internal/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:1003@y.y.y.y:5062">sip:1003@y.y.y.y:5062</a>!<br>
09:04.740223 [NOTICE] mod_sofia.c:2470 Ring-Ready <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/external/anonymous@sipgate.co.uk">sofia/external/anonymous@sipgate.co.uk</a>!<br>
09:04.740223 [NOTICE] switch_ivr_originate.c:483 Ring Ready <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/external/anonymous@sipgate.co.uk">sofia/external/anonymous@sipgate.co.uk</a>!<br>
09:07.700221 [NOTICE] sofia.c:6040 Channel [sofia/internal/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:1003@y.y.y.y:5062">sip:1003@y.y.y.y:5062</a>] has been
answered<br>
09:07.700221 [NOTICE] switch_ivr_originate.c:483 Ring Ready <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/external/anonymous@sipgate.co.uk">sofia/external/anonymous@sipgate.co.uk</a>!<br>
-------------------------------------------------<br>
<br>
<br>
<blockquote cite="mid:4F4B59F2.2030708@hw.ac.uk" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Hi,<br>
<br>
H tried this way<br>
<br>
<action application="bridge"
data="sofia/internal/1003%${sip_profile},sofia/internal/74991@${domain}"/><br>
<br>
74991 is reached and I heard the prompt. The 1003 softphone is
terminated immediately after it is reached.<br>
then extension 74991 hung up itself as well.<br>
<br>
I saw the terminal message:<br>
mod_dptools.c:2897 Originate Failed. Cause: ORIGINATOR_CANCEL<br>
<br>
What would be the reason for that?<br>
<br>
Thanks,<br>
Xing<br>
<br>
<br>
<br>
On 02/26/2012 10:29 PM, Liu, Xingkun wrote:
<blockquote
cite="mid:976F9C1B58DCB84EA7021B8BFB483B8E0E1A1D32@ex6.mail.win.hw.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="MS Exchange Server version
6.5.7654.12">
<title>How to bridge a call to an extension defined in
dialplan</title>
<!-- Converted from text/plain format --> <br>
<p><font size="2">Hello,<br>
<br>
I'd like to bridge an incoming to two endpoints
simultaneuously:<br>
one is a softphone which is registered to FS (to user
1003),<br>
another is just an extension which is defined in
conf/dialplan/public.xml<br>
<br>
It looks like:<br>
<br>
<extension name="testRecording_bridge"><br>
<condition field="destination_number"
expression="^(74990)$"><br>
<action application="bridge"
data="sofia/internal/1003%${sip_profile},sofia/internal/74991%${sip_profile}"/><br>
</condition><br>
</extension><br>
<br>
<extension name="testRecordingOnly"><br>
<condition field="destination_number"
expression="^74991$"><br>
<action application="set"
data="record_waste_resources=true"/><br>
<action application="javascript"
data="testRecordFile.js"/><br>
</condition><br>
</extension><br>
<br>
The incoming call dial to extension 74990, from there I
want to bridge the call to the sofphone at 1003 and<br>
to the extension 74991.<br>
<br>
The problem is that FS can not locate user 74991. So my
question is what else I need to modify in order<br>
to bridge the call also to extension 74991 at the same
time?<br>
<br>
I did lots of Googling, checked the wiki and tried various
ways but still without success.<br>
<br>
Any advices please?<br>
<br>
Many Thanks!<br>
Xing<br>
</font> </p>
<br>
<hr> <br>
<font face="arial, helvetica"> <b>Heriot-Watt University is
the Sunday Times Scottish University of the Year
2011-2012.</b> </font> <br>
<br>
<font face="arial,helvetica" size="-1"> Heriot-Watt University
is a Scottish charity registered under charity number
SC000278. <br>
</font>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
<hr> <br>
<font face="arial, helvetica"> <b>Heriot-Watt University is the
Sunday Times Scottish University of the Year 2011-2012.</b>
</font> <br>
<br>
<font face="arial,helvetica" size="-1"> Heriot-Watt University
is a Scottish charity registered under charity number
SC000278. <br>
</font>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
<hr>
<br>
<font face="arial, helvetica">
<b>Heriot-Watt University is the Sunday Times Scottish
University of the Year 2011-2012.</b>
</font>
<br>
<br>
<font face="arial,helvetica" size="-1">
Heriot-Watt University is a Scottish charity registered under
charity number SC000278.
<br>
</font>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
<hr>
<br>
<font face="arial, helvetica">
<b>Heriot-Watt University is the Sunday Times Scottish University of the Year 2011-2012.</b>
</font>
<br><br>
<font face="arial,helvetica" size="-1">
Heriot-Watt University is a Scottish charity registered under charity number SC000278.
<br>
</font>
</body>
</html>