<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>thanks for the support. this is log:<div><div>013-08-02 14:36:36.943647 [DEBUG] switch_core_state_machine.c:471 (sofia/internal/1008@192.168.0.173) State ROUTING going to sleep</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] switch_core_state_machine.c:416 (sofia/internal/1008@192.168.0.173) Running State Change CS_EXECUTE</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] switch_core_state_machine.c:478 (sofia/internal/1008@192.168.0.173) State EXECUTE</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] mod_sofia.c:230 sofia/internal/1008@192.168.0.173 SOFIA EXECUTE</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] switch_core_state_machine.c:209 sofia/internal/1008@192.168.0.173 Standard EXECUTE</div><div>freeswitch@internal> </div><div><br></div><div>EXECUTE sofia/internal/1008@192.168.0.173 set(open=true)</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] mod_dptools.c:1393 sofia/internal/1008@192.168.0.173 SET [open]=[true]</div><div>freeswitch@internal> </div><div><br></div><div>EXECUTE sofia/internal/1008@192.168.0.173 bridge(freetdm/2/1/13811737925)</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] switch_ivr_originate.c:2060 Parsing global variables</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] mod_freetdm.c:403 Set codec PCMA 20ms</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] mod_freetdm.c:1242 Connect outbound channel FreeTDM/2:1/13811737925</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [NOTICE] switch_channel.c:1030 New Channel FreeTDM/2:1/13811737925 [db274fb7-a395-4f29-8ff1-5a6634f01c56]</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] mod_freetdm.c:1251 (FreeTDM/2:1/13811737925) State Change CS_NEW -> CS_INIT</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] switch_core_session.c:1341 Send signal FreeTDM/2:1/13811737925 [BREAK]</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] mod_freetdm.c:1270 Attached session db274fb7-a395-4f29-8ff1-5a6634f01c56 to channel 2:1</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] ftmod_analog.c:62 [s2c1][1:3] Changed state from DOWN to DIALING</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] ftmod_analog.c:437 [s2c1][1:3] ANALOG CHANNEL thread starting.</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] ftdm_io.c:3381 [s2c1][1:3] Enabled software DTMF detector</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] ftmod_analog.c:457 [s2c1][1:3] Initialized DTMF detection</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] ftmod_analog.c:638 [s2c1][1:3] Completed state change from DOWN to DIALING in 1 ms</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.943647 [DEBUG] ftmod_analog.c:644 [s2c1][1:3] Executing state handler on 2:1 for DIALING</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:36.963647 [DEBUG] ftmod_wanpipe.c:1002 [s2c1][1:3] First packet read stats: Rx queue len: 0, Rx queue size: 10</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:37.443634 [DEBUG] switch_core_state_machine.c:416 (FreeTDM/2:1/13811737925) Running State Change CS_INIT</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:37.443634 [DEBUG] switch_core_state_machine.c:455 (FreeTDM/2:1/13811737925) State INIT</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:37.443634 [DEBUG] mod_freetdm.c:430 (FreeTDM/2:1/13811737925) State Change CS_INIT -> CS_ROUTING</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:37.443634 [DEBUG] switch_core_session.c:1341 Send signal FreeTDM/2:1/13811737925 [BREAK]</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:37.443634 [DEBUG] switch_core_state_machine.c:455 (FreeTDM/2:1/13811737925) State INIT going to sleep</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:37.443634 [DEBUG] switch_core_state_machine.c:416 (FreeTDM/2:1/13811737925) Running State Change CS_ROUTING</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:37.443634 [DEBUG] switch_core_state_machine.c:471 (FreeTDM/2:1/13811737925) State ROUTING</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:37.443634 [DEBUG] mod_freetdm.c:453 FreeTDM/2:1/13811737925 CHANNEL ROUTING</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:37.443634 [DEBUG] switch_ivr_originate.c:67 (FreeTDM/2:1/13811737925) State Change CS_ROUTING -> CS_CONSUME_MEDIA</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:37.443634 [DEBUG] switch_core_session.c:1341 Send signal FreeTDM/2:1/13811737925 [BREAK]</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:37.443634 [DEBUG] switch_core_state_machine.c:471 (FreeTDM/2:1/13811737925) State ROUTING going to sleep</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:37.443634 [DEBUG] switch_core_state_machine.c:416 (FreeTDM/2:1/13811737925) Running State Change CS_CONSUME_MEDIA</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:37.443634 [DEBUG] switch_core_state_machine.c:490 (FreeTDM/2:1/13811737925) State CONSUME_MEDIA</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:37.443634 [DEBUG] switch_core_state_machine.c:490 (FreeTDM/2:1/13811737925) State CONSUME_MEDIA going to sleep</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:41.963531 [DEBUG] ftmod_analog.c:503 [s2c1][1:3] Changed state from DIALING to BUSY</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:41.983901 [DEBUG] ftmod_analog.c:638 [s2c1][1:3] Completed state change from DIALING to BUSY in 20 ms</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:41.983901 [DEBUG] ftmod_analog.c:644 [s2c1][1:3] Executing state handler on 2:1 for BUSY</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:41.983901 [DEBUG] ftmod_analog.c:803 [s2c1][1:3] Changed state from BUSY to DOWN</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:42.003531 [DEBUG] ftmod_analog.c:638 [s2c1][1:3] Completed state change from BUSY to DOWN in 20 ms</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:42.003531 [DEBUG] ftmod_analog.c:644 [s2c1][1:3] Executing state handler on 2:1 for DOWN</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:42.003531 [DEBUG] mod_freetdm.c:2253 got FXO sig 2:1 [STOP]</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:42.003531 [NOTICE] mod_freetdm.c:2273 Hangup FreeTDM/2:1/13811737925 [CS_CONSUME_MEDIA] <font color="#d24726">[NORMAL_CIRCUIT_CONGESTION]</font></div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:42.003531 [DEBUG] switch_channel.c:3135 Send signal FreeTDM/2:1/13811737925 [KILL]</div><div>freeswitch@internal> </div><div><br></div><div>2013-08-02 14:36:42.003531 [DEBUG] switch_core_session.c:1341 Send signal FreeTDM/2:1/13811737925 [BREAK]</div><div>freeswitch@internal> </div><div><br></div><div>freeswitch@internal> </div><div>-----------------------------------------------------------------------</div><div>the port is working for inbound calls. </div><div><br></div><br>Best regards,
<br>James.zhu<br>
website: www.hiastar.com<br><br><div><hr id="stopSpelling">From: zhulizhong@live.com<br>To: freeswitch-users@lists.freeswitch.org<br>Date: Tue, 6 Aug 2013 06:42:14 +0000<br>Subject: Re: [Freeswitch-users] Can not make out going call from sangoma A200<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">hello:<div>I contacted Sangoma, but I do not have any feedback yet. I think it might be a bug</div><div>for analog card with freeSWITCH. freetdm partially works with sangoma A200. </div><div>There are two issues:</div><div>1) Can not get callerid from IO: only shows this:Initializing cid data! the callerid is empty</div><div>even I set to CN.</div><div>2) Can not make outgoing calls by the port that I used to make outgoing calls. even I replaced a FXO <span style="font-size:12pt;">module, the problem is same. I use same syntax as follow:</span></div><div><a href="http://blog.hiastar.com/?p=276" target="_blank">http://blog.hiastar.com/?p=276</a></div><div> </div><div>Hope someone from the FreeSWITCH community to clarify that. </div><div><br>Best regards,
<br>James.zhu<br>
website: www.hiastar.com<br><br><div><hr id="ecxstopSpelling">Date: Fri, 2 Aug 2013 23:03:47 -0400<br>From: bdfoster@davri.com<br>To: freeswitch-users@lists.freeswitch.org<br>Subject: Re: [Freeswitch-users] Can not make out going call from sangoma A200<br><br><p dir="ltr">I apologize, I misread your email. Hopefully someone who knows FreeTDM will come around. Have you contacted Sangoma? They are the maintainers of FreeTDM as far as I know. You might try that route. They are very familiar with freeswitch im sure :).</p>
<p dir="ltr">Thank you,</p>
<p dir="ltr">Brian Foster<br>
Project Manager/Owner's Rep.<br>
Davri Investments, Inc.<br>
O: 317-787-2686 x2102<br>
M: 317-600-9753<br>
E: <a href="mailto:bdfoster@davri.com">bdfoster@davri.com</a><br>
Indianapolis, Indiana</p>
<p dir="ltr">Sent from a mobile device.</p>
<div class="ecxgmail_quote">On Aug 2, 2013 10:39 PM, "James zhu" <<a href="mailto:zhulizhong@live.com">zhulizhong@live.com</a>> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">thanks, Brian. actually the 2:1 is idle because the port can accept incoming call. after<div>I reload freetdm or restart FS, I still can not make outgoing calls. If the port physically</div><div>failed, how come I can make incoming call use the same port. confused. thanks again.</div>
<div><div><br>Best regards,
<br>James.zhu<br>
website: <a href="http://www.hiastar.com" target="_blank">www.hiastar.com</a><br><br><div><hr>Date: Fri, 2 Aug 2013 14:22:29 -0400<br>From: <a href="mailto:bdfoster@davri.com" target="_blank">bdfoster@davri.com</a><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
Subject: Re: [Freeswitch-users] Can not make out going call from sangoma A200<br><br><p dir="ltr">That's the expected behavior if 2:1 is in use. So that means you use another port to place your outbound call. Tips on how to do that, however, I can't really produce. Hopefully someone with more experience with FreeTDM can chime in.</p>
<p dir="ltr">Thank you,</p>
<p dir="ltr">Brian Foster<br>
Project Manager/Owner's Rep.<br>
Davri Investments, Inc.<br>
O: <a target="_blank">317-787-2686 x2102</a><br>
M: <a target="_blank">317-600-9753</a><br>
E: <a href="mailto:bdfoster@davri.com" target="_blank">bdfoster@davri.com</a><br>
Indianapolis, Indiana</p>
<p dir="ltr">Sent from a mobile device.</p>
<div>On Aug 2, 2013 3:09 AM, "James zhu" <<a href="mailto:zhulizhong@live.com" target="_blank">zhulizhong@live.com</a>> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">hello:<div>I installed freeswitch and sangoma A200 with 2 FXOs. i set the tone group to CN</div><div>and opermode=china. the A200 can make accept incoming calls from <span style="font-size:12pt;">FreeTDM/2:1</span><span style="font-size:12pt;"> , but I use same </span><span style="font-size:12pt;">port to make out going port, the shows the port is </span><span style="font-size:12pt;">CONGESTION.</span></div>
<div><span style="font-size:12pt;">--------------------------system log-----------------------------------------------</span></div><div><div><div>2013-08-02 14:36:42.003531 [DEBUG] mod_freetdm.c:640 [2:1] FreeTDM/2:1/13811737925 CHANNEL HANGUP EXIT</div>
<div>2013-08-02 14:36:42.003531 [DEBUG] switch_core_state_machine.c:48 FreeTDM/2:1/13811737925 Standard HANGUP, cause: NORMAL_CIRCUIT_CONGESTION</div><div>2013-08-02 14:36:42.003531 [DEBUG] switch_core_state_machine.c:679 (FreeTDM/2:1/13811737925) State HANGUP going to sleep</div>
<div>2013-08-02 14:36:42.003531 [DEBUG] switch_core_state_machine.c:692 (FreeTDM/2:1/13811737925) Callstate Change DOWN -> HANGUP</div><div>2013-08-02 14:36:42.003531 [DEBUG] switch_core_state_machine.c:447 (FreeTDM/2:1/13811737925) State Change CS_HANGUP -> CS_REPORTING</div>
<div>2013-08-02 14:36:42.003531 [DEBUG] switch_core_session.c:1341 Send signal FreeTDM/2:1/13811737925 [BREAK]</div><div>2013-08-02 14:36:42.003531 [DEBUG] switch_core_state_machine.c:416 (FreeTDM/2:1/13811737925) Running State Change CS_REPORTING</div>
<div>2013-08-02 14:36:42.003531 [DEBUG] switch_core_state_machine.c:764 (FreeTDM/2:1/13811737925) State REPORTING</div><div>2013-08-02 14:36:42.003531 [DEBUG] switch_core_state_machine.c:92 FreeTDM/2:1/13811737925 Standard REPORTING, cause: NORMAL_CIRCUIT_CONGESTION</div>
<div>2013-08-02 14:36:42.003531 [DEBUG] switch_core_state_machine.c:764 (FreeTDM/2:1/13811737925) State REPORTING going to sleep</div><div>2013-08-02 14:36:42.003531 [DEBUG] switch_core_state_machine.c:441 (FreeTDM/2:1/13811737925) State Change CS_REPORTING -> CS_DESTROY</div>
<div>2013-08-02 14:36:42.003531 [DEBUG] switch_core_session.c:1341 Send signal FreeTDM/2:1/13811737925 [BREAK]</div><div>2013-08-02 14:36:42.003531 [DEBUG] switch_core_session.c:1549 Session 37 (FreeTDM/2:1/13811737925) Locked, Waiting on external entities</div>
<div>2013-08-02 14:36:42.023531 [DEBUG] switch_ivr_originate.c:3632 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]</div><div>2013-08-02 14:36:42.023531 [INFO] mod_dptools.c:3192 Originate Failed. Cause: NORMAL_CIRCUIT_CONGESTION</div>
<div>2013-08-02 14:36:42.023531 [NOTICE] switch_channel.c:4593 Hangup sofia/internal/<a href="mailto:1008@192.168.0.173" target="_blank">1008@192.168.0.173</a> [CS_EXECUTE] [NORMAL_CIRCUIT_CONGESTION]</div><div>2013-08-02 14:36:42.023531 [DEBUG] switch_channel.c:3135 Send signal sofia/internal/<a href="mailto:1008@192.168.0.173" target="_blank">1008@192.168.0.173</a> [KILL]</div>
<div>2013-08-02 14:36:42.023531 [DEBUG] switch_core_session.c:1341 Send signal sofia/internal</div></div><div>---------------------------------------------</div><div>the FS is download from git and wanpipe is latest version. please give a help for that issue.</div>
<br>Best regards,
<br>James.zhu<br>
website: <a href="http://www.hiastar.com" target="_blank">www.hiastar.com</a></div>                                            </div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></div></div>                                            </div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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</div></div>                                            </div>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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</div></div>                                            </div></body>
</html>