<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br>Yes i already have fixed the code but is there anyone who can update the documentation? actually i have written what i have required so the documentation on the wiki need to be updated accordingly. i can see <br><ul><li class="page-metadata-modification-info">
Added by <a data-user-hover-bound="true" title="" href="https://wiki.asterisk.org/wiki/display/%7Emmichelson" class="url fn confluence-userlink userlink-0" data-username="mmichelson">Mark Michelson</a>, last edited by <a data-user-hover-bound="true" title="" href="https://wiki.asterisk.org/wiki/display/%7Emmichelson" class="url fn confluence-userlink userlink-0" data-username="mmichelson">Mark Michelson</a> on Apr 10, 2013</li></ul><br>I will keep on testing other parts too <br>cheers!<br><br>Thanks.<br><br><div><hr id="stopSpelling">Date: Mon, 11 Nov 2013 15:15:28 -0600<br>From: mjordan@digium.com<br>To: asterisk-dev@lists.digium.com<br>Subject: Re: [asterisk-dev] Custome Header reader in Asterisk-12<br><br><div dir="ltr"><br><div class="ecxgmail_extra"><div class="ecxgmail_quote">On Mon, Nov 11, 2013 at 3:11 PM, Jehanzaib Younis <span dir="ltr"><<a href="mailto:jehanzaib_kiani@hotmail.com" target="_blank">jehanzaib_kiani@hotmail.com</a>></span> wrote:<br>
<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">Thank you for the reply.<br>I dont get any error.<br>Actually there are 2 issues here, by default i cant see res_sip_session.h file anywhere <br>can you please test the asterisk 12? i am sure its not working for any one. espacially the link <a href="https://wiki.asterisk.org/wiki/display/AST/Writing+a+SIP+Session+Supplement" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Writing+a+SIP+Session+Supplement</a><br>
the script is not compiled because dependencies are not installed. can you please please have a look?<br><br><div><br></div></div></div></blockquote><div><br></div><div>Well, you should get an error if you're compiling the sample code on that wiki page. gcc should be complaining that it can't find "res_sip_session", as it should be "res_pjsip_session.h", not "res_sip_session.h". The code on the wiki page wasn't updated after the great sip -> pjsip migration of 2013; it probably needs a few other minor tweaks.</div>
<div><br></div><div>That being said, while someone will be along to make those updates, you should be able to get the sample code there compiling with a few minor adjustments. A few of the other public functions used in that sample code will need similar name changes - as an exercise, you should compare the public function calls in that sample code with the actual function calls in res_pjsip_session.h. That should help you explore some of the API available to you.</div>
<div><br></div><div>Matt</div></div><div><br></div>-- <br><div dir="ltr"><div>Matthew Jordan<br></div><div>Digium, Inc. | Engineering Manager</div><div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div>
<div>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></div></div>
</div></div>
<br>--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev</div> </div></body>
</html>