Hello,<br><br>    An example $rb body would be:<br><br>v=0#015#012o=- 5 2 IN IP4 192.168.3.100#015#012s=<div id=":a0" class="ii gt">CounterPath 
Bria#015#012c=IN IP4 174.37.XX.XXX#015#012t=0 0#015#012m=audio 64192 
RTP/AVP 107 0 8 18 101#015#012a=sendrecv#015#012a=rtpmap:107 
BV32/16000#015#012a=rtpmap:18 G729/8000#015#012a=fmtp:18 
annexb=yes#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101
 0-15#015#012a=nortpproxy:yes#015<br><br>or ngrep version:<br><br>v=0.<br>o=- 5 2 IN IP4 192.168.3.100.<br>s=CounterPath Bria.<br>c=IN IP4
 174.37.XX.XXX.<br>t=0 0.<br>m=audio 64192 RTP/AVP 107 0 8 18 101.<br>a=sendrecv.<br>a=rtpmap:107
 BV32/16000.<br>a=rtpmap:18 G729/8000.<br>a=fmtp:18 annexb=yes.<br>
a=rtpmap:101 telephone-event/8000.<br>a=fmtp:101 0-15.<br>a=nortpproxy:yes.<br><br>Thanks!<br></div><br><br><div class="gmail_quote">On Mon, Jul 5, 2010 at 3:51 AM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


  
  

<div bgcolor="#ffffff" text="#000000">
Hello,<div class="im"><br>
<br>
On 7/4/10 9:23 AM, Brandon Armstead wrote:
<blockquote type="cite">Hello,<br>
  <br>
    I am trying to match a multi-line psuedo variable, i.e. $rb<br>
  <br>
However I am wishing to pull out the payload values<br>
  <br>
i.e.<br>
  <br>
&quot;0 18 101&quot;<br>
  <br>
&quot;18 101&quot;<br>
  <br>
etc.. etc...<br>
  <br>
I am having trouble matching this.  Any help would be appreciated.<br>
  <br>
One part that is giving me trouble is that it seems xlog prints out
\r\n as \015\012<br>
</blockquote></div>
do you print xlogs to syslog or to terminal?<div class="im"><br>
<br>
<blockquote type="cite"><br>
I am not able to successfully just pull out the &quot;payloads&quot;<br>
  <br>
I have tried many different variations, however here is one of my
latest:<br>
  <br>
xlog(&quot;L_INFO&quot;, &quot;[$ci] $(rb{re.subst,/^(.*)m=audio ([0-9]+) ([0-9
]+)\015\012(.*)$/\3/s})&quot;);<br>
</blockquote>
<br></div>
Can you paste the body you worked on and the output you got? Will help
understanding what happens and maybe give some hits, being easy to
reproduce and test ourselves.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote type="cite"><div class="im"><br>
Any help / input is greatly appreciated, thank you ahead of time!<br>
  <br>
Happy 4th of July (for those who celebrate)<br>
  <br>
Sincerely,<br>
Brandon Armstead<br>
  <br>
  </div><pre><fieldset></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a 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 cols="72">-- 
Daniel-Constantin Mierla
<a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a>
</pre>
</div>

</blockquote></div><br>