<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Dear Asterisk-Users,</p>
<p><br>
</p>
<p>By means of Asterisk 11 and sip.conf, I got success implementing early media. That is, all information that come from callee (SIP 183 message/ SDP) is passed to the caller without any modification in the SDP body.</p>
<p><br>
</p>
<p>However, in Asterisk 13 and using pjsip.conf I'm still failing to do the same thing. See:  
<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Softphojne1 <------------------------------------------------> Asterisk <--------------------------------------->Softphone2</p>
<p><br>
</p>
<p>        |  ----------------------SIP INVITE ------------------------>|</p>
<p>                                                                                            | ----------------------------SIP INVITE------------>|</p>
<p><br>
</p>
<p><br>
</p>
<p>                                                .                                                                                        .</p>
<p>                                                .                                                                                        .</p>
<p>                                                .                                                                                        .</p>
<p>                                                .                                                                                        .</p>
<p>                                                                                              |<----------SIP 183 ---------------------------------|</p>
<p>                                                                                                   SDP : Media Description, name and address (m): audio 4000 RTP/AVP 8 96</p>
<p>                                                                                                               Media Description, name and address (m): video 5000 RTP/AVP 97<br>
</p>
<p>        |<--------------------------SIP 183-----------------------------|</p>
<p>           SDP :Media Description, name and address (m): audio 13258 RTP/AVP 8 96                                                                                                   
</p>
<p>                      Media Description, name and address (m): video 16002 RTP/AVP 97<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>So, there is bit modification in SDP body, caused by Asterisk. As long as I'm intending to implement direct media, I believe that Asterisk 13 has some special configuration to be done in PJSIP.conf file, that will allow things work very well again, as in
 Asterisk 11 and sip.conf.</p>
<p><br>
</p>
<p>How to configure pjsip.con file or Asterisk, to run direct-media? Or , where to find a tutorial about it on Internet?</p>
<p><br>
</p>
<p>Any hint will be very helpful!</p>
<p><br>
</p>
<p>Thanks a lot.</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAl 979   (Brasil)</div>
</font></div>
</div>
</body>
</html>