<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Get following error<BR>
<BR>
<BR>menuselect/menuselect --check-deps menuselect.makeopts<BR>Generating embedded module rules ...<BR> [CC] chan_dahdi.c -> chan_dahdi.o<BR>chan_dahdi.c: In function âss7_linksetâ:<BR>chan_dahdi.c:9999: error: âss7_event_cpgâ has no member named âcauseâ<BR>make[1]: *** [chan_dahdi.o] Error 1<BR>make: *** [channels] Error 2<BR>
<BR>
<BR>
snippets of chan_dahdi.c<BR>
<BR>
case CPG_EVENT_INBANDINFO:<BR> {<BR> struct ast_frame f = { AST_FRAME_CONTROL, AST_CONTROL_PROGRESS, };<BR> ast_debug(1, "Queuing frame PROGRESS on CIC %d\n", p->cic);<BR> dahdi_queue_frame(p, &f, linkset);<BR> p->progress = 1;<BR> if (p->dsp && p->dsp_features) {<BR> ast_dsp_set_features(p->dsp, p->dsp_features);<BR> p->dsp_features = 0;<BR> }<BR> }<BR> break;<BR> default:<BR> ast_debug(1, "Do not handle CPG with event type 0x%x\n", e->cpg.event);<BR> }<BR> p->owner->hangupcause = e->cpg.cause; <-------------------line 9999<BR> p->owner->_softhangup |= AST_SOFTHANGUP_DEV;<BR> p->do_hangup = SS7_HANGUP_DO_NOTHING;<BR> isup_rel(ss7, p->ss7call, AST_CAUSE_NORMAL_CLEARING);<BR> ast_mutex_unlock(&p->lock);<BR> break;<BR><BR>
<BR>
<BR>
Do you think I should change line 9999 to <BR><BR>
p->owner->hangupcause = e->17; <BR>
<BR>> Subject: RE: [asterisk-ss7] VÁ: RE: VÁ: Understanding libss7 code<BR>> From: adomjan@tvnet.hu<BR>> To: dhekial@msn.com<BR>> CC: asterisk-ss7@lists.digium.com<BR>> Date: Fri, 19 Dec 2008 21:31:16 +0100<BR>> <BR>> http://87.242.0.27/repos/trunk/libss7/<BR>> http://87.242.0.27/repos/trunk/chan_dahdi/<BR>> <BR>> chan_dahdi is from 1.6.0<BR>> <BR>> On Fri, 2008-12-19 at 10:42 -0800, Rana Dhekial wrote:<BR>> > <BR>> > Under which team ?<BR>> > <BR>> > http://svn.digium.com/svn/asterisk/team/<BR>> > <BR>> > <BR>> > Also do you know whether your SVN code works with Digium's g.729<BR>> > software codec? As I could make Digium's sw g729codec working with<BR>> > Asterisk version 1.6, only if it is 1.6.0.1<BR>> > <BR>> > > From: adomjan@tvnet.hu<BR>> > > To: asterisk-ss7@lists.digium.com<BR>> > > Date: Fri, 19 Dec 2008 09:12:41 +0100<BR>> > > Subject: [asterisk-ss7] VÁ: RE: VÁ: Understanding libss7 code<BR>> > > <BR>> > > In my version, in my svn<BR>> > > <BR>> > > -- eredeti üzenet --<BR>> > > Tárgy: [asterisk-ss7] RE: VÁ: Understanding libss7 code<BR>> > > Feladó: Rana Dhekial <dhekial@msn.com><BR>> > > Dátum: 2008.12.19. 02:29<BR>> > > <BR>> > > <BR>> > > Hi,<BR>> > > <BR>> > > p->do_hangup = SS7_HANGUP_DO_NOTHING;<BR>> > > do_hangup is not a member of the struct dahdi_pvt. Also where is the<BR>> > definition of the "SS7_HANGUP_DO_NOTHING"<BR>> > > > From: adomjan@tvnet.hu> To: asterisk-ss7@lists.digium.com> Date:<BR>> > Thu, 18 Dec 2008 23:22:26 +0100> Subject: Re: [asterisk-ss7] VÁ:<BR>> > Understanding libss7 code> > On Thu, 2008-12-18 at 15:16 -0600,<BR>> > Matthew Fredrickson wrote:> > Domjan Attila wrote:> > > should put in<BR>> > chan_dahdi after ISUP_EVENT_CPG and I think have to parse> > > and<BR>> > pass this busy attribute to chan_dahdi via event_cpg.> > > How looks<BR>> > like this kind of CPG?> > > > I would dare say that it would probably<BR>> > be best to not even explicitly > > send an REL at that point, just set<BR>> > the SOFTHANGUP flag on the > > ast_channel so that Asterisk will<BR>> > initiate the hangup at that point.> > > but in this case we will send<BR>> > rel with cause code busy (17), but we are> not busy, I vote in this<BR>> > situation sending rel with normal call> clearing.> ><BR>> > p->owner->hangupcause = e->cpg.cause;> p->owner->_softhangup |=<BR>> > AST_SOFTHANGUP_DEV;> p->do_hangup = SS7_HANGUP_DO_NOTHING;><BR>> > isup_rel(ss7, p->ss7call, AST_CAUSE_NORMAL_CLEARING);> > > > > That is<BR>> > how it is done in libpri in a similar scenario, if you look at > ><BR>> > PRI_EVENT_PROGRESS handling code in chan_dahdi.c. (IIRC)> > > ><BR>> > Matthew Fredrickson> > Digium, Inc.> > > > > > > > On Thu, 2008-12-18<BR>> > at 11:56 -0800, Rana Dhekial wrote:> > >> I am not sure whether ITU<BR>> > ANSI standrad calls for it. But in real life> > >> I am having<BR>> > following probelm.> > >> > > >> > > >> A SIP phone registered with<BR>> > Asterisk calls a Mobile subscriber > > >> > > >> Asterisk<BR>> > ---------IAM------------>PSTN ( Mobile subscriber )> > >> > > >><BR>> > Asterisk <--------ACM--------------PSTN > > >> > > >> The SIP phone<BR>> > hears the ring back tone> > >> > > >> The Mobile subscriber rejects<BR>> > the call by pressing the release button.> > >> In this part of the<BR>> > world, call does not get forwarded to Mobile> > >> subscriber's voice<BR>> > mail. Probably incumbennt PLMN does not have voice> > >> mail service.<BR>> > Instead PSTN sends CPG with user busy.> > >> > > >> Asterisk <----CPG<BR>> > ( with user busy)----PSTN> > >> > > >> > > >> The SIP phone keeps<BR>> > hearing the ring back tone for 60-90 seconds and> > >> finally the<BR>> > PSTN sends RELEASE after 60-90 seconds. > > >> > > >> > > >> Asterisk<BR>> > <------REL-------------------PSTN> > >> > > >> Asterisk --------RLC<BR>> > ----------------->PSTN> > >> > > >> > > >> My idea is to cut this<BR>> > 60-90 seconds to 0 by sending REL to PSTN> > >> immediately after<BR>> > getting the CPG with user busy from PSTN. I have> > >> tried talking<BR>> > to PSTN to send RELEASE to Asterisk right after they> > >> send CPG<BR>> > with user busy but has been invain. > > >> > > >> So any help with the<BR>> > code will be appreciated.> > >> > > >> thanks,> > >> > > >>> > >>> ><BR>> > >>> From: adomjan@tvnet.hu> > >>> To: asterisk-ss7@lists.digium.com> ><BR>> > >>> Date: Thu, 18 Dec 2008 09:02:08 +0100> > >>> Subject:<BR>> > [asterisk-ss7] VÁ: Understanding libss7 code> > >>>> > >>> The code is<BR>> > very readable, I red the all :)> > >>> where is in the itu/ansi<BR>> > standard that we have to do it?> > >>>> > >>> -- eredeti üzenet --> ><BR>> > >>> Tárgy: [asterisk-ss7] Understanding libss7 code> > >>> Feladó:<BR>> > Rana Dhekial <dhekial@msn.com>> > >>> Dátum: 2008.12.18. 01:27> > >>>><BR>> > > >>>> > >>> Hi Matthew,> > >>>> > >>>> > >>> Can you point me to some<BR>> > documentations to understand the libss7> > >> source code and how it<BR>> > is linked with Asterisk? I have been struggling> > >> to modify your<BR>> > code to send ISUP_RELEASE on getting CPG with user busy> > >> from<BR>> > PSTN but has been successful yet.> > >>> thanks,> > >>>> > >>> Rana> ><BR>> > >>>> > >>>> > >>><BR>> > _________________________________________________________________> ><BR>> > >>> Send e-mail anywhere. No map, no compass.> > >>>> > >><BR>> > http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_anywhere_122008> > >>> _______________________________________________> > >>> --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> > >>> > >>> > >> ______________________________________________________________________> > >> Send e-mail faster without improving your typing skills. Get your> > >> HotmailŽ account.> > >>> > >> ------------------------------------------------------------------------> > >>> > >> _______________________________________________> > >> --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<BR>> > > _________________________________________________________________<BR>> > > Suspicious message? There’s an alert for that. <BR>> > ><BR>> > http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_broad2_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>> > Life on your PC is safer, easier, and more enjoyable with Windows<BR>> > VistaŽ. See how <BR><BR><br /><hr />It’s the same Hotmail®. If by “same” you mean up to 70% faster. <a href='http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_broad1_122008' target='_new'>Get your account now.</a></body>
</html>