<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/11/2013 03:59 PM, Jehanzaib
Younis wrote:<br>
</div>
<blockquote cite="mid:BLU176-W22724C43BDE6C8CC63971A8CFF0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<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
moz-do-not-send="true" 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 moz-do-not-send="true" 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>
</div>
</blockquote>
<br>
Hi!<br>
<br>
I have updated the page you initially linked to be correct. I
attempted to change all of the code as well as the text
explanations. If you find anything I missed, please let me know.<br>
<br>
I tested this by taking the finished session supplement and copying
it into a res_pjsip_auto_answer.c file and placing that in my res/
directory. The file compiled just fine. When I placed a call to an
extension like so:<br>
<br>
exten => 2000,1,Set(__SIP_AUTO_ANSWER=yes)<br>
same => n,Dial(PJSIP/bob)<br>
<br>
I saw the Require and Answer-Mode headers in the outgoing INVITE to
PJSIP/bob.<br>
<br>
With the updated wiki page are you still having issues?<br>
Mark Michelson<br>
</body>
</html>