Dear Tian,<br><br>latest libSS7 will not work with asterisk<div><br></div><div>please svn following:<br><br>svn co <a href="http://svn.digium.com/svn/libss7/branches/1.0/">http://svn.digium.com/svn/libss7/branches/1.0/</a> libss7-stable</div>
<div><br></div><div>also note that you have to install dahdi first, then libss7 and asterisk at last.<br><br></div><div>PS: Guys any help regarding my question?</div><div><br>Kind Regards<br>- Saeed<br><div><br><div class="gmail_quote">
On Thu, Jul 9, 2009 at 8:17 AM, <span dir="ltr"><<a href="mailto:tian00di00@live.com">tian00di00@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" style="padding-right:10px;padding-left:10px;padding-top:15px" vlink="purple" link="blue" 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</font></div>
<div><br></div>
<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><b>From:</b> <a title="saeedahmad1981@gmail.com" href="mailto:saeedahmad1981@gmail.com" target="_blank">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" target="_blank">asterisk-ss7@lists.digium.com</a>
</div>
<div><b>Subject:</b> [asterisk-ss7] REL message with modified Redirection
Number</div></div></div><div><div></div><div class="h5">
<div><br></div>
<div>
<p><font face="Consolas" color="navy" size="2"><span style="font-size:11pt;color:navy;font-family:Consolas">Dear
All</span></font></p>
<p><font face="Consolas" color="navy" size="2"><span style="font-size:11pt;color:navy;font-family:Consolas"> </span></font></p>
<p><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">
</span></font></p>
<p><font face="Consolas" color="navy" size="2"><span style="font-size:11pt;color:navy;font-family:Consolas"> </span></font></p>
<p><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"></span></i></span></font></p>
<p><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</span></font></i></p>
<p><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</span></font></i></p>
<p><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'</span></font></i></p>
<p><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'</span></font></i></p>
<p><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 ]</span></font></i></p>
<p><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</span></font></i></p>
<p><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</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">>[0]
MSU</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">[
84 86 09 ]</span></font></i></p>
<p><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)</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
[ 05 ]</span></font></i></p>
<p><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</span></font></i></p>
<p><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 ]</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
CIC: 31</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
[ 1f 00 ]</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
Message Type: ANM</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
[ 09 ]</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas"> </span></font></i></p>
<p><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
]</span></font></i></p>
<p><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</span></font></i></p>
<p><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</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">>[0]
MSU</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">[
84 87 0d ]</span></font></i></p>
<p><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)</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
[ 05 ]</span></font></i></p>
<p><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</span></font></i></p>
<p><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 ]</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
CIC: 31</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
[ 1f 00 ]</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
Message Type: REL</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
[ 0c ]</span></font></i></p>
<p><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]--</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
Cause
Indicator:</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
Coding Standard: 0</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
Location: 1</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
Cause
Class: 1</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
Cause Subclass: 7</span></font></i></p>
<p><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)</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
[ 02 81 97 ]</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas"> </span></font></i></p>
<p><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 ]</span></font></i></p>
<p><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</span></font></i></p>
<p><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</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas"><[0]
MSU</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">[
87 85 09 ]</span></font></i></p>
<p><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)</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
[ 05 ]</span></font></i></p>
<p><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</span></font></i></p>
<p><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 ]</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
CIC: 31</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
[ 1f 00 ]</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
Message Type: RLC</span></font></i></p>
<p><i><font face="Consolas" color="#993300" size="2"><span style="font-size:10pt;color:#993300;font-style:italic;font-family:Consolas">
[ 10 ]</span></font></i></p>
<p><font face="Consolas" color="navy" size="2"><span style="font-size:11pt;color:navy;font-family:Consolas"><br>Kind
Regards<br>- Saeed </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size:12pt"> </span></font></p></div>
</div></div><p>
</p><hr>
<p></p>_______________________________________________<br>--Bandwidth and
Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br><br>asterisk-ss7 mailing
list<br>To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><p></p></div>
<br>_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote></div><br></div></div>