[Freeswitch-users] One Trunk not working with FreeTDM Sangoma ISDN library

Stephen Wilde wstephen80 at gmail.com
Mon Nov 22 14:32:08 PST 2010


Yes, span 1 to 8 and span 10 to 22 are working, the E1 23 and 24 are not
connected.

I have 6 A108 installed but I have started (with wanrouter) and configured
only span 1 to 24.

Stephen


On Mon, Nov 22, 2010 at 11:13 PM, Michael Collins <msc at freeswitch.org>wrote:

> So, just to be clear, spans 1-8 and 10-24 are all working? It's only span
> 9? I'm assuming you have 3 A108's here...
>
> -MC
>
> On Mon, Nov 22, 2010 at 6:29 AM, Stephen Wilde <wstephen80 at gmail.com>wrote:
>
>> Hi,
>> I have Freeswitch git head revision, configured with FreeTDM module and
>> Sangoma ISDN library with A108 board.
>>
>> The problem I have is that there is one trunk (FreeTDM/9:) where all calls
>> fail with a cause 111. Nothing changes if I restart Freeswitch or I do a
>> wanrouter restart.
>>
>> All other trunks work fine.
>>
>> The freetdm.conf is: http://pastebin.com/XWbUBwhp
>>
>> The freetdm.conf.xml is: http://pastebin.com/XVJpPSL6
>>
>> The wanpipe9.conf: http://pastebin.freeswitch.org/14589
>>
>> Tracing the Q931 with wanpipemon what I see is only Q921  RR messages in
>> the two directions, so the SETUP message is not sent to the other end!
>>
>> In the Freeswitch log I see:
>>
>>
>> 2010-11-21 23:17:14.320500 [DEBUG] mod_freetdm.c:1334 Connect outbound
>> channel FreeTDM/9:1/393494255737
>> 2010-11-21 23:17:14.320500 [NOTICE] switch_channel.c:784 New Channel
>> FreeTDM/9:1/393494255737 [cd6c2968-40ee-41c6-bbe5-d7c7c8222c40]
>> 2010-11-21 23:17:14.320500 [DEBUG] mod_freetdm.c:1348
>> (FreeTDM/9:1/393494255737) State Change CS_NEW -> CS_INIT
>> 2010-11-21 23:17:14.320500 [DEBUG] switch_core_session.c:1064 Send signal
>> FreeTDM/9:1/393494255737 [BREAK]
>> 2010-11-21 23:17:14.320500 [DEBUG] ftmod_sangoma_isdn.c:692 [s9c1][9:1]
>> Changed state from DOWN to DIALING
>> 2010-11-21 23:17:14.320500 [DEBUG] ftmod_sangoma_isdn.c:471 [s9c1][9:1]
>> processing state change to DIALING
>> 2010-11-21 23:17:14.320500 [INFO] ftmod_sangoma_isdn_stack_out.c:142
>> [s9c1][9:1] Outgoing call: Called No:[393494255737] Calling No:[0872868784]
>> 2010-11-21 23:17:14.320500 [INFO] ftmod_sangoma_isdn_stack_out.c:149
>> [s9c1][9:1] Sending SETUP (suId:1 suInstId:24 spInstId:0 dchan:9 ces:0)
>> 2010-11-21 23:17:14.321526 [INFO] ftmod_sangoma_isdn_stack_rcv.c:248
>> [s9c1][9:1] Received RELEASE/RELEASE COMPLETE (suId:1 suInstId:24
>> spInstId:2157)
>> 2010-11-21 23:17:14.321526 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:511
>> [s9c1][9:1] Processing RELEASE/RELEASE COMPLETE (suId:1 suInstId:24
>> spInstId:2157)
>> 2010-11-21 23:17:14.321526 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:552
>> [s9c1][9:1] cause:111
>> 2010-11-21 23:17:14.321526 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:559
>> [s9c1][9:1] Changed state from DIALING to TERMINATING
>> 2010-11-21 23:17:14.321526 [DEBUG] ftmod_sangoma_isdn.c:471 [s9c1][9:1]
>> processing state change to TERMINATING
>> 2010-11-21 23:17:14.321526 [DEBUG] ftdm_io.c:4838 [s9c1][9:1] Scheduling
>> safety hangup timer
>> 2010-11-21 23:17:14.321526 [DEBUG] mod_freetdm.c:2049 got clear channel
>> sig [STOP]
>> 2010-11-21 23:17:14.321526 [DEBUG] switch_channel.c:2455
>> (FreeTDM/9:1/393494255737) Callstate Change DOWN -> HANGUP
>> 2010-11-21 23:17:14.321526 [NOTICE] mod_freetdm.c:2074 Hangup
>> FreeTDM/9:1/393494255737 [CS_INIT] [PROTOCOL_ERROR]
>> 2010-11-21 23:17:14.321526 [DEBUG] switch_ivr_originate.c:3439 Originate
>> Resulted in Error Cause: 111 [PROTOCOL_ERROR]
>> 2010-11-21 23:17:14.321526 [DEBUG] switch_core_state_machine.c:320
>> (FreeTDM/9:1/393494255737) Running State Change CS_HANGUP
>> 2010-11-21 23:17:14.321526 [DEBUG] switch_channel.c:2471 Send signal
>> FreeTDM/9:1/393494255737 [KILL]
>> 2010-11-21 23:17:14.321526 [DEBUG] switch_core_session.c:1064 Send signal
>> FreeTDM/9:1/393494255737 [BREAK]
>> 2010-11-21 23:17:14.322566 [DEBUG] switch_core_state_machine.c:557
>> (FreeTDM/9:1/393494255737) State HANGUP
>> 2010-11-21 23:17:14.322566 [DEBUG] mod_freetdm.c:515 [s9c1][9:1] Changed
>> state from TERMINATING to HANGUP
>> 2010-11-21 23:17:14.322566 [DEBUG] ftmod_sangoma_isdn.c:471 [s9c1][9:1]
>> processing state change to HANGUP
>> 2010-11-21 23:17:14.322566 [DEBUG] ftmod_sangoma_isdn.c:564 [s9c1][9:1]
>> Acknowledging remote abort
>> 2010-11-21 23:17:14.322566 [DEBUG] ftmod_sangoma_isdn.c:600 [s9c1][9:1]
>> Changed state from HANGUP to HANGUP_COMPLETE
>> 2010-11-21 23:17:14.322566 [DEBUG] ftmod_sangoma_isdn.c:471 [s9c1][9:1]
>> processing state change to HANGUP_COMPLETE
>> 2010-11-21 23:17:14.322566 [DEBUG] ftmod_sangoma_isdn.c:608 [s9c1][9:1]
>> Changed state from HANGUP_COMPLETE to DOWN
>> 2010-11-21 23:17:14.322566 [DEBUG] ftmod_sangoma_isdn.c:471 [s9c1][9:1]
>> processing state change to DOWN
>> 2010-11-21 23:17:14.322566 [DEBUG] ftmod_sangoma_isdn_support.c:46
>> [s9c1][9:1] Clearing call data (suId:1 suInstId:24 spInstId:0)
>> 2010-11-21 23:17:14.322566 [DEBUG] ftdm_io.c:2385 channel done 9:1
>>
>> What can I do do put trunk 9 in working state?
>>
>> Stephen
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101122/0b544274/attachment.html 


More information about the FreeSWITCH-users mailing list