<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
thanks <span class="moz-smiley-s1"><span> :-) </span></span><br>
<br>
Anthony Minessale a &eacute;crit&nbsp;:
<blockquote
 cite="mid:191c3a030901210954y41acc7c7r952d5021ddb5a5c8@mail.gmail.com"
 type="cite">packet is the raw packet pointer<br>
if the frame flag SFF_RAW_RTP is set it can be cast into a rtp header
to view the contents.<br>
data is the media (audio data) <br>
payload is sometimes used to describe the payload type of the packet.<br>
  <br>
if you are looking to see what the audio type is <br>
  <br>
try frame-&gt;codec-&gt;implementation-&gt;ianacode and
frame-&gt;codec-&gt;implementation-&gt;iananame<br>
  <br>
  <br>
  <div class="gmail_quote">On Wed, Jan 21, 2009 at 11:44 AM, ludovic <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:ludovic.fouquet@bewan.com">ludovic.fouquet@bewan.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
    <br>
what is the difference in the structure switch_frame between the<br>
following members :<br>
packet<br>
data<br>
payload<br>
    <br>
The routine &nbsp;channel_write_frame of my endpoind is &nbsp;called, but it seems<br>
that I do not use the correct data as my payload_type of the data is not<br>
8 (PCMA) which I should have.<br>
I call from a SIP phone, registered in freeswitch to an analog phone.<br>
I have to pass the RTP packet to my phone device.<br>
    <br>
Thanks,<br>
    <br>
Ludovic<br>
    <br>
    <br>
    <br>
_______________________________________________<br>
Freeswitch-dev mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>
    <a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev"
 target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-dev"
 target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
    <a moz-do-not-send="true" href="http://www.freeswitch.org"
 target="_blank">http://www.freeswitch.org</a><br>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Anthony Minessale II<br>
  <br>
FreeSWITCH <a moz-do-not-send="true" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>
ClueCon <a moz-do-not-send="true" href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
  <br>
AIM: anthm<br>
  <a moz-do-not-send="true"
 href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a moz-do-not-send="true"
 href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a moz-do-not-send="true" href="http://irc.freenode.net">irc.freenode.net</a>
#freeswitch<br>
  <br>
FreeSWITCH Developer Conference<br>
  <a moz-do-not-send="true"
 href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
  <a moz-do-not-send="true"
 href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
  <a moz-do-not-send="true"
 href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:213-799-1400<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Freeswitch-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-dev">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<table>
  <tbody>
    <tr>
      <td> <a href="http://www.bewan.com"><img
 src="cid:part1.04020703.07010808@bewan.com" border="0" height="100"
 width="100"></a>&nbsp;&nbsp;</td>
      <td> <font color="#990000" face="Arial, Helvetica, sans-serif"
 size="2"><b>Ludovic Fouquet</b></font><br>
      <font color="#000000" face="Arial, Helvetica, sans-serif" size="2"><b>R&amp;D
Engineer</b><br>
      </font> <font color="#000000" face="Arial, Helvetica, sans-serif"
 size="1"><br>
Tel.&nbsp;: + 33 (0)1 43 34 69 20 / Ext.&nbsp;: 63 51<br>
Fax&nbsp;: + 33 (0)1 46 91 03 71<br>
Web&nbsp;: <a href="http://www.bewan.com">www.bewan.com</a></font> </td>
    </tr>
  </tbody>
</table>
</div>
</body>
</html>