[asterisk-ss7] REL message with modified Redirection Number

Saeed Ahmad saeedahmad1981 at gmail.com
Thu Jul 9 04:01:55 CDT 2009


Dear Tian,

latest libSS7 will not work with asterisk
please svn following:

svn co http://svn.digium.com/svn/libss7/branches/1.0/ libss7-stable

also note that you have to install dahdi first, then libss7 and asterisk at
last.

PS: Guys any help regarding my question?

Kind Regards
- Saeed

On Thu, Jul 9, 2009 at 8:17 AM, <tian00di00 at live.com> wrote:

>  Dear Saeed,
>
> Could you please let me know the versions of  asterisk and libss7 you're
> using?
>
> 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.
>
> the function prototype of ss7_add_link in libss7 rev.267 is as follows:
>
>     int ss7_add_link(struct ss7 *ss7, int transport, char *name, int slc,
> unsigned int adjpc)
>
> but asterisk 1.6.0 calls it as follows:
>
>   if (p.sigtype == DAHDI_SIG_MTP2)
>    ss7_add_link(link->ss7, SS7_TRANSPORT_DAHDIMTP2, link->fds[curfd]);
>   else
>    ss7_add_link(link->ss7, SS7_TRANSPORT_DAHDIDCHAN, link->fds[curfd]);
>
>
> apparently, the number of parameters don't match, so I think libss7 Rev.267
> will not compile with asterisk 1.6.0
>
>
> Thanks ahead for you information and sorry for not being able to help you.
>
> Best regards,
>
> Tian
>
>
>
>
>
>  *From:* Saeed Ahmed <saeedahmad1981 at gmail.com>
> *Sent:* Thursday, July 09, 2009 12:41 AM
> *To:* asterisk-ss7 at lists.digium.com
> *Subject:* [asterisk-ss7] REL message with modified Redirection Number
>
>  Dear All
>
>
>
> I am connected with my TDM switch with asterisk + libSS7 + DAHDI
>
> My switch understand REL 23 as redirection cause.
>
> My question is:
>
> How can I put new modified number in Release message along with release 23?
>
> If I simply do:
>
> *exten 600,1,Hangup(23)*
>
>
>
> Then debug of ss7 shows me Cause: Redirection to new destination (23) **
>
>
> *    -- Executing [600 at default:1] Answer("DAHDI/31-1", "") in new stack*
>
> *    -- Executing [600 at default:2] Hangup("DAHDI/31-1", "23") in new stack*
>
> *  == Spawn extension (default, 600, 2) exited non-zero on 'DAHDI/31-1'*
>
> *    -- Hungup 'DAHDI/31-1'*
>
> *Len = 12 [ 84 86 09 05 e9 37 29 fe 1f 00 09 00 ]*
>
> *FSN: 6 FIB 1*
>
> *BSN: 4 BIB 1*
>
> *>[0] MSU*
>
> *[ 84 86 09 ]*
>
> *        Network Indicator: 0 Priority: 0 User Part: ISUP (5)*
>
> *        [ 05 ]*
>
> *        OPC 14500 DPC 14313 SLS 15*
>
> *        [ e9 37 29 fe ]*
>
> *                CIC: 31*
>
> *                [ 1f 00 ]*
>
> *                Message Type: ANM*
>
> *                [ 09 ]*
>
> * *
>
> *Len = 16 [ 84 87 0d 05 e9 37 29 fe 1f 00 0c 02 00 02 81 97 ]*
>
> *FSN: 7 FIB 1*
>
> *BSN: 4 BIB 1*
>
> *>[0] MSU*
>
> *[ 84 87 0d ]*
>
> *        Network Indicator: 0 Priority: 0 User Part: ISUP (5)*
>
> *        [ 05 ]*
>
> *        OPC 14500 DPC 14313 SLS 15*
>
> *        [ e9 37 29 fe ]*
>
> *                CIC: 31*
>
> *                [ 1f 00 ]*
>
> *                Message Type: REL*
>
> *                [ 0c ]*
>
> *                --VARIABLE LENGTH PARMS[1]--*
>
> *                Cause Indicator:*
>
> *                        Coding Standard: 0*
>
> *                        Location: 1*
>
> *                        Cause Class: 1*
>
> *                        Cause Subclass: 7*
>
> *                        Cause: Redirection to new destination (23)*
>
> *                        [ 02 81 97 ]*
>
> * *
>
> *Len = 12 [ 87 85 09 05 a4 78 fa fd 1f 00 10 00 ]*
>
> *FSN: 5 FIB 1*
>
> *BSN: 7 BIB 1*
>
> *<[0] MSU*
>
> *[ 87 85 09 ]*
>
> *        Network Indicator: 0 Priority: 0 User Part: ISUP (5)*
>
> *        [ 05 ]*
>
> *        OPC 14313 DPC 14500 SLS 15*
>
> *        [ a4 78 fa fd ]*
>
> *                CIC: 31*
>
> *                [ 1f 00 ]*
>
> *                Message Type: RLC*
>
> *                [ 10 ]*
>
>
> Kind Regards
> - Saeed
>
>
>
> ------------------------------
>
> _______________________________________________
> --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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20090709/ce29e5d1/attachment.htm 


More information about the asterisk-ss7 mailing list