[Freeswitch-users] Can not make out going call from sangoma A200

Ivan ivan at c3i.bg
Tue Aug 6 21:19:57 MSD 2013


WRT the callerid issue, do you answer the call immediately ? If yes you 
should try to wait 2 or 3 rings before answering, since the callerid 
data is usually sent at the first ring.
There might also be a problem with your provider, did you check first 
that you get the callerid when plugging a telephone to your provider's 
line ?

Outgoing call problem: please post more debug from fs_cli (before the 
hangup).

ivan


On 08/06/2013 09:42 AM, James zhu wrote:
> hello:
> I contacted Sangoma, but I do not have any feedback yet. I think it
> might be a bug
> for analog card with freeSWITCH.  freetdm  partially works with sangoma
> A200.
> There are two issues:
> 1) Can not get callerid from IO:  only shows this:Initializing cid data!
> the callerid is empty
> even I set to CN.
> 2) Can not make outgoing calls by the port that I used to make outgoing
> calls. even I replaced a FXO module, the problem is same. I use same
> syntax as follow:
> http://blog.hiastar.com/?p=276
> Hope someone from the FreeSWITCH community to clarify that.
>
> Best regards,
> James.zhu
> website: www.hiastar.com
>
> ------------------------------------------------------------------------
> Date: Fri, 2 Aug 2013 23:03:47 -0400
> From: bdfoster at davri.com
> To: freeswitch-users at lists.freeswitch.org
> Subject: Re: [Freeswitch-users] Can not make out going call from sangoma
> A200
>
> 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 :).
>
> Thank you,
>
> Brian Foster
> Project Manager/Owner's Rep.
> Davri Investments, Inc.
> O: 317-787-2686 x2102
> M: 317-600-9753
> E: bdfoster at davri.com <mailto:bdfoster at davri.com>
> Indianapolis, Indiana
>
> Sent from a mobile device.
>
> On Aug 2, 2013 10:39 PM, "James zhu" <zhulizhong at live.com
> <mailto:zhulizhong at live.com>> wrote:
>
>     thanks, Brian.  actually the 2:1 is idle because the port can accept
>     incoming call. after
>     I reload freetdm or restart FS, I still can not make outgoing calls.
>     If the port physically
>     failed, how come I can make incoming call use the same port.
>     confused. thanks again.
>
>     Best regards,
>     James.zhu
>     website: www.hiastar.com <http://www.hiastar.com>
>
>     ------------------------------------------------------------------------
>     Date: Fri, 2 Aug 2013 14:22:29 -0400
>     From: bdfoster at davri.com <mailto:bdfoster at davri.com>
>     To: freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>
>     Subject: Re: [Freeswitch-users] Can not make out going call from
>     sangoma A200
>
>     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.
>
>     Thank you,
>
>     Brian Foster
>     Project Manager/Owner's Rep.
>     Davri Investments, Inc.
>     O: 317-787-2686 x2102
>     M: 317-600-9753
>     E: bdfoster at davri.com <mailto:bdfoster at davri.com>
>     Indianapolis, Indiana
>
>     Sent from a mobile device.
>
>     On Aug 2, 2013 3:09 AM, "James zhu" <zhulizhong at live.com
>     <mailto:zhulizhong at live.com>> wrote:
>
>         hello:
>         I installed freeswitch and sangoma A200 with 2 FXOs. i set the
>         tone group to CN
>         and opermode=china. the A200 can make accept incoming calls from
>         FreeTDM/2:1 , but I use same port to make out going port, the
>         shows the port is CONGESTION.
>         --------------------------system
>         log-----------------------------------------------
>         2013-08-02 14:36:42.003531 [DEBUG] mod_freetdm.c:640 [2:1]
>         FreeTDM/2:1/13811737925 CHANNEL HANGUP EXIT
>         2013-08-02 14:36:42.003531 [DEBUG]
>         switch_core_state_machine.c:48 FreeTDM/2:1/13811737925 Standard
>         HANGUP, cause: NORMAL_CIRCUIT_CONGESTION
>         2013-08-02 14:36:42.003531 [DEBUG]
>         switch_core_state_machine.c:679 (FreeTDM/2:1/13811737925) State
>         HANGUP going to sleep
>         2013-08-02 14:36:42.003531 [DEBUG]
>         switch_core_state_machine.c:692 (FreeTDM/2:1/13811737925)
>         Callstate Change DOWN -> HANGUP
>         2013-08-02 14:36:42.003531 [DEBUG]
>         switch_core_state_machine.c:447 (FreeTDM/2:1/13811737925) State
>         Change CS_HANGUP -> CS_REPORTING
>         2013-08-02 14:36:42.003531 [DEBUG] switch_core_session.c:1341
>         Send signal FreeTDM/2:1/13811737925 [BREAK]
>         2013-08-02 14:36:42.003531 [DEBUG]
>         switch_core_state_machine.c:416 (FreeTDM/2:1/13811737925)
>         Running State Change CS_REPORTING
>         2013-08-02 14:36:42.003531 [DEBUG]
>         switch_core_state_machine.c:764 (FreeTDM/2:1/13811737925) State
>         REPORTING
>         2013-08-02 14:36:42.003531 [DEBUG]
>         switch_core_state_machine.c:92 FreeTDM/2:1/13811737925 Standard
>         REPORTING, cause: NORMAL_CIRCUIT_CONGESTION
>         2013-08-02 14:36:42.003531 [DEBUG]
>         switch_core_state_machine.c:764 (FreeTDM/2:1/13811737925) State
>         REPORTING going to sleep
>         2013-08-02 14:36:42.003531 [DEBUG]
>         switch_core_state_machine.c:441 (FreeTDM/2:1/13811737925) State
>         Change CS_REPORTING -> CS_DESTROY
>         2013-08-02 14:36:42.003531 [DEBUG] switch_core_session.c:1341
>         Send signal FreeTDM/2:1/13811737925 [BREAK]
>         2013-08-02 14:36:42.003531 [DEBUG] switch_core_session.c:1549
>         Session 37 (FreeTDM/2:1/13811737925) Locked, Waiting on external
>         entities
>         2013-08-02 14:36:42.023531 [DEBUG] switch_ivr_originate.c:3632
>         Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]
>         2013-08-02 14:36:42.023531 [INFO] mod_dptools.c:3192 Originate
>         Failed.  Cause: NORMAL_CIRCUIT_CONGESTION
>         2013-08-02 14:36:42.023531 [NOTICE] switch_channel.c:4593 Hangup
>         sofia/internal/1008 at 192.168.0.173 <mailto:1008 at 192.168.0.173>
>         [CS_EXECUTE] [NORMAL_CIRCUIT_CONGESTION]
>         2013-08-02 14:36:42.023531 [DEBUG] switch_channel.c:3135 Send
>         signal sofia/internal/1008 at 192.168.0.173
>         <mailto:1008 at 192.168.0.173> [KILL]
>         2013-08-02 14:36:42.023531 [DEBUG] switch_core_session.c:1341
>         Send signal sofia/internal
>         ---------------------------------------------
>         the FS is download from git and wanpipe is latest version.
>           please give a help for that issue.
>
>         Best regards,
>         James.zhu
>         website: www.hiastar.com <http://www.hiastar.com>
>
>         _________________________________________________________________________
>         Professional FreeSWITCH Consulting Services:
>         consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>         http://www.freeswitchsolutions.com
>
>         
>         
>
>         Official FreeSWITCH Sites
>         http://www.freeswitch.org
>         http://wiki.freeswitch.org
>         http://www.cluecon.com
>
>         FreeSWITCH-users mailing list
>         FreeSWITCH-users at lists.freeswitch.org
>         <mailto:FreeSWITCH-users at lists.freeswitch.org>
>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>         UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>         http://www.freeswitch.org
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The
>     CudaTel Communication Server  Official
>     FreeSWITCH Sites http://www.freeswitch.org
>     http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users
>     mailing list FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>
> _________________________________________________________________________ Professional
> FreeSWITCH Consulting Services: consulting at freeswitch.org
> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The
> CudaTel Communication Server  Official FreeSWITCH
> Sites http://www.freeswitch.org http://wiki.freeswitch.org
> http://www.cluecon.com FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _________________________________________________________________________
> 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-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list