Hi,

We have 1 PRI and 3 Analog lines. We are using Sangoma A200 with 4FXS and 4FXO ports. Also, we have a Sangoma A101 card. Incoming calls are working fine. But, we are unable to dial out.

Here is our dial plan

       <extension name="outgoing_bsnl">
                <condition field="destination_number" expression="^9(\d{10})$">
                        <action application="bridge" data="freetdm/3/1/$1"/>
                </condition>
        </extension>

Here are the logs from mod_freetdm.

2011-12-07 14:03:54.429502 [DEBUG] mod_freetdm.c:1227 Connect outbound channel FreeTDM/3:1/9449905000
2011-12-07 14:03:54.429502 [DEBUG] mod_freetdm.c:1236 (FreeTDM/3:1/9449905000) State Change CS_NEW -> CS_INIT
2011-12-07 14:03:54.429502 [DEBUG] mod_freetdm.c:1253 Attached session 32ad9cea-20ae-11e1-b313-21737ba18370 to channel 3:1
2011-12-07 14:03:54.929503 [DEBUG] mod_freetdm.c:435 (FreeTDM/3:1/9449905000) State Change CS_INIT -> CS_ROUTING
2011-12-07 14:03:54.929503 [DEBUG] mod_freetdm.c:458 FreeTDM/3:1/9449905000 CHANNEL ROUTING
2011-12-07 14:03:59.489509 [DEBUG] mod_freetdm.c:1992 got FXO sig 3:1 [STOP]
2011-12-07 14:03:59.489509 [NOTICE] mod_freetdm.c:2013 Hangup FreeTDM/3:1/9449905000 [CS_CONSUME_MEDIA] [NORMAL_CIRCUIT_CONGESTION]

I don't know where we are making mistake.

Thanks,

Ryan