These was the output to fscli :- EXECUTE sofia/internal/7001@192.168.2.190bridge({monitor_early_media_ring_total=3}freetdm/wp1/a/9322273640) 2011-01-03 10:15:25.554494 [DEBUG] switch_ivr_originate.c:1954 variable string 0 = [monitor_early_media_ring_total=3] 2011-01-03 10:15:25.554494 [DEBUG] mod_freetdm.c:378 Set codec PCMA 20ms 2011-01-03 10:15:25.554494 [DEBUG] mod_freetdm.c:1361 Connect outbound channel FreeTDM/1:1/9322273640 2011-01-03 10:15:25.554494 [NOTICE] switch_channel.c:784 New Channel FreeTDM/1:1/9322273640 [42a43181-4124-426a-ab14-6cea045e5c22] 2011-01-03 10:15:25.554494 [DEBUG] mod_freetdm.c:1374 (FreeTDM/1:1/9322273640) State Change CS_NEW -> CS_INIT 2011-01-03 10:15:25.554494 [DEBUG] switch_core_session.c:1083 Send signal FreeTDM/1:1/9322273640 [BREAK] 2011-01-03 10:15:25.554494 [DEBUG] ftmod_sangoma_isdn.c:926 [s1c1][1:1] Changed state from DOWN to DIALING 2011-01-03 10:15:25.555440 [DEBUG] ftmod_sangoma_isdn.c:634 [s1c1][1:1] processing state change to DIALING 2011-01-03 10:15:25.555440 [INFO] ftmod_sangoma_isdn_stack_out.c:61 [s1c1][1:1] Outgoing call: Called No:[9322273640] Calling No:[7001] 2011-01-03 10:15:25.555440 [INFO] ftmod_sangoma_isdn_stack_out.c:74 [s1c1][1:1] Sending SETUP (suId:1 suInstId:67 spInstId:0 dchan:1 ces:0) 2011-01-03 10:15:25.565340 [DEBUG] switch_core_state_machine.c:320 (FreeTDM/1:1/9322273640) Running State Change CS_INIT 2011-01-03 10:15:25.565340 [DEBUG] switch_core_state_machine.c:356 (FreeTDM/1:1/9322273640) State INIT 2011-01-03 10:15:25.565340 [DEBUG] mod_freetdm.c:406 (FreeTDM/1:1/9322273640) State Change CS_INIT -> CS_ROUTING 2011-01-03 10:15:25.565340 [DEBUG] switch_core_session.c:1083 Send signal FreeTDM/1:1/9322273640 [BREAK] 2011-01-03 10:15:25.565340 [DEBUG] switch_core_state_machine.c:356 (FreeTDM/1:1/9322273640) State INIT going to sleep 2011-01-03 10:15:25.565340 [DEBUG] switch_core_state_machine.c:320 (FreeTDM/1:1/9322273640) Running State Change CS_ROUTING 2011-01-03 10:15:25.565340 [DEBUG] switch_channel.c:1615 (FreeTDM/1:1/9322273640) Callstate Change DOWN -> RINGING 2011-01-03 10:15:25.565340 [DEBUG] switch_core_state_machine.c:359 (FreeTDM/1:1/9322273640) State ROUTING 2011-01-03 10:15:25.565340 [DEBUG] mod_freetdm.c:431 FreeTDM/1:1/9322273640 CHANNEL ROUTING 2011-01-03 10:15:25.565340 [DEBUG] switch_ivr_originate.c:66 (FreeTDM/1:1/9322273640) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2011-01-03 10:15:25.565340 [DEBUG] switch_core_session.c:1083 Send signal FreeTDM/1:1/9322273640 [BREAK] 2011-01-03 10:15:25.565340 [DEBUG] switch_core_state_machine.c:359 (FreeTDM/1:1/9322273640) State ROUTING going to sleep 2011-01-03 10:15:25.565340 [DEBUG] switch_core_state_machine.c:320 (FreeTDM/1:1/9322273640) Running State Change CS_CONSUME_MEDIA 2011-01-03 10:15:25.566306 [DEBUG] switch_core_state_machine.c:378 (FreeTDM/1:1/9322273640) State CONSUME_MEDIA 2011-01-03 10:15:25.566306 [DEBUG] switch_core_state_machine.c:378 (FreeTDM/1:1/9322273640) State CONSUME_MEDIA going to sleep 2011-01-03 10:15:25.609441 [INFO] ftmod_sangoma_isdn_stack_rcv.c:172 [s1c1][1:1] Received PROCEED (suId:1 suInstId:67 spInstId:67 ces:0) 2011-01-03 10:15:25.609441 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:351 [s1c1][1:1] Processing PROCEED (suId:1 suInstId:67 spInstId:67 ces:0) 2011-01-03 10:15:25.609441 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:380 [s1c1][1:1] Changed state from DIALING to PROCEED 2011-01-03 10:15:25.609441 [DEBUG] ftmod_sangoma_isdn.c:634 [s1c1][1:1] processing state change to PROCEED 2011-01-03 10:15:25.610382 [DEBUG] mod_freetdm.c:2116 got clear channel sig [PROCEED] 2011-01-03 10:15:26.837602 [INFO] ftmod_sangoma_isdn_stack_rcv.c:172 [s1c1][1:1] Received ALERT (suId:1 suInstId:67 spInstId:67 ces:0) 2011-01-03 10:15:26.838544 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:351 [s1c1][1:1] Processing ALERT (suId:1 suInstId:67 spInstId:67 ces:0) 2011-01-03 10:15:26.838544 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:385 [s1c1][1:1] Changed state from PROCEED to RINGING 2011-01-03 10:15:26.838544 [DEBUG] ftmod_sangoma_isdn.c:634 [s1c1][1:1] processing state change to RINGING 2011-01-03 10:15:26.838544 [DEBUG] mod_freetdm.c:2116 got clear channel sig [RINGING] 2011-01-03 10:15:26.838544 [NOTICE] mod_freetdm.c:2184 Ring-Ready FreeTDM/1:1/9322273640! 2011-01-03 10:15:26.839557 [NOTICE] mod_sofia.c:2156 Ring-Ready sofia/internal/7001@192.168.2.190! 2011-01-03 10:15:26.839557 [DEBUG] switch_core_session.c:676 Send signal sofia/internal/7001@192.168.2.190 [BREAK] 2011-01-03 10:15:26.839557 [NOTICE] switch_ivr_originate.c:472 Ring Ready sofia/internal/7001@192.168.2.190! 2011-01-03 10:15:26.839557 [DEBUG] sofia.c:4606 Channel sofia/internal/ 7001@192.168.2.190 entering state [early][180] 2011-01-03 10:15:30.204270 [INFO] ftmod_sangoma_isdn_stack_rcv.c:172 [s1c1][1:1] Received PROGRESS (suId:1 suInstId:67 spInstId:67 ces:0) 2011-01-03 10:15:30.204270 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:351 [s1c1][1:1] Processing PROGRESS (suId:1 suInstId:67 spInstId:67 ces:0) Regds Sam On Mon, Jan 3, 2011 at 10:00 AM, Sam <u2nsam@gmail.com> wrote:
Hi All,
happy new you to you !
using a sangoma card and when dialing a mobile number which is having ringback tune / caller tune ; but a plain ring is heard to the user dialing that mobile through the trunk.
I am using below syntax to dial out:- <action application="bridge" data="{monitor_early_media_ring_total=3}freetdm/wp1/a/${destination_number}"/>
Any suggestions.
Regards Sam