[Freeswitch-users] PRI + FreeTDM problems

Steve Kent skent at noblesys.com
Tue Jun 19 04:22:22 MSD 2012


Larry just switched them over to tnci......



----- Original Message -----
From: "dingdong" <freeswitch at zoho.com>
To: freeswitch-users at lists.freeswitch.org
Sent: Monday, June 18, 2012 8:18:16 PM
Subject: [Freeswitch-users] PRI + FreeTDM problems



hello all, 
i had this problem months ago and didn't really have the solution,just thinking that maybe someone from here can help. 




our primary link for calling outside is a PRI. 
so here's what we currently have, when we try to call 18778025246 and 1866-642-5246 - calls are not going through. 



but when we call 18775682495 - calls go just fine. 




attaching my freetdm.conf.xml too as the provider made me change some fields in there. 






pasting the logs provided by our PRI provider telepacific.com,with comparisons for both numbers dialed and labelled as good and bad calls, 
---------------------------------------------------------------------------------------------------------------------------------- 


GOOD ONE            S2C4-1091895439 12-06-09 13:49:46 253961 MAINT LSANCAGJDS4 M  DUMP FILE ALL IN PROGRESS  SEGMENT 3                                 Call Reference Value              Orig        18                          M 05 Message Type                               SETUP                          I 04 Bearer Capability                   Length =   3                            80   Coding Standard                          CCITT                                 Info Transfer Cap.                      Speech                            90   Transfer Mode                          Circuit                                 Transfer Rate                        64 kbit/s                            A2   Layer 1 Protocol                   G.711 u-law                          I 18 Channel Identification              Length =   3                            A9   Interface ID                Implicitly Defined                                 Interface Type                         Primary        S2C4-1091895439 12-06-09 13:49:46 253962 MAINT LSANCAGJDS4 M  DUMP FILE ALL IN PROGRESS  SEGMENT 4                                   Preferred/Exclusive                  Exclusive                                 D Channel Indicator              Not D Channel                                 Channel Selection                 As Indicated                            83   Coding Standard                          CCITT                                 Coding Type                             Number                                 Channel Type                         B Channel                            81   Channel Number                               1                          I 6C Calling Party Number                Length =  13                            00   Type of Number                    Unknown Type                                 Numbering Plan          Unknown Numbering Plan                            81   Presentation Indicator                 Allowed        S2C4-1091895439 12-06-09 13:49:46 253963 MAINT LSANCAGJDS4 M  DUMP FILE ALL IN PROGRESS  SEGMENT 5                                   Screening Indicator     User Provided - Passed                                 Number                             13231234567                          I 70 Called Party Number                 Length =  12                            80   Type of Number                    Unknown Type                                 Numbering Plan          Unknown Numbering Plan                                 Number                             18775682495                                 Raw Hex Data                               08 02 00 12 05 04 03 80 90 A2 18 03 A9 83 81 6C                               0D 00 81 31 33 32 33 34 35 34 34 30 36 30 70 0C                               80 31 38 37 37 35 36 38 32 34 39 35        S2C4-1091895439 12-06-09 13:50:16 253972 MAINT LSANCAGJDS4 M  DUMP FILE ALL IN PROGRESS  SEGMENT 6                                 ------------------------------------------------          Event 2  12/06/09 13:47:20  TEI 0       08 Q.931 Call Control Message          Call Reference Value              Dest        18     M 02 Message Type                     CALL PROCEEDING     I 18 Channel Identification              Length =   3       A9   Interface ID                Implicitly Defined            Interface Type                         Primary            Preferred/Exclusive                  Exclusive            D Channel Indicator              Not D Channel            Channel Selection                 As Indicated       83   Coding Standard                          CCITT            Coding Type                             Number            Channel Type                         B Channel        S2C4-1091895439 12-06-09 13:50:17 253973 MAINT LSANCAGJDS4 M  DUMP FILE ALL IN PROGRESS  SEGMENT 7         81   Channel Number                               1            Raw Hex Data          08 02 80 12 02 18 03 A9 83 81          ------------------------------------------------          Event 3  12/06/09 13:47:21  TEI 0       08 Q.931 Call Control Message          Call Reference Value              Dest        18     M 03 Message Type                            PROGRESS     I 1E Progress Indicator                  Length =   2       84   Coding Standard                          CCITT            Location                 Remote Public Network       88   Value        In-band Information/Pattern Avail          S2C4-1091895439 12-06-09 13:50:17 253974 MAINT LSANCAGJDS4 M  DUMP FILE ALL IN PROGRESS  SEGMENT 8            Raw Hex Data          08 02 80 12 03 1E 02 84 88          ------------------------------------------------          Event 4  12/06/09 13:47:21  TEI 0       08 Q.931 Call Control Message          Call Reference Value              Dest        18     M 07 Message Type                             CONNECT     I 1E Progress Indicator                  Length =   2       84   Coding Standard                          CCITT            Location                 Remote Public Network       82   Value                  Destination is not ISDN            Raw Hex Data          08 02 80 12 07 1E 02 84 82        S2C4-1091895439 12-06-09 13:50:17 253975 MAINT LSANCAGJDS4 M  DUMP FILE ALL IN PROGRESS  SEGMENT 9            ------------------------------------------------                               Event 5  12/06/09 13:47:33  TEI 0                            08 Q.931 Call Control Message                               Call Reference Value              Orig        18                          M 45 Message Type                          DISCONNECT                          I 08 Cause                               Length =   2                            81   Coding Standard                          CCITT                                 Location                 Local Private Network                            90   Class                             Normal Event                                 Value                #16, Normal Call Clearing         ------------------------------------------------ ------------------------------------------------ ---------------------   BAD ONE              S2C4-1091895439 12-06-09 13:50:48 253980 MAINT LSANCAGJDS4 M  DUMP FILE ALL IN PROGRESS  SEGMENT 13                              83   Coding Standard                          CCITT                                 Coding Type                             Number                                 Channel Type                         B Channel                            81   Channel Number                               1                          I 6C Calling Party Number                Length =  13                            00   Type of Number                    Unknown Type                                 Numbering Plan          Unknown Numbering Plan                            81   Presentation Indicator                 Allowed                                 Screening Indicator     User Provided - Passed                                 Number                             13231234567 
I 70 Called Party Number                 Length =  12        S2C4-1091895439 12-06-09 13:50:48 253981 MAINT LSANCAGJDS4 M  DUMP FILE ALL IN PROGRESS  SEGMENT 14                              80   Type of Number                    Unknown Type                                 Numbering Plan          Unknown Numbering Plan                                 Number                             18778025246                                 Raw Hex Data                               08 02 00 13 05 04 03 80 90 A2 18 03 A9 83 81 6C                               0D 00 81 31 33 32 33 34 35 34 34 30 36 30 70 0C                               80 31 38 37 37 38 30 32 35 32 34 36                               ------------------------------------------------          Event 9  12/06/09 13:48:05  TEI 0       08 Q.931 Call Control Message        S2C4-1091895439 12-06-09 13:50:48 253982 MAINT LSANCAGJDS4 M  DUMP FILE ALL IN PROGRESS  SEGMENT 15            Call Reference Value              Dest        19     M 02 Message Type                     CALL PROCEEDING     I 18 Channel Identification              Length =   3       A9   Interface ID                Implicitly Defined            Interface Type                         Primary            Preferred/Exclusive                  Exclusive            D Channel Indicator              Not D Channel            Channel Selection                 As Indicated       83   Coding Standard                          CCITT            Coding Type                             Number            Channel Type                         B Channel       81   Channel Number                               1            Raw Hex Data        S2C4-1091895439 12-06-09 13:51:18 253993 MAINT LSANCAGJDS4 M  DUMP FILE ALL IN PROGRESS  SEGMENT 16            08 02 80 13 02 18 03 A9 83 81          ------------------------------------------------          Event 10  12/06/09 13:48:05  TEI 0       08 Q.931 Call Control Message          Call Reference Value              Dest        19     M 03 Message Type                            PROGRESS     I 1E Progress Indicator                  Length =   2       8A   Coding Standard                          CCITT            Location           Beyond Interworking Network       81   Value              Call is not End-to-End ISDN            Raw Hex Data          08 02 80 13 03 1E 02 8A 81          ------------------------------------------------        S2C4-1091895439 12-06-09 13:51:19 253994 MAINT LSANCAGJDS4 M  DUMP FILE ALL IN PROGRESS  SEGMENT 17                                 Event 11  12/06/09 13:48:19  TEI 0                            08 Q.931 Call Control Message                               Call Reference Value              Orig        19                          M 45 Message Type                          DISCONNECT                          I 08 Cause                               Length =   2                            81   Coding Standard                          CCITT                                 Location                 Local Private Network                            90   Class                             Normal Event                                 Value                #16, Normal Call Clearing                                 Raw Hex Data        S2C4-1091895439 12-06-09 13:51:19 253995 MAINT LSANCAGJDS4 M  DUMP FILE ALL IN PROGRESS  SEGMENT 18                                 08 02 00 13 45 08 02 81 90                               ------------------------------------------------ 






please take note that 18778025246/1866-642-5246 goes thru our sip provider just fine. no problems at all. not with the PRI. 
i pressume both numbers are toll free. 


i had help from sangoma support no response yet with the 'called number' issue. 


wanrouter version 


WANPIPE Release: 3.5.27 
i have updated the libsng_isdn to the newest driver as suggested, 




pcap sent to sangoma support is saying that when calls go through, i am NOT specifying a 'called number' 
but bad calls are having that 'called number' . 


now the problem is i am not really setting anything specific (e.g adding that 'called number' field to specific numbers when called) 








_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

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

CONFIDENTIAL NOTICE : If you have received this email in error, 
please immediately notify the sender by email at the address 
shown above. This email may contain confidential or legally 
privileged information that is intended only for the use of the 
individual or entity named in this email. If you are not the 
intended recipient, you are hereby notified that any 
disclosure, copying, distribution or reliance upon the contents 
of this email is strictly prohibited. Please delete from your 
files if you are not the intended recipient. Thank you for your 
compliance.



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