Hi Everton, Thanks fro your response. I have compiled libss7 as per your note so that end of digit # is not sent. Asterisk was also compiled. Now called address does not contain # at the end. Unfortunately, I am still getting "invalid number format" from Telco. I will follow up with Telco to see if they can through some light on this. Usually we use PRI-C7 converter to connect to C7 ckt and it worked well with the same ckt and we use C7 ISUP version Q767. thanks, Rana Date: Thu, 26 Jun 2008 10:20:31 -0300From: evertongoularth at yahoo.com.brTo: asterisk-ss7 at lists.digium.comSubject: Re: [asterisk-ss7] [Bulk] Invalid number format Hi Rana Dhekial,I use to do this:- In the file isup.c in libss7-trunk I change the function near the line 287:from:dest[i/2] |= char2digit(src[i]) & 0xf;to: dest[i/2] |= char2digit(src[i]);- And the function near the line 1955 (in the isup.c yet):from:snprintf(c->called_party_num, sizeof(c->called_party_num), "%s#", called); to:snprintf(c->called_party_num, sizeof(c->called_party_num), "%s", called);So I reinstall libss7 and it work fine.Thank`sEverton GoularthRana Dhekial wrote: Hi, I am trying to connect our Asterisk to a SS7 ckt in Nepal. When I dial out on this ckt I get the following error message. I have tried various types of SS7_called_nai/calling_nai. I always get invalid number format from PSTN. I am thinking perhaps it is the F(#) at the end of called number that the SS7 switch on the other end does not like. How do I configure so that end of number ( #) is not forwarded in the SS7 ckt. -- Executing [14445981 at from-inside:1] Macro("SIP/993270780-09e234c0", "trunkdial,ZAP/g2/14445981") in new stack-- Executing [s at macro-trunkdial:1] Dial("SIP/993270780-09e234c0", "ZAP/g2/14445981") in new stack-- Called g2/14445981Len = 37 [ 88 93 22 c5 93 40 ef 12 01 00 01 00 60 01 0a 00 02 09 07 80 10 41 44 95 18 0f 0a 08 80 10 19 21 43 65 87 09 00 ]FSN: 19 FIB 1BSN: 8 BIB 1>[0] MSU[ 88 93 22 ]Network Indicator: 3 Priority: 0 User Part: ISUP (5)[ c5 ]OPC 3005 DPC 147 SLS 1[ 93 40 ef 12 ]CIC: 1[ 01 00 ]Message Type: IAM[ 01 ]--FIXED LENGTH PARMS[4]--Nature of Connection Indicator:Satellites in connection: 0Continuity Check: Check not required (0)Outgoing half echo control device: not included (0)[ 00 ]Forward Call Indicators:Nat/Intl Call Ind: call to be treated as a national call (0)End to End Method Ind: no end-to-end method(s) available (0)Interworking Ind: no interworking encountered (0)End to End Info Ind: no end-to-end information available (0)ISDN User Part Ind: ISDN user part used all the way (1)ISDN User Part Pref Ind: ISDN user part not preferred all the way (1)ISDN Access Ind: originating access ISDN (1)SCCP Method Ind: no indication (0)[ 60 01 ]Calling Party's Category:Category: Ordinary calling subscriber (10)[ 0a ]Transmission Medium Requirements:Speech (0)[ 00 ]--VARIABLE LENGTH PARMS[1]--Called Party Number:Nature of address: 0NI: 0Numbering plan: 1Address signals: 14445981#[ 07 80 10 41 44 95 18 0f ]--OPTIONAL PARMS--Calling Party Number:Nature of address: 0NI: 0Numbering plan: 1Presentation: 0Screening: 0Address signals: 91123456789[ 0a 08 80 10 19 21 43 65 87 09 ]Len = 16 [ 93 89 0d c5 bd cb 24 10 01 00 0c 02 00 02 83 9c ]FSN: 9 FIB 1BSN: 19 BIB 1<[0] MSU[ 93 89 0d ]Network Indicator: 3 Priority: 0 User Part: ISUP (5)[ c5 ]OPC 147 DPC 3005 SLS 1[ bd cb 24 10 ]CIC: 1[ 01 00 ]Message Type: REL[ 0c ]--VARIABLE LENGTH PARMS[1]--Cause Indicator:Coding Standard: 0Location: 3Cause Class: 1Cause Subclass: 12Cause: Invalid number format (address incomplete) (28)[ 02 83 9c ]Len = 12 [ 89 94 09 c5 93 40 ef 12 01 00 10 00 ]FSN: 20 FIB 1BSN: 9 BIB 1>[0] MSU[ 89 94 09 ]Network Indicator: 3 Priority: 0 User Part: ISUP (5)[ c5 ]OPC 3005 DPC 147 SLS 1[ 93 40 ef 12 ]CIC: 1[ 01 00 ]Message Type: RLC[ 10 ]-- Hungup 'Zap/32-1'== Everyone is busy/congested at this time (1:0/0/1)== Spawn extension (macro-trunkdial, s, 1) exited non-zero on 'SIP/993270780-09e234c0' in macro 'trunkdial'== Spawn extension (macro-trunkdial, s, 1) exited INCOMPLETE on 'SIP/993270780-09e234c0'[Jun 26 07:20:05] WARNING[3704]: chan_sip.c:2954 retrans_pkt: Maximum retries exceeded on transmission ODg2N2JmYTMzYzZiOGQyMzI4MzUzMDcxZWQ4Y2FhODc. for seqno 1 (Critical Response)[Jun 26 07:20:32] WARNING[3704]: chan_sip.c:2954 retrans_pkt: Maximum retries exceeded on transmission M2UxZDU0YTFmODgxZTYwZTQ3MzkxZDc5M2ZiYzBiMTQ. for seqno 1 (Critical Response)STMNEWH*CLI> zapata.conflinkset=1group=2signalling=ss7ss7type=ituss7_called_nai=nationalss7_calling_nai=nationalpointcode=3005adjpointcode=147defaultdpc=147context=from-outside_c7networkindicator=national_sparecicbeginswith=1channel=>32-46cicbeginswith=17channel=>48-62sigchan=47 zaptel.confspan=1,0,0,cas,hdb3cas=1-15:1101dchan=16cas=17-31:1101span=2,1,0,ccs,hdb3bchan=32-46,48-62dchan=47zap show statusDescription Alarms IRQ bpviol CRC4 Fra Codi Options LBOT2XXP (PCI) Card 0 Span 1 RED 0 0 0 CAS HDB3 YEL 0 db (CSU)/0-133 feet (DSX-1)T2XXP (PCI) Card 0 Span 2 OK 0 0 0 CCS HDB3 YEL 0 db (CSU)/0-133 feethanks, Introducing Live Search cashback . It's search that pays you back! Try it Now _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-ss7 mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-ss7 _________________________________________________________________ Earn cashback on your purchases with Live Search - the search that pays you back! http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=earncashback -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20080626/fa1a77c6/attachment.htm
![]() |