<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 13/09/16 03:44, José Seabra wrote:<br>
    </div>
    <blockquote
cite="mid:CAEVZRWvVt+A1m_ct7tWjPDQF5jGJCCh+ksGCaNzYxs8uh+KTHQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        Thank you Daniel.
        <div>This works.</div>
      </div>
    </blockquote>
    Great, welcome!<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote
cite="mid:CAEVZRWvVt+A1m_ct7tWjPDQF5jGJCCh+ksGCaNzYxs8uh+KTHQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>BR</div>
        <div>José</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2016-09-12 11:49 GMT+01:00
          Daniel-Constantin Mierla <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:miconda@gmail.com"
              target="_blank">miconda@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <p>Hello,</p>
              <p>maybe you can extract the lines from the body with the
                transformation line start with:</p>
              <p>  -
                <a moz-do-not-send="true"
href="https://www.kamailio.org/wiki/cookbooks/4.4.x/transformations#linesw_match"
                  target="_blank">https://www.kamailio.org/wiki/<wbr>cookbooks/4.4.x/<wbr>transformations#linesw_match</a></p>
              <p>Cheers,<br>
                Daniel<br>
              </p>
              <div>
                <div class="h5"> <br>
                  <div>On 08/09/16 01:44, José Seabra wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">Hello there,
                      <div>I'm facing some issues trying to get the
                        attributes from notify Body that contains
                        information that i need for my calls</div>
                      <div>.</div>
                      <div>First i save the $rb into $var then i try to
                        replace the characters #012 that seems to be the
                        separator of all attributes in the body, i have
                        tried it using s.select, s.strip, s.replace but
                        without any success in all of them.</div>
                      <div><br>
                      </div>
                      <div>The body msg is something like this:</div>
                      <div><br>
                      </div>
                      <div>Calling-Name-Status:
                        available#012Calling-Name: "teste      XX" <<a
                          moz-do-not-send="true"
                          href="mailto:sip%3AXXXXXXXXX@domain.com"
                          target="_blank">sip:XXXXXXXXX@domain.com</a>>#<wbr>012Presentation-Indicator:
                        allowed</div>
                      <div><br>
                      </div>
                      <div>Anyone have any idea how can I get the value
                        of each attribute:</div>
                      <div>e.g:</div>
                      <div>Calling-Name-Status: available<br clear="all">
                        <div>Calling-Name: "teste      XX" <<a
                            moz-do-not-send="true"
                            href="mailto:sip%3AXXXXXXXXX@domain.com"
                            target="_blank">sip:XXXXXXXXX@domain.com</a>><br>
                        </div>
                        <div>Presentation-Indicator: allowed<br>
                        </div>
                        <div><br>
                        </div>
                        <div>Best Regards</div>
                        <div><br>
                        </div>
                        -- 
                        <div>
                          <div>José</div>
                        </div>
                      </div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>______________________________<wbr>_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    

    <pre cols="72">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a> - <a moz-do-not-send="true" href="http://www.kamailio.org" target="_blank">http://www.kamailio.org</a>
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<wbr>miconda</a></pre>
  </font></span></div>


______________________________<wbr>_________________

SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>

<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>


</blockquote></div>

<div>
</div>-- 
<div class="gmail_signature" data-smartmail="gmail_signature">Cumprimentos<div>José Seabra</div></div>
</div>



</blockquote>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> - <a class="moz-txt-link-freetext" href="http://www.kamailio.org">http://www.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre></body></html>