<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>FreeSWITCH shows </div><div><br></div><div>nobody@IP</div><div><br></div><div>I just need to know the proper way to pass did information <br><br>Sent from my iPad</div><div><br>On Apr 7, 2014, at 7:33 PM, Joel E White <<a href="mailto:joelewhite@gmail.com">joelewhite@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div>
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  
    Kamailio Version 4.1<br>
    <br>
    No, when I do the uac_replace_from the username or the did
    (specified in the db) do not show in FreeSWITCH<br>
    <br>
    <div class="moz-cite-prefix">On 4/7/2014 2:46 PM, Kelvin Chua wrote:<br>
    </div>
    <blockquote cite="mid:CAMF97-ehMxgq3VkJRfTHwqzw4=dESCgHQoF6-t=9bSv61GmKQQ@mail.gmail.com" type="cite">
      <div dir="ltr">hi joel,
        <div><br>
        </div>
        <div>what kamailio version are you using?</div>
        <div>can you verify if you see your old username at the end of
          the domain?</div>
        <div><br>
        </div>
        <div>for example:</div>
        <div><br>
        </div>
        <div>
          <a moz-do-not-send="true" href="mailto:user1@domain.com">user1@domain.com</a></div>
        <div><br>
        </div>
        <div>after calling uac_replace_from</div>
        <div><br>
        </div>
        <div>you wll get</div>
        <div><br>
        </div>
        <div><a class="moz-txt-link-abbreviated" href="mailto:user2@domain.comuser1">user2@domain.comuser1</a></div>
      </div>
      <div class="gmail_extra">
        <br clear="all">
        <div>Kelvin Chua</div>
        <br>
        <br>
        <div class="gmail_quote">On Mon, Apr 7, 2014 at 11:36 AM, Joel
          White <span dir="ltr"><<a moz-do-not-send="true" href="mailto:joelewhite@gmail.com" target="_blank">joelewhite@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>
                <div>
                  <div>What I am getting on the FreeSWITCH side is
                    this...<br>
                    <br>
                  </div>
                  Name passes, but DID is set without @ IP<br>
                  <br>
                </div>
                From: Test Phone 2 <1XXXYYYY><br>
                <br>
              </div>
              Call does go through, but not with the information I would
              like....<br>
              <div>
                <div>
                  <div><br>
                    <br>
                  </div>
                </div>
              </div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <br>
                  <div class="gmail_quote">On Mon, Apr 7, 2014 at 12:13
                    PM, Joel E White <span dir="ltr"><<a moz-do-not-send="true" href="mailto:joelewhite@gmail.com" target="_blank">joelewhite@gmail.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">I
                      have been playing with this for a couple days.<br>
                      <br>
                      What I have pulls from the usr_preferences DB and
                      "Should" insert CID Name and CID Number<br>
                      <br>
                      What I am ending up with is that the name portion
                      is being sent, not the number.  Is there a certain
                      format that I should add the DID in
                      usr_preferences?<br>
                      <br>
                      Also when I changed the AVP type in the DB from a
                      0 to a 1 the value for CID DID changes...<br>
                      <br>
                      can someone help me with correcting this behavior?<br>
                      <br>
                                  avp_db_load("$from","$avp(s:callerid-name)");<br>
                                  avp_db_load("$from","$avp(s:caller-did)");<br>
                      uac_replace_from("$avp(s:callerid-name)","$avp(s:callerid-did)");<br>
                                  xlog("SIP From Header returned
                      $hdr(From)\n");<br>
                                  xlog("AVP CallerID-Name returned
                      $avp(s:callerid-name)\n");<br>
                                  xlog("AVP CallerID-Ext returned
                      $avp(s:callerid-did)\n");<br>
                      <br>
                      <br>
                      Thank you,<br>
                      Joel<br>
                      <br>
                      ---<br>
                      This email is free from viruses and malware
                      because avast! Antivirus protection is active.<br>
                      <a moz-do-not-send="true" href="http://www.avast.com" target="_blank">http://www.avast.com</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            <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/cgi-bin/mailman/listinfo/sr-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
  
<br><br>
<hr style="border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;">
<table style="border-collapse:collapse;border:none;">
        <tbody><tr>
                <td style="border:none;padding:0px 15px 0px 8px">
                        <a href="http://www.avast.com/">
                                <img border="0" src="http://static.avast.com/emails/avast-mail-stamp.png">
                        </a>
                </td>
                <td>
                        <p style="color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;">
                                This email is free from viruses and malware because <a href="http://www.avast.com/">avast! Antivirus</a> protection is active.
                        </p>
                </td>
        </tr>
</tbody></table>
<br>


</div></blockquote></body></html>