[Freeswitch-users] FreeSWITCH+Sangoma with dialup modems

Sirish Masur Mohan Sirish.MasurMohan at oa.com.au
Mon Dec 10 10:40:24 MSK 2012


Hello All,

I am a newbie to FreeSWITCH, and have been experimenting with it. I am currently facing a problem, which, to be honest, I am not sure if is a FreeSWITCH misconfiguration problem, or if it is totally unrelated!

My setup is as follows:
Serial port based device(Caller)->Dlink dialup modem(DFM562E)->PBX->Sangoma A102 E1 Link(and FreeSWITCH)->PBX->Dlink dialup modem(DFM562E)->Server(Receiver)

Problem:
When the caller makes the call (using the modem with a lower baud rate 1200), Receiver modem receives the RING and answers the call (using the ATA command). But for some reason, both the ends timeout waiting for modem CONNECT.

Freeswitch logs show:
freeswitch at clock2> 2012-12-10 16:53:30.975599 [INFO] ftmod_sangoma_isdn_stack_rcv.c:96 [s1c30][1:31] Received SETUP (suId:1 suInstId:0 spInstId:5)
2012-12-10 16:53:30.975599 [INFO] ftmod_sangoma_isdn_stack_hndl.c:153 [s1c30][1:31] Incoming call: Called No:[997870] Calling No:[988869]
2012-12-10 16:53:30.975599 [NOTICE] switch_channel.c:953 New Channel FreeTDM/1:30/997870 [0f80e853-5e9b-4c33-af82-b960b261af19]
2012-12-10 16:53:30.975599 [INFO] ftmod_sangoma_isdn_stack_out.c:175 [s1c30][1:31] Sending PROCEED (suId:1 suInstId:5 spInstId:5 dchan:1 ces:0)
2012-12-10 16:53:30.975599 [INFO] mod_dialplan_xml.c:498 Processing  <988869>->997870 in context default
2012-12-10 16:53:30.975599 [NOTICE] switch_channel.c:953 New Channel FreeTDM/1:1/988713 [b7eed81e-0404-4a79-b9db-17fa59add3bd]
2012-12-10 16:53:30.975599 [INFO] ftmod_sangoma_isdn_stack_out.c:62 [s1c1][1:1] Outgoing call: Called No:[988713] Calling No:[988869]
2012-12-10 16:53:30.975599 [INFO] ftmod_sangoma_isdn_stack_out.c:79 [s1c1][1:1] Sending SETUP (suId:1 suInstId:6 spInstId:0 dchan:1 ces:0)
2012-12-10 16:53:31.195550 [INFO] ftmod_sangoma_isdn_stack_rcv.c:194 [s1c1][1:1] Received PROCEED (suId:1 suInstId:6 spInstId:6 ces:0)
2012-12-10 16:53:32.695541 [INFO] ftmod_sangoma_isdn_stack_rcv.c:194 [s1c1][1:1] Received ALERT (suId:1 suInstId:6 spInstId:6 ces:0)
2012-12-10 16:53:32.695541 [NOTICE] mod_freetdm.c:2716 Ring-Ready FreeTDM/1:1/988713!
2012-12-10 16:53:32.695541 [INFO] ftmod_sangoma_isdn_stack_out.c:233 [s1c30][1:31] Sending ALERT (suId:1 suInstId:5 spInstId:5 dchan:1 ces:0)
2012-12-10 16:53:32.695541 [NOTICE] switch_ivr_originate.c:521 Ring Ready FreeTDM/1:30/997870!
2012-12-10 16:53:32.695541 [NOTICE] switch_ivr_originate.c:521 Ring-Ready FreeTDM/1:30/997870!
2012-12-10 16:53:34.635576 [INFO] ftmod_sangoma_isdn_stack_rcv.c:144 [s1c1][1:1] Received CONNECT/CONNECT ACK (suId:1 suInstId:6 spInstId:6 ces:0)
2012-12-10 16:53:34.635576 [NOTICE] mod_freetdm.c:2686 Channel [FreeTDM/1:1/988713] has been answered
2012-12-10 16:53:34.635576 [INFO] ftmod_sangoma_isdn_stack_out.c:269 [s1c30][1:31] Sending CONNECT (suId:1 suInstId:5 spInstId:5 dchan:1 ces:0)
2012-12-10 16:53:34.635576 [NOTICE] switch_ivr_originate.c:3376 Channel [FreeTDM/1:30/997870] has been answered
2012-12-10 16:53:34.735754 [INFO] ftmod_sangoma_isdn_stack_rcv.c:144 [s1c30][1:31] Received CONNECT/CONNECT ACK (suId:1 suInstId:5 spInstId:5 ces:0)


And my dial plan is:
    <extension name="997870">
      <condition field="destination_number" expression="997870">
        <action application="set" data="api_hangup_hook=lua hook-test.lua"/>
        <action application="set" data="hangup_after_bridge=true"/>
        <action application="set" data="TEST_VAR=${lua(pool-test.lua)}"/>
        <action application="set" data="MY_VAR=${lua(helloworld.lua arg1 arg2)}"/>
        <action application="bridge" data="freetdm/wp1/a/988713"/>
        <!--<action application="answer"/>
        <action application="sleep" data="10000"/>
        <action application="hangup"/>-->
      </condition>
    </extension>

Could you please help?

With regards,
Sirish

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121210/73b94c54/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list