<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'>Hello Daniel,<div><br></div><div>Thanks for that.</div><div><br></div><div>Is the best way to manipulate the contents of $rb to use transformations to extract particular information?</div><div><br></div><div>I just want to search or extract what I get in $rb and use it for subsequent routing.</div><div><br></div><div>Jon<br><br><div><hr id="stopSpelling">Date: Fri, 8 Aug 2014 13:33:20 +0200<br>From: miconda@gmail.com<br>To: sr-users@lists.sip-router.org<br>Subject: Re: [SR-Users] xhttp Module Version 4.1<br><br>
  
    
  
  
    Hello,<br>
    <br>
    yes, $rb is the way to get the body. If you have big bodies and you
    use it in other expressions, you may need to increase the value for
    pv_buffer_size global parameter.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="ecxmoz-cite-prefix">On 08/08/14 12:56, Jonathan Hunter
      wrote:<br>
    </div>
    <blockquote cite="mid:DUB127-W63D3311BBE6AE64A17864BBDEE0@phx.gbl">
      <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
      <div dir="ltr">Hi Guys,
        <div><br>
        </div>
        <div>I am able to do this using <b>$rb</b> , is this the best
          method for this if I want to capture the details and
          manipulate or store accordingly into variables?</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div><br>
        </div>
        <div>Jon<br>
          <br>
          <div>
            <hr id="ecxstopSpelling">From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:hunterj91@hotmail.com">hunterj91@hotmail.com</a><br>
            To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            Date: Fri, 8 Aug 2014 10:31:44 +0000<br>
            Subject: [SR-Users] xhttp Module Version 4.1<br>
            <br>
            <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}


--></style>
            <div dir="ltr"><br>
              Hi All,
              <div><br>
              </div>
              <div>I am using the xhttp module to receive and respond to
                HTTP requests to my kamailio instance, and I am trying
                to extract the body of the HTTP post sent into kamailio,
                so that I can store it in variables.</div>
              <div><br>
              </div>
              <div>Is this possible?</div>
              <div><br>
              </div>
              <div>I can send 200ok responses with content, this is
                working well, I just need to try and get details from
                the received POST, can this be done?</div>
              <div><br>
              </div>
              <div>Thanks</div>
              <div><br>
              </div>
              <div>Jon<br>
                <div>
                  <div dir="ltr">
                    <div>
                      <div><br>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}


--></style> </div>
            <br>
            _______________________________________________
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list
            <a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></div>
        </div>
      </div>
      <br>
      <fieldset class="ecxmimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="ecxmoz-signature">-- 
Daniel-Constantin Mierla
<a class="ecxmoz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a class="ecxmoz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Next Kamailio Advanced Trainings 2014 - <a class="ecxmoz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA</pre>
  

<br>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</div></div>                                     </div></body>
</html>