<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 2, 2017 at 4:06 AM, Zakir Mahomedy <span dir="ltr"><<a href="mailto:zmm@mayfair2000.com" target="_blank">zmm@mayfair2000.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div id="m_4568873081775756326yui_3_16_0_ym19_1_1485954090060_210398"><span id="m_4568873081775756326yui_3_16_0_ym19_1_1485954090060_210493">Yes, from_user was set, removing those entries solved the problem.</span></div><div id="m_4568873081775756326yui_3_16_0_ym19_1_1485954090060_210398"><span><br></span></div><div id="m_4568873081775756326yui_3_16_0_ym19_1_1485954090060_210398"><span id="m_4568873081775756326yui_3_16_0_ym19_1_1485954090060_210947">Can someone please explain to me the correct use for fromuser field?</span></div></div></div></blockquote><div><br></div><div>from_user forces the user portion of the From header to a specific value on calls that go TO the device represented by the endpoint.  Most often it's used with a service provider when the service provider requires that all calls it accepts have some sort of account identifier in the From header instead of the original caller's info.  I can't think of a scenario where you'd need to use from_user with a phone.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div id="m_4568873081775756326yui_3_16_0_ym19_1_1485954090060_210398"><span><br></span></div><div id="m_4568873081775756326yui_3_16_0_ym19_1_1485954090060_210398"><span id="m_4568873081775756326yui_3_16_0_ym19_1_1485954090060_211160">thanks</span></div><div id="m_4568873081775756326yui_3_16_0_ym19_1_1485954090060_210398"><span id="m_4568873081775756326yui_3_16_0_ym19_1_1485954090060_211159">Zakir</span></div> <div class="m_4568873081775756326qtdSeparateBR"><br><br></div><div class="m_4568873081775756326yahoo_quoted" style="display:block"> <div style="font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div dir="ltr"><font size="2" face="Arial"> On Wednesday, February 1, 2017 8:00 PM, "<a href="mailto:asterisk-users-request@lists.digium.com" target="_blank">asterisk-users-request@lists.<wbr>digium.com</a>" <<a href="mailto:asterisk-users-request@lists.digium.com" target="_blank">asterisk-users-request@lists.<wbr>digium.com</a>> wrote:<br></font></div>  <br><br> <div class="m_4568873081775756326y_msg_container">Send asterisk-users mailing list submissions to<br>    <a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.<wbr>com</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>    <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br>or, via email, send a message with subject or body 'help' to<br>    <a href="mailto:asterisk-users-request@lists.digium.com" target="_blank">asterisk-users-request@lists.<wbr>digium.com</a><br><br>You can reach the person managing the list at<br>    <a href="mailto:asterisk-users-owner@lists.digium.com" target="_blank">asterisk-users-owner@lists.<wbr>digium.com</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of asterisk-users digest..."<br><br><br>Today's Topics:<br><br>   1. asterisk  callerid issue PJSIP Realtime (Zakir Mahomedy)<br>   2. Re: asterisk callerid issue PJSIP Realtime (George Joseph)<br><br><br>------------------------------<wbr>------------------------------<wbr>----------<br><br>Message: 1<br>Date: Wed, 1 Feb 2017 13:50:57 +0000 (UTC)<br>From: Zakir Mahomedy <<a href="mailto:zmm@mayfair2000.com" target="_blank">zmm@mayfair2000.com</a>><br>To: "<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.<wbr>com</a>"<br>    <<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.<wbr>com</a>><br>Subject: [asterisk-users] asterisk  callerid issue PJSIP Realtime<br>Message-ID: <<a href="mailto:1998594554.250932.1485957057303@mail.yahoo.com" target="_blank">1998594554.250932.<wbr>1485957057303@mail.yahoo.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>I recently rolled out a new server with asterisk 14. ?On the Called user phone, the caller ID is the same as the Called User.<br>eg) ext ?406 ?with callerid 406 ? calls ext 405 ,??on the caller id on the ext 405 phone displaying 405.<br><br><br>We are using realtime PJSIP, I set the callerid field in the database but no luck.?<span class=""><br>- Executing [<a href="mailto:405@common" target="_blank">405@common</a>:1] NoOp("PJSIP/406-0000000f", ""DEBUGGING PJSIP CLID"") in new stack<br></span>- Executing [<a href="mailto:405@common" target="_blank">405@common</a>:2] NoOp("PJSIP/406-0000000f", "CALLERID = ?"ross" <406>") in new stack- Executing [<a href="mailto:405@common" target="_blank">405@common</a>:3] Dial("PJSIP/406-0000000f", "PJSIP/405") in new stack<br>In the above dialplan, the callerid is been taken from the database PJSIP endpoints.?<span class=""><br>Here is the sip debugger files<br></span>INVITE sip:<a href="mailto:405@192.168.1.27" target="_blank">405@192.168.1.27</a> SIP/2.0Via: SIP/2.0/UDP 192.168.1.82:5060;branch=<wbr>z9hG4bK714210067;rportFrom: "zak" <sip:<a href="mailto:406@192.168.1.27" target="_blank">406@192.168.1.27</a>>;tag=<wbr>2071662084To: <sip:<a href="mailto:405@192.168.1.27" target="_blank">405@192.168.1.27</a>>Call-ID: <a href="mailto:50172054-5060-3@BJC.BGI.B.ICCSeq" target="_blank">50172054-5060-3@BJC.BGI.B.<wbr>ICCSeq</a>: 21 INVITEContact: "zak" <sip:<a href="mailto:406@192.168.1.82" target="_blank">406@192.168.1.82</a>:5060><wbr>Authorization: Digest username="406", realm="asterisk", nonce="1485956409/<wbr>e852b2a5e081f01421212d9a6ca954<wbr>fa", uri="sip:<a href="mailto:405@192.168.1.27" target="_blank">405@192.168.1.27</a>", response="<wbr>ef94bae123f16dc5d9314a43922c94<wbr>9d", algorithm=md5, cnonce="13226017", opaque="50d490d233efd03e", qop=auth, nc=00000003<br><br>INVITE sip:<a href="mailto:405@192.168.1.209" target="_blank">405@192.168.1.209</a>:36767;ob SIP/2.0Via: SIP/2.0/UDP 197.245.99.113:5060;rport;<wbr>branch=z9hG4bKPj2f9d3dde-5ec4-<wbr>49e1-b92d-7b4091b3138bFrom: <sip:<a href="mailto:405@192.168.1.27" target="_blank">405@192.168.1.27</a>>;tag=<wbr>e4a0ecf6-c74e-4ab5-8438-<wbr>bac5c073e328To: <sip:<a href="mailto:405@192.168.1.209" target="_blank">405@192.168.1.209</a>;ob><wbr>Contact: <sip:<a href="mailto:405@197.245.99.113" target="_blank">405@197.245.99.113</a>:5060><wbr>Call-ID: b4a83465-9105-4c70-9da1-<wbr>11f410c37657<br><br><--- Received SIP response (515 bytes) from UDP:<a href="http://192.168.1.209:36767" target="_blank">192.168.1.209:36767</a> --->SIP/2.0 180 RingingVia: SIP/2.0/UDP 197.245.99.113:5060;rport=<wbr>5060;received=192.168.1.27;<wbr>branch=z9hG4bKPj70fb8ef9-d99c-<wbr>4e5b-88a5-eecbf7dd7682Call-ID: f0b31a86-0ac3-47f0-8b13-<wbr>487d54982e9bFrom: <sip:<a href="mailto:405@192.168.1.27" target="_blank">405@192.168.1.27</a>>;tag=<wbr>77ea8869-273a-4f65-8128-<wbr>e334b445f970To: <sip:<a href="mailto:405@192.168.1.209" target="_blank">405@192.168.1.209</a>;ob>;<wbr>tag=jurMewPN-<wbr>95CgNyoQbhRCFpbH90hKw1dCSeq: 12221 INVITEContact: <sip:<a href="mailto:405@192.168.1.209" target="_blank">405@192.168.1.209</a>:36767;<wbr>ob>Allow: PRACK, INVITE, ACK, B<br><br><br>?ParameterName ? ? ? ? ? ? ? ? ? ? ?: ParameterValue?===============<wbr>==============================<wbr>============?callerid ? ? ? ? ? ? ? ? ? ? ? ? ? : "john doe" <405>?callerid_privacy ? ? ? ? ? ? : allowed?callerid_tag ? ? ? ? ? ? ? ? ? ?:<br>Zakir<br> <br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://lists.digium.com/pipermail/asterisk-users/attachments/20170201/ede9ff18/attachment-0001.html" target="_blank">http://lists.digium.com/<wbr>pipermail/asterisk-users/<wbr>attachments/20170201/ede9ff18/<wbr>attachment-0001.html</a>><br><br>------------------------------<br><br>Message: 2<br>Date: Wed, 1 Feb 2017 08:52:59 -0700<br>From: George Joseph <<a href="mailto:gjoseph@digium.com" target="_blank">gjoseph@digium.com</a>><br>To: Zakir Mahomedy <<a href="mailto:zmm@mayfair2000.com" target="_blank">zmm@mayfair2000.com</a>>,  Asterisk Users Mailing List<br>    - Non-Commercial Discussion <<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.<wbr>com</a>><br>Subject: Re: [asterisk-users] asterisk callerid issue PJSIP Realtime<br>Message-ID:<br>    <CAP=uFEtaLE_tVC2R56Q6B-Ry=<wbr>NWX-B9QFzz051BP4n=<a href="mailto:L4LaLZQ@mail.gmail.com" target="_blank">L4LaLZQ@<wbr>mail.gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<div><div class="h5"><br><br>On Wed, Feb 1, 2017 at 6:50 AM, Zakir Mahomedy <<a href="mailto:zmm@mayfair2000.com" target="_blank">zmm@mayfair2000.com</a>> wrote:<br><br>> I recently rolled out a new server with asterisk 14.<br>> On the Called user phone, the caller ID is the same as the Called User.<br>><br>> eg) ext  406  with callerid 406   calls ext 405 ,<br>><br>> on the caller id on the ext 405 phone displaying 405.<br>><br>><br>><br>> We are using realtime PJSIP, I set the callerid field in the database but<br>> no luck.<br>><br>> - Executing [<a href="mailto:405@common" target="_blank">405@common</a>:1] NoOp("PJSIP/406-0000000f", ""DEBUGGING PJSIP<br>> CLID"") in new stack<br>> - Executing [<a href="mailto:405@common" target="_blank">405@common</a>:2] NoOp("PJSIP/406-0000000f", "CALLERID =  "ross"<br>> <406>") in new stack<br>> - Executing [<a href="mailto:405@common" target="_blank">405@common</a>:3] Dial("PJSIP/406-0000000f", "PJSIP/405") in new<br>> stack<br>><br>> In the above dialplan, the callerid is been taken from the database PJSIP<br>> endpoints.<br>><br>> Here is the sip debugger files<br>><br>> INVITE sip:<a href="mailto:405@192.168.1.27" target="_blank">405@192.168.1.27</a> SIP/2.0<br>> Via: SIP/2.0/UDP 192.168.1.82:5060;branch=<wbr>z9hG4bK714210067;rport<br>> From: "zak" <sip:<a href="mailto:406@192.168.1.27" target="_blank">406@192.168.1.27</a>>;tag=<wbr>2071662084<br>> To: <sip:<a href="mailto:405@192.168.1.27" target="_blank">405@192.168.1.27</a>><br>> Call-ID: <a href="mailto:50172054-5060-3@BJC.BGI.B.IC" target="_blank">50172054-5060-3@BJC.BGI.B.IC</a><br>> CSeq: 21 INVITE<br>> Contact: "zak" <sip:<a href="mailto:406@192.168.1.82" target="_blank">406@192.168.1.82</a>:5060><br>> Authorization: Digest username="406", realm="asterisk", nonce="1485956409/<br>> e852b2a5e081f01421212d9a6ca954<wbr>fa", uri="sip:<a href="mailto:405@192.168.1.27" target="_blank">405@192.168.1.27</a>", response="<br>> ef94bae123f16dc5d9314a43922c94<wbr>9d", algorithm=md5, cnonce="13226017",<br>> opaque="50d490d233efd03e", qop=auth, nc=00000003<br>><br>><br>> INVITE sip:<a href="mailto:405@192.168.1.209" target="_blank">405@192.168.1.209</a>:36767;ob SIP/2.0<br>> Via: SIP/2.0/UDP 197.245.99.113:5060;rport;<wbr>branch=z9hG4bKPj2f9d3dde-5ec4-<br>> 49e1-b92d-7b4091b3138b<br>> From: <sip:<a href="mailto:405@192.168.1.27" target="_blank">405@192.168.1.27</a>>;tag=<wbr>e4a0ecf6-c74e-4ab5-8438-<wbr>bac5c073e328<br>><br><br><br>On 405's endpoiint, you're not forcing from_user to 405 are you?<br><br><br><br><br>> To: <sip:<a href="mailto:405@192.168.1.209" target="_blank">405@192.168.1.209</a>;ob><br>> Contact: <sip:<a href="mailto:405@197.245.99.113" target="_blank">405@197.245.99.113</a>:5060><br>> Call-ID: b4a83465-9105-4c70-9da1-<wbr>11f410c37657<br>><br>><br>> <--- Received SIP response (515 bytes) from UDP:<a href="http://192.168.1.209:36767" target="_blank">192.168.1.209:36767</a> ---><br>> SIP/2.0 180 Ringing<br>> Via: SIP/2.0/UDP 197.245.99.113:5060;rport=<wbr>5060;received=192.168.1.27;<br>> branch=z9hG4bKPj70fb8ef9-d99c-<wbr>4e5b-88a5-eecbf7dd7682<br>> Call-ID: f0b31a86-0ac3-47f0-8b13-<wbr>487d54982e9b<br>> From: <sip:<a href="mailto:405@192.168.1.27" target="_blank">405@192.168.1.27</a>>;tag=<wbr>77ea8869-273a-4f65-8128-<wbr>e334b445f970<br>> To: <sip:<a href="mailto:405@192.168.1.209" target="_blank">405@192.168.1.209</a>;ob>;<wbr>tag=jurMewPN-<wbr>95CgNyoQbhRCFpbH90hKw1d<br>> CSeq: 12221 INVITE<br>> Contact: <sip:<a href="mailto:405@192.168.1.209" target="_blank">405@192.168.1.209</a>:36767;<wbr>ob><br>> Allow: PRACK, INVITE, ACK, B<br>><br>><br>><br>>  ParameterName                      : ParameterValue<br>>  ==============================<wbr>===========================<br>>  callerid                           : "john doe" <405><br>>  callerid_privacy             : allowed<br>>  callerid_tag                    :<br>><br>> Zakir<br>><br>><br>><br>> --<br>> ______________________________<wbr>______________________________<wbr>_________<br>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com </a>--<br>><br>> Check out the new Asterisk community forum at: <a href="https://community.asterisk" target="_blank">https://community.asterisk</a>.<br>> org/<br>><br>> New to Asterisk? Start here:<br>>       <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>>    <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br>><br><br><br><br>-- <br>George Joseph<br>Digium, Inc. | Software Developer<br>445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br></div></div>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://lists.digium.com/pipermail/asterisk-users/attachments/20170201/506b652c/attachment-0001.html" target="_blank">http://lists.digium.com/<wbr>pipermail/asterisk-users/<wbr>attachments/20170201/506b652c/<wbr>attachment-0001.html</a>><br><br>------------------------------<br><br>______________________________<wbr>_________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.com--</a><span class=""><br><br>Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" target="_blank">https://community.asterisk.<wbr>org/</a><br><br>New to Asterisk? Start here:<br>      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br><br></span>End of asterisk-users Digest, Vol 151, Issue 1<br>******************************<wbr>****************<br><br><br></div>  </div> </div>  </div></div></div><br>--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.<wbr>org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="font-size:12.8px">George Joseph</span><br style="font-size:12.8px"><span style="font-size:12.8px">Digium, Inc. | Software Developer</span><span style="font-size:12.8px"><br>445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br></span><span style="font-size:12.8px">Check us out at: </span><a href="http://www.digium.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.digium.com</a><span style="font-size:12.8px"> & </span><a href="http://www.asterisk.org/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.asterisk.org</a><br><div><br></div></div></div>
</div></div>