<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Michael,<br>
<br>
Here is the log you asked for :<br>
<br>
<a class="moz-txt-link-freetext" href="http://pastebin.freeswitch.org/19968">http://pastebin.freeswitch.org/19968</a><br>
<br>
Regards<br>
<br>
On 10/02/2012 10:08 PM, Michael Collins wrote:<br>
</div>
<blockquote
cite="mid:%3CCAKzWOxVPZpGxYhCRFb7q+sP9Z6uv0e4P6GY7mo3_cJBHueUmBQ@mail.gmail.com%3E"
type="cite">Well, this is a problem:<br>
<br>
state: DOWN<br>
<br>
That means it isn't operational. I would get a capture of the log
for when you load mod_freetdm. Drop it in <a
moz-do-not-send="true" href="http://pastebin.freeswitch.org">pastebin.freeswitch.org</a>
and select "FreeSWITCH Log" as the syntax highlighting.<br>
<br>
-MC<br>
<br>
<div class="gmail_quote">On Mon, Oct 1, 2012 at 8:22 PM, William
Alianto <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:william@xofap.com" target="_blank">william@xofap.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>here is the dump message for the port :<br>
<br>
freeswitch@internal> ftdm dump 1 4<br>
span_id: 1<br>
chan_id: 4<br>
physical_span_id: 1<br>
physical_chan_id: 4<br>
physical_status: ok<br>
physical_status_red: 0<br>
physical_status_yellow: 0<br>
physical_status_rai: 0<br>
physical_status_blue: 0<br>
physical_status_ais: 0<br>
physical_status_general: 0<br>
signaling_status: UP<br>
type: FXO<br>
state: DOWN<br>
last_state: BUSY<br>
txgain: 0.00<br>
rxgain: 0.00<br>
cid_date:<br>
cid_name:<br>
cid_num:<br>
ani:<br>
aniII:<br>
dnis:<br>
rdnis:<br>
cause: NONE<br>
session: (none)<br>
<br>
-- States -- -- Function
-- -- Location -- -- Time
Offset --<br>
PROGRESS => PROGRESS_MEDIA
[channel_receive_message_fxo]
[mod_freetdm.c:1040] 0ms<br>
PROGRESS_MEDIA => UP
[channel_receive_message_fxo]
[mod_freetdm.c:1040] 0ms<br>
UP => HANGUP
[channel_on_hangup]
[mod_freetdm.c:586] 11641ms<br>
HANGUP => DOWN
[ftdm_analog_channel_run]
[ftmod_analog.c:564] 519ms<br>
DOWN => DIALING
[analog_fxo_outgoing_call]
[ftmod_analog.c:62] 182116ms<br>
DIALING => BUSY
[ftdm_analog_channel_run]
[ftmod_analog.c:505] 5020ms<br>
BUSY => DOWN
[ftdm_analog_channel_run]
[ftmod_analog.c:802] 20ms<br>
DOWN => DIALING
[analog_fxo_outgoing_call]
[ftmod_analog.c:62] 29140ms<br>
DIALING => BUSY
[ftdm_analog_channel_run]
[ftmod_analog.c:505] 5020ms<br>
BUSY => DOWN
[ftdm_analog_channel_run]
[ftmod_analog.c:802] 20ms<br>
<br>
Time since last state change: 64974617ms<br>
<br>
This is for Indonesia line, but it usually works fine
using us tone.<br>
<br>
<br>
<br>
On 10/01/2012 11:38 PM, Michael Collins wrote:<br>
</div>
<blockquote type="cite">Look at line 107 of your paste:<br>
<span><span>2012-10-01 11:08:24.301591 <span>[</span>DEBUG<span>]</span>
switch_ivr_originate.c:3508 Originate Resulted in
Error Cause: 34 <span>[</span>NORMAL_CIRCUIT_CONGESTION<span>]<br>
<br>
For whatever reason mod_freetdm thinks that port is
in use. Try "ftdm dump <span> <chan>" to
see if there's any clues as to the state of the
channel. Also, what country is this? Do you have
your tones properly specified?<br>
-MC<br>
</span></span></span><br>
<div class="gmail_quote">On Mon, Oct 1, 2012 at 12:30 AM,
William Alianto <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:william@xofap.com" target="_blank">william@xofap.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"> I
recently installed 2 spans of analog cards to my box.
After all the<br>
configuration, I can already accept incoming from the
FXO ports. But<br>
when I tried to do outbound call, it always fail. This
is the dialplan I<br>
used for outgoing call<br>
<br>
<extension name="freetdm" ><br>
<condition field="destination_number"
expression="^9(\d+)$" ><br>
<action application="set"
data="call_direction=outbound" /><br>
<action application="set"
data="hangup_after_bridge=true" /><br>
<action application="bridge"
data="freetdm/FXO1/4/$1" /><br>
</condition><br>
</extension><br>
<br>
And here is the log of the call<br>
<br>
<a moz-do-not-send="true"
href="http://pastebin.com/PAY42vTh" target="_blank">http://pastebin.com/PAY42vTh</a><br>
<br>
It seems that the dtmf was not delivered properly. Can
anyone help me<br>
with this?<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org"
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication
Server<br>
<a moz-do-not-send="true"
href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<span class="HOEnZb"><font color="#888888"> <br>
-- <br>
Michael S Collins<br>
Twitter: @mercutioviz<br>
<a moz-do-not-send="true"
href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a moz-do-not-send="true"
href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a moz-do-not-send="true" href="http://www.OSTAG.org"
target="_blank">http://www.OSTAG.org</a><br>
<br>
<br>
</font></span></blockquote>
<br>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Michael S Collins<br>
Twitter: @mercutioviz<br>
<a moz-do-not-send="true" href="http://www.FreeSWITCH.org"
target="_blank">http://www.FreeSWITCH.org</a><br>
<a moz-do-not-send="true" href="http://www.ClueCon.com"
target="_blank">http://www.ClueCon.com</a><br>
<a moz-do-not-send="true" href="http://www.OSTAG.org"
target="_blank">http://www.OSTAG.org</a><br>
<br>
<br>
</blockquote>
<br>
</body>
</html>