[Bulk] Invalid number format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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`s
Everton Goularth


Rana 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/14445981
> Len = 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 1
> BSN: 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: 0
> Continuity 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: 0
> NI: 0
> Numbering plan: 1
> Address signals: 14445981#
> [ 07 80 10 41 44 95 18 0f ]
> --OPTIONAL PARMS--
> Calling Party Number:
> Nature of address: 0
> NI: 0
> Numbering plan: 1
> Presentation: 0
> Screening: 0
> Address 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 1
> BSN: 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: 0
> Location: 3
> Cause Class: 1
> Cause Subclass: 12
> Cause: 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 1
> BSN: 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.conf
> linkset=1
> group=2
> signalling=ss7
> ss7type=itu
> ss7_called_nai=national
> ss7_calling_nai=national
> pointcode=3005
> adjpointcode=147
> defaultdpc=147
> context=from-outside_c7
> networkindicator=national_spare
> cicbeginswith=1
> channel=>32-46
> cicbeginswith=17
> channel=>48-62
> sigchan=47
>  
> zaptel.conf
> span=1,0,0,cas,hdb3
> cas=1-15:1101
> dchan=16
> cas=17-31:1101
> span=2,1,0,ccs,hdb3
> bchan=32-46,48-62
> dchan=47
> zap show status
> Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO
> T2XXP (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 fee
> thanks,
>
> ------------------------------------------------------------------------
> Introducing Live Search cashback . It's search that pays you back! Try 
> it Now 
> <http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=introsrchcashback> 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20080626/e314c58a/attachment.htm 


[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux