<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Rana Dhekial,<br>
<br>
I use to do this:<br>
<br>
- In the file isup.c in libss7-trunk I change the function near the
line 287:<br>
<br>
from:<br>
<br>
dest[i/2] |= char2digit(src[i]) & 0xf;<br>
<br>
to:<br>
<br>
dest[i/2] |= char2digit(src[i]);<br>
<br>
- And the function near the line 1955 (in the isup.c yet):<br>
<br>
from:<br>
<br>
snprintf(c->called_party_num, sizeof(c->called_party_num), "%s#",
called); <br>
<br>
to:<br>
<br>
snprintf(c->called_party_num, sizeof(c->called_party_num), "%s",
called);<br>
<br>
<br>
So I reinstall libss7 and it work fine.<br>
<br>
Thank`s<br>
Everton Goularth<br>
<br>
<br>
Rana Dhekial wrote:
<blockquote cite="mid:BLU120-W212FF09A6147D9B9ED9820A3A00@phx.gbl"
type="cite">
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>Hi,<br>
<br>
<font size="2">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. <br>
<br>
<br>
-- Executing [14445981@from-inside:1] Macro("SIP/993270780-09e234c0",
"trunkdial,ZAP/g2/14445981") in new stack<br>
-- Executing [s@macro-trunkdial:1] Dial("SIP/993270780-09e234c0",
"ZAP/g2/14445981") in new stack<br>
-- Called g2/14445981<br>
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 ]<br>
FSN: 19 FIB 1<br>
BSN: 8 BIB 1<br>
>[0] MSU<br>
[ 88 93 22 ]<br>
Network Indicator: 3 Priority: 0 User Part: ISUP (5)<br>
[ c5 ]<br>
OPC 3005 DPC 147 SLS 1<br>
[ 93 40 ef 12 ]<br>
CIC: 1<br>
[ 01 00 ]<br>
Message Type: IAM<br>
[ 01 ]<br>
--FIXED LENGTH PARMS[4]--<br>
Nature of Connection Indicator:<br>
Satellites in connection: 0<br>
Continuity Check: Check not required (0)<br>
Outgoing half echo control device: not included (0)<br>
[ 00 ]<br>
Forward Call Indicators:<br>
Nat/Intl Call Ind: call to be treated as a national call (0)<br>
End to End Method Ind: no end-to-end method(s) available (0)<br>
Interworking Ind: no interworking encountered (0)<br>
End to End Info Ind: no end-to-end information available (0)<br>
ISDN User Part Ind: ISDN user part used all the way (1)<br>
ISDN User Part Pref Ind: ISDN user part not preferred all the way (1)<br>
ISDN Access Ind: originating access ISDN (1)<br>
SCCP Method Ind: no indication (0)<br>
[ 60 01 ]<br>
Calling Party's Category:<br>
Category: Ordinary calling subscriber (10)<br>
[ 0a ]<br>
Transmission Medium Requirements:<br>
Speech (0)<br>
[ 00 ]<br>
--VARIABLE LENGTH PARMS[1]--<br>
Called Party Number:<br>
Nature of address: 0<br>
NI: 0<br>
Numbering plan: 1<br>
Address signals: 14445981#<br>
[ 07 80 10 41 44 95 18 0f ]<br>
--OPTIONAL PARMS--<br>
Calling Party Number:<br>
Nature of address: 0<br>
NI: 0<br>
Numbering plan: 1<br>
Presentation: 0<br>
Screening: 0<br>
Address signals: 91123456789<br>
[ 0a 08 80 10 19 21 43 65 87 09 ]<br>
Len = 16 [ 93 89 0d c5 bd cb 24 10 01 00 0c 02 00 02 83 9c ]<br>
FSN: 9 FIB 1<br>
BSN: 19 BIB 1<br>
<[0] MSU<br>
[ 93 89 0d ]<br>
Network Indicator: 3 Priority: 0 User Part: ISUP (5)<br>
[ c5 ]<br>
OPC 147 DPC 3005 SLS 1<br>
[ bd cb 24 10 ]<br>
CIC: 1<br>
[ 01 00 ]<br>
Message Type: REL<br>
[ 0c ]<br>
--VARIABLE LENGTH PARMS[1]--<br>
Cause Indicator:<br>
Coding Standard: 0<br>
Location: 3<br>
Cause Class: 1<br>
Cause Subclass: 12<br>
Cause: Invalid number format (address incomplete) (28)<br>
[ 02 83 9c ]<br>
Len = 12 [ 89 94 09 c5 93 40 ef 12 01 00 10 00 ]<br>
FSN: 20 FIB 1<br>
BSN: 9 BIB 1<br>
>[0] MSU<br>
[ 89 94 09 ]<br>
Network Indicator: 3 Priority: 0 User Part: ISUP (5)<br>
[ c5 ]<br>
OPC 3005 DPC 147 SLS 1<br>
[ 93 40 ef 12 ]<br>
CIC: 1<br>
[ 01 00 ]<br>
Message Type: RLC<br>
[ 10 ]<br>
-- Hungup 'Zap/32-1'<br>
== Everyone is busy/congested at this time (1:0/0/1)<br>
== Spawn extension (macro-trunkdial, s, 1) exited non-zero on
'SIP/993270780-09e234c0' in macro 'trunkdial'<br>
== Spawn extension (macro-trunkdial, s, 1) exited INCOMPLETE on
'SIP/993270780-09e234c0'<br>
[Jun 26 07:20:05] WARNING[3704]: chan_sip.c:2954 retrans_pkt: Maximum
retries exceeded on transmission
ODg2N2JmYTMzYzZiOGQyMzI4MzUzMDcxZWQ4Y2FhODc. for seqno 1 (Critical
Response)<br>
[Jun 26 07:20:32] WARNING[3704]: chan_sip.c:2954 retrans_pkt: Maximum
retries exceeded on transmission
M2UxZDU0YTFmODgxZTYwZTQ3MzkxZDc5M2ZiYzBiMTQ. for seqno 1 (Critical
Response)<br>
STMNEWH*CLI> <br>
<br>
zapata.conf<br>
linkset=1<br>
group=2<br>
signalling=ss7<br>
ss7type=itu<br>
ss7_called_nai=national<br>
ss7_calling_nai=national<br>
pointcode=3005<br>
adjpointcode=147<br>
defaultdpc=147<br>
context=from-outside_c7<br>
networkindicator=national_spare<br>
cicbeginswith=1<br>
channel=>32-46<br>
cicbeginswith=17<br>
channel=>48-62<br>
sigchan=47<br>
<br>
zaptel.conf<br>
span=1,0,0,cas,hdb3<br>
cas=1-15:1101<br>
dchan=16<br>
cas=17-31:1101<br>
span=2,1,0,ccs,hdb3<br>
bchan=32-46,48-62<br>
dchan=47<br>
zap show status<br>
Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO<br>
T2XXP (PCI) Card 0 Span 1 RED 0 0 0 CAS HDB3 YEL 0 db (CSU)/0-133 feet
(DSX-1)<br>
T2XXP (PCI) Card 0 Span 2 OK 0 0 0 CCS HDB3 YEL 0 db (CSU)/0-133 fee<br>
thanks,<br>
</font><br>
<hr>Introducing Live Search cashback . It's search that pays you
back! <a moz-do-not-send="true"
href="http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=introsrchcashback"
target="_new">Try it Now</a>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
--Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a>--
asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-ss7">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a></pre>
</blockquote>
<br>
</body>
</html>