<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<BR><BR>Attached please find the CPG message that PSTN sends<BR> <BR><BR>[Kskyswitchmicroasterisk*CLI> <[0] MSU<BR> <BR>[Kskyswitchmicroasterisk*CLI> [ 81 e5 16 ]<BR> <BR>[Kskyswitchmicroasterisk*CLI> Network Indicator: 3 Priority: 0 User Part: ISUP (5)<BR> <BR>[Kskyswitchmicroasterisk*CLI> [ c5 ]<BR> <BR>[Kskyswitchmicroasterisk*CLI> OPC 147 DPC 3005 SLS 1<BR> <BR>[Kskyswitchmicroasterisk*CLI> [ bd cb 24 10 ]<BR> <BR>[Kskyswitchmicroasterisk*CLI> CIC: 1<BR> <BR>[Kskyswitchmicroasterisk*CLI> [ 01 00 ]<BR> <BR>[Kskyswitchmicroasterisk*CLI> Message Type: CPG<BR> <BR>[Kskyswitchmicroasterisk*CLI> [ 2c ]<BR> <BR>[Kskyswitchmicroasterisk*CLI> --FIXED LENGTH PARMS[1]--<BR> <BR>[Kskyswitchmicroasterisk*CLI> Event Information:<BR> <BR>[Kskyswitchmicroasterisk*CLI> In-band information or an appropriate pattern is now available<BR> <BR>[Kskyswitchmicroasterisk*CLI> [ 03 ]<BR> <BR>[Kskyswitchmicroasterisk*CLI> --OPTIONAL PARMS--<BR> <BR>[Kskyswitchmicroasterisk*CLI> Backward Call Indicator:<BR> <BR>[Kskyswitchmicroasterisk*CLI> Charge indicator: 2<BR> <BR>[Kskyswitchmicroasterisk*CLI> Called party's status indicator: 0<BR> <BR>[Kskyswitchmicroasterisk*CLI> Called party's category indicator: 0<BR> <BR>[Kskyswitchmicroasterisk*CLI> End to End method indicator: 0<BR> <BR>[Kskyswitchmicroasterisk*CLI> Interworking indicator: 0<BR> <BR>[Kskyswitchmicroasterisk*CLI> End to End information indicator: 0<BR> <BR>[Kskyswitchmicroasterisk*CLI> ISDN user part indicator: 1<BR> <BR>[Kskyswitchmicroasterisk*CLI> Holding indicator: 0<BR> <BR>[Kskyswitchmicroasterisk*CLI> ISDN access indicator: 1<BR> <BR>[Kskyswitchmicroasterisk*CLI> Echo control device indicator: 0<BR> <BR>[Kskyswitchmicroasterisk*CLI> SCCP method indicator: 0<BR> <BR>[Kskyswitchmicroasterisk*CLI> [ 11 02 02 14 ]<BR> <BR>[Kskyswitchmicroasterisk*CLI> Optional Backward Call Indicator:<BR> <BR>[Kskyswitchmicroasterisk*CLI> In-band information indicator: 1<BR> <BR>[Kskyswitchmicroasterisk*CLI> Call diversion may occur indicator: 0<BR> <BR>[Kskyswitchmicroasterisk*CLI> Simple segmentation indicator: 0<BR> <BR>[Kskyswitchmicroasterisk*CLI> MLPP user indicator: 0<BR> <BR>[Kskyswitchmicroasterisk*CLI> [ 29 01 01 ]<BR> <BR>[Kskyswitchmicroasterisk*CLI> Cause Indicator:<BR> <BR>[Kskyswitchmicroasterisk*CLI> Coding Standard: 0<BR> <BR>[Kskyswitchmicroasterisk*CLI> Location: 4<BR> <BR>[Kskyswitchmicroasterisk*CLI> Cause Class: 1<BR> <BR>[Kskyswitchmicroasterisk*CLI> Cause Subclass: 1<BR> <BR>[Kskyswitchmicroasterisk*CLI> Cause: User busy (17)<BR> <BR>[Kskyswitchmicroasterisk*CLI> [ 12 02 84 91 ]<BR> <BR> <BR><BR><BR>> Subject: RE: [asterisk-ss7] VÁ: Understanding libss7 code<BR>> From: adomjan@tvnet.hu<BR>> To: dhekial@msn.com<BR>> CC: asterisk-ss7@lists.digium.com<BR>> Date: Thu, 18 Dec 2008 21:03:47 +0100<BR>> <BR>> should put in chan_dahdi after ISUP_EVENT_CPG and I think have to parse<BR>> and pass this busy attribute to chan_dahdi via event_cpg.<BR>> How looks like this kind of CPG?<BR>> <BR>> On Thu, 2008-12-18 at 11:56 -0800, Rana Dhekial wrote:<BR>> > I am not sure whether ITU ANSI standrad calls for it. But in real life<BR>> > I am having following probelm.<BR>> > <BR>> > <BR>> > A SIP phone registered with Asterisk calls a Mobile subscriber <BR>> > <BR>> > Asterisk ---------IAM------------>PSTN ( Mobile subscriber )<BR>> > <BR>> > Asterisk <--------ACM--------------PSTN <BR>> > <BR>> > The SIP phone hears the ring back tone<BR>> > <BR>> > The Mobile subscriber rejects the call by pressing the release button.<BR>> > In this part of the world, call does not get forwarded to Mobile<BR>> > subscriber's voice mail. Probably incumbennt PLMN does not have voice<BR>> > mail service. Instead PSTN sends CPG with user busy.<BR>> > <BR>> > Asterisk <----CPG ( with user busy)----PSTN<BR>> > <BR>> > <BR>> > The SIP phone keeps hearing the ring back tone for 60-90 seconds and<BR>> > finally the PSTN sends RELEASE after 60-90 seconds. <BR>> > <BR>> > <BR>> > Asterisk <------REL-------------------PSTN<BR>> > <BR>> > Asterisk --------RLC ----------------->PSTN<BR>> > <BR>> > <BR>> > My idea is to cut this 60-90 seconds to 0 by sending REL to PSTN<BR>> > immediately after getting the CPG with user busy from PSTN. I have<BR>> > tried talking to PSTN to send RELEASE to Asterisk right after they<BR>> > send CPG with user busy but has been invain. <BR>> > <BR>> > So any help with the code will be appreciated.<BR>> > <BR>> > thanks,<BR>> > <BR>> > <BR>> > <BR>> > > From: adomjan@tvnet.hu<BR>> > > To: asterisk-ss7@lists.digium.com<BR>> > > Date: Thu, 18 Dec 2008 09:02:08 +0100<BR>> > > Subject: [asterisk-ss7] VÁ: Understanding libss7 code<BR>> > > <BR>> > > The code is very readable, I red the all :)<BR>> > > where is in the itu/ansi standard that we have to do it?<BR>> > > <BR>> > > -- eredeti üzenet --<BR>> > > Tárgy: [asterisk-ss7] Understanding libss7 code<BR>> > > Feladó: Rana Dhekial <dhekial@msn.com><BR>> > > Dátum: 2008.12.18. 01:27<BR>> > > <BR>> > > <BR>> > > Hi Matthew,<BR>> > > <BR>> > > <BR>> > > Can you point me to some documentations to understand the libss7<BR>> > source code and how it is linked with Asterisk? I have been struggling<BR>> > to modify your code to send ISUP_RELEASE on getting CPG with user busy<BR>> > from PSTN but has been successful yet.<BR>> > > <BR>> > > thanks,<BR>> > > <BR>> > > Rana<BR>> > > <BR>> > > <BR>> > > _________________________________________________________________<BR>> > > Send e-mail anywhere. No map, no compass.<BR>> > ><BR>> > http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_anywhere_122008<BR>> > > _______________________________________________<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<BR>> > > <BR>> > > <BR>> > > _______________________________________________<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<BR>> > <BR>> > <BR>> > <BR>> > ______________________________________________________________________<BR>> > Send e-mail faster without improving your typing skills. Get your<BR>> > Hotmail® account.<BR><BR><BR>
<HR>
Send e-mail faster without improving your typing skills. <A href="http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008">Get your Hotmail® account.</A><br /><hr />Send e-mail anywhere. No map, no compass. <a href='http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_anywhere_122008' target='_new'>Get your Hotmail® account now.</a></body>
</html>