Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-biz] NT mode is not working with Freeswitch using FreeTDM


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Business
View previous topic :: View next topic  
Author Message
Jayaprakash at cem-sol...
Guest





PostPosted: Mon May 07, 2012 12:25 am    Post subject: [Freeswitch-biz] NT mode is not working with Freeswitch usin Reply with quote

Hi all,

I am using Openvox BRI card with Freeswitch using FreeTDM. In NT
mode I couldn't get dialtone. I got the error like " Unable to get
channel 1: -1". Please help me to solve this issue. I have attached my
configuration details.

--
Thanks and Regards
R.Jayaprakash
VoIP Support Engineer
Cem Solutions
Bangalore-66
Email-id: jayaprakash@cem-solutions.net

freeswitch@localhost.localdomain> ftdm list

+OK
span: 1 (BRI_1)
type: isdn
physical_status: ok
signaling_status: UP
chan_count: 3
dialplan: asterisk
context: from-intern
dial_regex:
fail_dial_regex:
hold_music:
analog_options: none
+OK
span: 2 (BRI_2)
type: isdn
physical_status: ok
signaling_status: DOWN
chan_count: 3
dialplan: XML
context: from-bri
dial_regex:
fail_dial_regex:
hold_music:
analog_options: none


freeswitch@localhost.localdomain> ftdm dump 1 1

span_id: 1
chan_id: 1
physical_span_id: 1
physical_chan_id: 1
physical_status: ok
physical_status_red: 0
physical_status_yellow: 0
physical_status_rai: 0
physical_status_blue: 0
physical_status_ais: 0
physical_status_general: 0
signaling_status: UP
type: B
state: DOWN
last_state: RESTART
txgain: 0.00
rxgain: 0.00
cid_date:
cid_name:
cid_num:
ani:
aniII:
dnis:
rdnis:
cause: NONE
session: (none)

-- States -- -- Function -- -- Location -- -- Time Offset --
DOWN => RESTART [on_dchan_up] [ftmod_libpri.c:1520] 0ms
RESTART => DOWN [state_advance] [ftmod_libpri.c:685] 1ms

Time since last state change: 4138429ms

















[root@localhost bin]# cat ../conf/freetdm.conf
[span zt BRI_1]
trunk_type => bri_ptmp
b-channel => 1-2
d-channel => 3


[span zt BRI_2]
trunk_type => bri_ptmp
b-channel => 1-2
d-channel => 3



[root@localhost bin]# cat ../conf/autoload_configs/freetdm.conf.xml
<configuration name="freetdm.conf" description="FreeTDM Configuration">

<settings>
<param name="debug" value="0"/>
<param name="dtmfdebug" value="1"/>
<param name="crash-on-assert" value="no"/>
<param name="overlap" value="yes"/>
</settings>


<libpri_spans>

<span name="BRI_1">
<param name="node" value="net"/>
<param name="switch" value="euroisdn"/>
<param name="dialplan" value="asterisk"/>
<param name="context" value="from-intern"/>
<param name="debug" value="q931_all"/>
</span>

<span name="BRI_2">
<param name="node" value="cpe"/>
<param name="switch" value="euroisdn"/>
<param name="dialplan" value="XML"/>
<param name="context" value="from-bri"/>
<param name="debug" value="q931_all"/>
</span>


</libpri_spans>


</configuration>











WHILE OFFHOOK THE NT PHONE



freeswitch@internal> 2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 < Protocol Discriminator: Q.931 (Cool len=8
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 < TEI=65 Call Ref: len= 1 (reference 1/0x1) (Sent from originator)
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 < Message Type: DISCONNECT (69)
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 < [08 02 80 90]
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: User (0)
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 < Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 Received message for call 0xb77119a0 on link 0x87cbb08 TEI/SAPI 65/0
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 -- Processing IE 8 (cs0, Cause)
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 q931.c:8707 post_handle_q931_message: Call 1 enters state 12 (Disconnect Indication). Hold state: Idle
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 q931.c:6837 q931_hangup: Hangup other cref:1
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 q931.c:6594 __q931_hangup: ourstate Disconnect Indication, peerstate Disconnect Request, hold-state Idle
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 q931.c:5703 q931_release: Call 1 enters state 19 (Release Request). Hold state: Idle
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 Sending message for call 0xb77119a0 on call->link: 0x87cbb08 with TEI/SAPI 65/0
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 > DL-DATA request
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 > Protocol Discriminator: Q.931 (Cool len=8
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 > TEI=65 Call Ref: len= 1 (reference 1/0x1) (Sent to originator)
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 > Message Type: RELEASE COMPLETE (90)
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 > Protocol Discriminator: Q.931 (Cool len=8
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 > TEI=65 Call Ref: len= 1 (reference 1/0x1) (Sent to originator)
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 > Message Type: RELEASE COMPLETE (90)
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 > [08 02 81 90]
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
2012-04-27 19:45:25.465395 [DEBUG] ftmod_libpri.c:146 > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 < Protocol Discriminator: Q.931 (Cool len=17
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 < TEI=65 Call Ref: len= 1 (reference 1/0x1) (Sent from originator)
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 < Message Type: SETUP (5)
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 < [04 03 80 90 a3]
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 < Bearer Capability (len= 5) [ Ext: 1 Coding-Std: 0 Info transfer capability: Speech (0)
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 < Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 < User information layer 1: A-Law (35)
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 < [6c 02 01 80]
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 < Calling Number (len= 4) [ Ext: 0 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 < Presentation: Presentation permitted, user number not screened (0) '' ]
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 < [7d 02 91 81]
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 < IE: High-layer Compatibility (len = 4)
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 Received message for call 0xb77119a0 on link 0x87cbb08 TEI/SAPI 65/0
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 -- Processing Q.931 Call Setup
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 -- Processing IE 4 (cs0, Bearer Capability)
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 -- Processing IE 108 (cs0, Calling Party Number)
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 -- Processing IE 125 (cs0, High-layer Compatibility)
2012-04-27 19:45:30.005365 [DEBUG] ftmod_libpri.c:146 !! No handler for IE 125 (cs0, High-layer Compatibility)





_______________________________________________
Freeswitch-biz mailing list
Freeswitch-biz@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-biz
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Business All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services