<div dir="ltr"><div><div><div>Hi Rainer,<br><br></div>Yes I did try user_agent_header = "User-Agent: $ua"; but it just passes "$ua" to Freeswitch rather than the value of $ua.<br><br></div>regards,<br><br></div>Errol<br><br><div><div><br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 3, 2014 at 4:32 PM, Rainer Piper <span dir="ltr"><<a href="mailto:rainer.piper@soho-piper.de" target="_blank">rainer.piper@soho-piper.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Am 03.10.2014 um 17:04 schrieb Errol
      Samuels:<br>
    </div><span class="">
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>Hello All,<br>
                    <br>
                  </div>
                  I am using Kamailio in front of Freeswitch and
                  Kamailio is handling the registrations then forwarding
                  to Freeswitch and everything is working for the most
                  part.<br>
                  <br>
                  However, there is niggling pain in the neck issue
                  where the user's User-Agent shows in Freeswitch as
                  kamailio (4.0.6 (x86_64/linux))  instead of the user's
                  Real User-Agent I am trying to get Kamailio to pass
                  the real User-Agent of the user without success.<br>
                  <br>
                </div>
                I am able to set a static User-Agent by doing this in
                the global section.<br>
                <br>
                <b>user_agent_header = "User-Agent:  We love beer";</b><br>
                <br>
              </div>
              However, I am unable to set it dynamically for example:<br>
              <br>
              <b>user_agent_header = "User-Agent: " + $ua;<br>
              </b></div>
          </div>
        </div>
      </div>
    </blockquote>
    </span><b>have you tried ...<br>
      <br>
    </b><b>user_agent_header = "User-Agent: $ua";<br>
      <br>
      ?<br>
    </b>
    <blockquote type="cite"><span class="">
      <div dir="ltr">
        <div>
          <div>
            <div><b><br>
              </b></div>
            <div>With is one Kamailio doesn't even start so my syntax is
              probably wrong.<br>
            </div>
            <br>
            I also tried playing around with the textops module so I
            have ran out of ideas<br>
          </div>
          <div><br>
            Any ideas?<b><br>
              <br>
            </b></div>
          Thanks in advance.<b><br>
            <br>
          </b></div>
        regards,<br>
        <br>
        Errol<br>
        <b><br>
        </b>
        <div><b><br>
            <br>
          </b>
          <div>
            <div><b><br>
                <br>
                <br>
              </b>
              <div><br>
                <br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </span><pre>_______________________________________________
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><span class=""><font color="#888888">
</font></span></pre><span class=""><font color="#888888">
    </font></span></blockquote><span class=""><font color="#888888">
    <br>
    <br>
    <div>-- <br>
      <b>Rainer Piper</b>
      <br>
      Integration engineer
      <br>
      Koeslinstr. 56
      <br>
      53123 BONN <br>
      GERMANY
      <br>
      Phone: <a href="tel:%2B49%20228%2097167161" value="+4922897167161" target="_blank">+49 228 97167161</a>
      <br>
      P2P: <a>sip:rainer@sip.soho-piper.de:5072</a> (pjsip-test)
      <br>
      XMPP: <a href="mailto:rainer@xmpp.soho-piper.de" target="_blank">rainer@xmpp.soho-piper.de</a></div>
  </font></span></div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<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><br>
<br></blockquote></div><br></div></div></div></div></div></div>