[asterisk-ss7] [Bulk] Re: [Bulk] Invalid number format
TCB
tawandac at gmail.com
Sun Jun 29 11:49:15 CDT 2008
Is there a way of statically defining the NAIs from within isup.c ?
from 0 to 3 ?
On Sun, Jun 29, 2008 at 6:34 PM, TCB <tawandac at gmail.com> wrote:
> Hi Mat,
>
> Any chances you can make this configurable ?
>
> On Fri, Jun 27, 2008 at 9:03 PM, Everton Goularth
> <evertongoularth at yahoo.com.br> wrote:
>> Hi Matthew,
>>
>> All of ours servers, that we have configured until now, I had to do this
>> configuration in isup.c, so in my case (using libss7 in Brazil), this will
>> be usefull if you make it configurable.
>>
>> thank`s a lot.
>>
>> Everton Goularth
>>
>> Matthew Fredrickson wrote:
>>
>> Everton Goularth wrote:
>>
>>
>> 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.
>>
>>
>> Is this a common enough problem that I should make this option
>> configurable? I'd assumed that this was mostly just used for overlap
>> dialing scenarios (which I have not yet tested in libss7).
>>
>> Matthew Fredrickson
>>
>>
>>
>> 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
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> --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
>>
>>
>>
>>
>> _______________________________________________
>> --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
>>
>
>
>
> --
> TC
>
--
TC
More information about the asterisk-ss7
mailing list