<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.2900.5803" name=GENERATOR>
<STYLE>
<!--
/* Font Definitions */
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Consolas;
        color:navy;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-US id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" vLink=purple
link=blue leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=宋体 size=2>Dear <FONT face="Times New Roman" color=#000080
size=3>Saeed,</FONT></FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>Could you please let me know the versions of
asterisk and libss7 you're using?</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>As I don't have the necessary hardware to get it up and
running, I am now reading the source code of libss7 and chan_dahdi, I found that
asterisk 1.6.0 is not compatible with the latest libss7 (rev. 267), but the
libss7 maintainer states that libss7 has been tested under asterisk
1.6.0.</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>the function prototype of </FONT><FONT face=宋体
color=#000000 size=2>ss7_add_link in libss7 rev.267 is as follows:</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT face=宋体 size=2> int ss7_add_link(struct ss7 *ss7,
int transport, char *name, int slc, unsigned int adjpc)</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>but asterisk 1.6.0 calls it as follows:</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2> if (p.sigtype ==
DAHDI_SIG_MTP2)<BR> ss7_add_link(link->ss7,
SS7_TRANSPORT_DAHDIMTP2,
link->fds[curfd]);<BR> else<BR> ss7_add_link(link->ss7,
SS7_TRANSPORT_DAHDIDCHAN, link->fds[curfd]);</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>apparently, the number of parameters don't match, so I
think libss7 Rev.267 will not compile with asterisk 1.6.0</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>Thanks ahead for you information and sorry for not
being able to help you.</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>Best regards,</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>Tian</DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=saeedahmad1981@gmail.com
href="mailto:saeedahmad1981@gmail.com">Saeed Ahmed</A> </DIV>
<DIV><B>Sent:</B> Thursday, July 09, 2009 12:41 AM</DIV>
<DIV><B>To:</B> <A
title="mailto:asterisk-ss7@lists.digium.com CTRL + 单击以下链接"
href="mailto:asterisk-ss7@lists.digium.com">asterisk-ss7@lists.digium.com</A>
</DIV>
<DIV><B>Subject:</B> [asterisk-ss7] REL message with modified Redirection
Number</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Consolas color=navy size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: navy; FONT-FAMILY: Consolas">Dear
All<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Consolas color=navy size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: navy; FONT-FAMILY: Consolas"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Consolas color=navy size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: navy; FONT-FAMILY: Consolas">I am connected with
my TDM switch with asterisk + libSS7 + DAHDI<BR><BR>My switch understand REL 23
as redirection cause.<BR><BR>My question is:<BR><BR>How can I put new modified
number in Release message along with release 23?<BR><BR>If I simply
do:<BR><BR></SPAN></FONT><B><FONT face=Consolas size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Consolas">exten
600,1,Hangup(23)</SPAN></FONT></B><FONT face=Consolas color=navy size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: navy; FONT-FAMILY: Consolas">
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Consolas color=navy size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: navy; FONT-FAMILY: Consolas"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Consolas color=navy size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: navy; FONT-FAMILY: Consolas">Then debug of ss7
shows me Cause: Redirection to new destination (23) <I><SPAN
style="FONT-STYLE: italic"><o:p></o:p></SPAN></I></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Consolas color=navy size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: navy; FONT-FAMILY: Consolas"><BR></SPAN></FONT><I><FONT
face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
-- Executing [600@default:1] Answer("DAHDI/31-1", "") in new
stack<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
-- Executing [600@default:2] Hangup("DAHDI/31-1", "23") in new
stack<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
== Spawn extension (default, 600, 2) exited non-zero on
'DAHDI/31-1'<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
-- Hungup 'DAHDI/31-1'<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">Len
= 12 [ 84 86 09 05 e9 37 29 fe 1f 00 09 00 ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">FSN:
6 FIB 1<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">BSN:
4 BIB 1<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">>[0]
MSU<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">[
84 86 09 ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
Network Indicator: 0 Priority: 0 User Part: ISUP
(5)<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
[ 05 ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
OPC 14500 DPC 14313 SLS 15<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
[ e9 37 29 fe ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
CIC: 31<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
[ 1f 00 ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
Message Type: ANM<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
[ 09 ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas"><o:p> </o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">Len
= 16 [ 84 87 0d 05 e9 37 29 fe 1f 00 0c 02 00 02 81 97
]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">FSN:
7 FIB 1<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">BSN:
4 BIB 1<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">>[0]
MSU<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">[
84 87 0d ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
Network Indicator: 0 Priority: 0 User Part: ISUP
(5)<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
[ 05 ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
OPC 14500 DPC 14313 SLS 15<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
[ e9 37 29 fe ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
CIC: 31<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
[ 1f 00 ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
Message Type: REL<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
[ 0c ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
--VARIABLE LENGTH PARMS[1]--<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
Cause
Indicator:<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
Coding Standard: 0<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
Location: 1<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
Cause
Class: 1<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
Cause Subclass: 7<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
Cause: Redirection to new destination (23)<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
[ 02 81 97 ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas"><o:p> </o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">Len
= 12 [ 87 85 09 05 a4 78 fa fd 1f 00 10 00 ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">FSN:
5 FIB 1<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">BSN:
7 BIB 1<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas"><[0]
MSU<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">[
87 85 09 ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
Network Indicator: 0 Priority: 0 User Part: ISUP
(5)<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
[ 05 ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
OPC 14313 DPC 14500 SLS 15<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
[ a4 78 fa fd ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
CIC: 31<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
[ 1f 00 ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
Message Type: RLC<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><I><FONT face=Consolas color=#993300 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #993300; FONT-STYLE: italic; FONT-FAMILY: Consolas">
[ 10 ]<o:p></o:p></SPAN></FONT></I></P>
<P class=MsoNormal><FONT face=Consolas color=navy size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: navy; FONT-FAMILY: Consolas"><BR>Kind
Regards<BR>- Saeed </SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>--Bandwidth and
Colocation Provided by http://www.api-digital.com--<BR><BR>asterisk-ss7 mailing
list<BR>To UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-ss7</BODY></HTML>