<html><head></head><body><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="yui_3_16_0_ym19_1_1485954090060_210398"><span id="yui_3_16_0_ym19_1_1485954090060_210493">Yes, from_user was set, removing those entries solved the problem.</span></div><div id="yui_3_16_0_ym19_1_1485954090060_210398"><span><br></span></div><div id="yui_3_16_0_ym19_1_1485954090060_210398"><span id="yui_3_16_0_ym19_1_1485954090060_210947">Can someone please explain to me the correct use for fromuser field?</span></div><div id="yui_3_16_0_ym19_1_1485954090060_210398"><span><br></span></div><div id="yui_3_16_0_ym19_1_1485954090060_210398"><span id="yui_3_16_0_ym19_1_1485954090060_211160">thanks</span></div><div id="yui_3_16_0_ym19_1_1485954090060_210398"><span id="yui_3_16_0_ym19_1_1485954090060_211159">Zakir</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_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, "asterisk-users-request@lists.digium.com" <asterisk-users-request@lists.digium.com> wrote:<br></font></div>  <br><br> <div class="y_msg_container">Send asterisk-users mailing list submissions to<br>    <a ymailto="mailto:asterisk-users@lists.digium.com" href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.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/mailman/listinfo/asterisk-users</a><br>or, via email, send a message with subject or body 'help' to<br>    <a ymailto="mailto:asterisk-users-request@lists.digium.com" href="mailto:asterisk-users-request@lists.digium.com">asterisk-users-request@lists.digium.com</a><br><br>You can reach the person managing the list at<br>    <a ymailto="mailto:asterisk-users-owner@lists.digium.com" href="mailto:asterisk-users-owner@lists.digium.com">asterisk-users-owner@lists.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>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 1 Feb 2017 13:50:57 +0000 (UTC)<br>From: Zakir Mahomedy <<a ymailto="mailto:zmm@mayfair2000.com" href="mailto:zmm@mayfair2000.com">zmm@mayfair2000.com</a>><br>To: "<a ymailto="mailto:asterisk-users@lists.digium.com" href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>"<br>    <<a ymailto="mailto:asterisk-users@lists.digium.com" href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>Subject: [asterisk-users] asterisk  callerid issue PJSIP Realtime<br>Message-ID: <<a ymailto="mailto:1998594554.250932.1485957057303@mail.yahoo.com" href="mailto:1998594554.250932.1485957057303@mail.yahoo.com">1998594554.250932.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.?<br>- Executing [<a ymailto="mailto:405@common" href="mailto:405@common">405@common</a>:1] NoOp("PJSIP/406-0000000f", ""DEBUGGING PJSIP CLID"") in new stack<br>- Executing [<a ymailto="mailto:405@common" href="mailto:405@common">405@common</a>:2] NoOp("PJSIP/406-0000000f", "CALLERID = ?"ross" <406>") in new stack- Executing [<a ymailto="mailto:405@common" href="mailto:405@common">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.?<br>Here is the sip debugger files<br>INVITE sip:<a ymailto="mailto:405@192.168.1.27" href="mailto:405@192.168.1.27">405@192.168.1.27</a> SIP/2.0Via: SIP/2.0/UDP 192.168.1.82:5060;branch=z9hG4bK714210067;rportFrom: "zak" <sip:<a ymailto="mailto:406@192.168.1.27" href="mailto:406@192.168.1.27">406@192.168.1.27</a>>;tag=2071662084To: <sip:<a ymailto="mailto:405@192.168.1.27" href="mailto:405@192.168.1.27">405@192.168.1.27</a>>Call-ID: <a ymailto="mailto:50172054-5060-3@BJC.BGI.B.ICCSeq" href="mailto:50172054-5060-3@BJC.BGI.B.ICCSeq">50172054-5060-3@BJC.BGI.B.ICCSeq</a>: 21 INVITEContact: "zak" <sip:<a ymailto="mailto:406@192.168.1.82" href="mailto:406@192.168.1.82">406@192.168.1.82</a>:5060>Authorization: Digest username="406", realm="asterisk", nonce="1485956409/e852b2a5e081f01421212d9a6ca954fa", uri="sip:<a ymailto="mailto:405@192.168.1.27" href="mailto:405@192.168.1.27">405@192.168.1.27</a>", response="ef94bae123f16dc5d9314a43922c949d", algorithm=md5, cnonce="13226017", opaque="50d490d233efd03e", qop=auth, nc=00000003<br><br>INVITE sip:<a ymailto="mailto:405@192.168.1.209" href="mailto:405@192.168.1.209">405@192.168.1.209</a>:36767;ob SIP/2.0Via: SIP/2.0/UDP 197.245.99.113:5060;rport;branch=z9hG4bKPj2f9d3dde-5ec4-49e1-b92d-7b4091b3138bFrom: <sip:<a ymailto="mailto:405@192.168.1.27" href="mailto:405@192.168.1.27">405@192.168.1.27</a>>;tag=e4a0ecf6-c74e-4ab5-8438-bac5c073e328To: <sip:<a ymailto="mailto:405@192.168.1.209" href="mailto:405@192.168.1.209">405@192.168.1.209</a>;ob>Contact: <sip:<a ymailto="mailto:405@197.245.99.113" href="mailto:405@197.245.99.113">405@197.245.99.113</a>:5060>Call-ID: b4a83465-9105-4c70-9da1-11f410c37657<br><br><--- Received SIP response (515 bytes) from UDP:192.168.1.209:36767 --->SIP/2.0 180 RingingVia: SIP/2.0/UDP 197.245.99.113:5060;rport=5060;received=192.168.1.27;branch=z9hG4bKPj70fb8ef9-d99c-4e5b-88a5-eecbf7dd7682Call-ID: f0b31a86-0ac3-47f0-8b13-487d54982e9bFrom: <sip:<a ymailto="mailto:405@192.168.1.27" href="mailto:405@192.168.1.27">405@192.168.1.27</a>>;tag=77ea8869-273a-4f65-8128-e334b445f970To: <sip:<a ymailto="mailto:405@192.168.1.209" href="mailto:405@192.168.1.209">405@192.168.1.209</a>;ob>;tag=jurMewPN-95CgNyoQbhRCFpbH90hKw1dCSeq: 12221 INVITEContact: <sip:<a ymailto="mailto:405@192.168.1.209" href="mailto:405@192.168.1.209">405@192.168.1.209</a>:36767;ob>Allow: PRACK, INVITE, ACK, B<br><br><br>?ParameterName ? ? ? ? ? ? ? ? ? ? ?: ParameterValue?=========================================================?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/pipermail/asterisk-users/attachments/20170201/ede9ff18/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 ymailto="mailto:gjoseph@digium.com" href="mailto:gjoseph@digium.com">gjoseph@digium.com</a>><br>To: Zakir Mahomedy <<a ymailto="mailto:zmm@mayfair2000.com" href="mailto:zmm@mayfair2000.com">zmm@mayfair2000.com</a>>,  Asterisk Users Mailing List<br>    - Non-Commercial Discussion <<a ymailto="mailto:asterisk-users@lists.digium.com" href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>Subject: Re: [asterisk-users] asterisk callerid issue PJSIP Realtime<br>Message-ID:<br>    <CAP=uFEtaLE_tVC2R56Q6B-Ry=NWX-B9QFzz051BP4n=<a ymailto="mailto:L4LaLZQ@mail.gmail.com" href="mailto:L4LaLZQ@mail.gmail.com">L4LaLZQ@mail.gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>On Wed, Feb 1, 2017 at 6:50 AM, Zakir Mahomedy <<a ymailto="mailto:zmm@mayfair2000.com" href="mailto:zmm@mayfair2000.com">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 ymailto="mailto:405@common" href="mailto:405@common">405@common</a>:1] NoOp("PJSIP/406-0000000f", ""DEBUGGING PJSIP<br>> CLID"") in new stack<br>> - Executing [<a ymailto="mailto:405@common" href="mailto:405@common">405@common</a>:2] NoOp("PJSIP/406-0000000f", "CALLERID =  "ross"<br>> <406>") in new stack<br>> - Executing [<a ymailto="mailto:405@common" href="mailto:405@common">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 ymailto="mailto:405@192.168.1.27" href="mailto:405@192.168.1.27">405@192.168.1.27</a> SIP/2.0<br>> Via: SIP/2.0/UDP 192.168.1.82:5060;branch=z9hG4bK714210067;rport<br>> From: "zak" <sip:<a ymailto="mailto:406@192.168.1.27" href="mailto:406@192.168.1.27">406@192.168.1.27</a>>;tag=2071662084<br>> To: <sip:<a ymailto="mailto:405@192.168.1.27" href="mailto:405@192.168.1.27">405@192.168.1.27</a>><br>> Call-ID: <a ymailto="mailto:50172054-5060-3@BJC.BGI.B.IC" href="mailto:50172054-5060-3@BJC.BGI.B.IC">50172054-5060-3@BJC.BGI.B.IC</a><br>> CSeq: 21 INVITE<br>> Contact: "zak" <sip:<a ymailto="mailto:406@192.168.1.82" href="mailto:406@192.168.1.82">406@192.168.1.82</a>:5060><br>> Authorization: Digest username="406", realm="asterisk", nonce="1485956409/<br>> e852b2a5e081f01421212d9a6ca954fa", uri="sip:<a ymailto="mailto:405@192.168.1.27" href="mailto:405@192.168.1.27">405@192.168.1.27</a>", response="<br>> ef94bae123f16dc5d9314a43922c949d", algorithm=md5, cnonce="13226017",<br>> opaque="50d490d233efd03e", qop=auth, nc=00000003<br>><br>><br>> INVITE sip:<a ymailto="mailto:405@192.168.1.209" href="mailto:405@192.168.1.209">405@192.168.1.209</a>:36767;ob SIP/2.0<br>> Via: SIP/2.0/UDP 197.245.99.113:5060;rport;branch=z9hG4bKPj2f9d3dde-5ec4-<br>> 49e1-b92d-7b4091b3138b<br>> From: <sip:<a ymailto="mailto:405@192.168.1.27" href="mailto:405@192.168.1.27">405@192.168.1.27</a>>;tag=e4a0ecf6-c74e-4ab5-8438-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 ymailto="mailto:405@192.168.1.209" href="mailto:405@192.168.1.209">405@192.168.1.209</a>;ob><br>> Contact: <sip:<a ymailto="mailto:405@197.245.99.113" href="mailto:405@197.245.99.113">405@197.245.99.113</a>:5060><br>> Call-ID: b4a83465-9105-4c70-9da1-11f410c37657<br>><br>><br>> <--- Received SIP response (515 bytes) from UDP:192.168.1.209:36767 ---><br>> SIP/2.0 180 Ringing<br>> Via: SIP/2.0/UDP 197.245.99.113:5060;rport=5060;received=192.168.1.27;<br>> branch=z9hG4bKPj70fb8ef9-d99c-4e5b-88a5-eecbf7dd7682<br>> Call-ID: f0b31a86-0ac3-47f0-8b13-487d54982e9b<br>> From: <sip:<a ymailto="mailto:405@192.168.1.27" href="mailto:405@192.168.1.27">405@192.168.1.27</a>>;tag=77ea8869-273a-4f65-8128-e334b445f970<br>> To: <sip:<a ymailto="mailto:405@192.168.1.209" href="mailto:405@192.168.1.209">405@192.168.1.209</a>;ob>;tag=jurMewPN-95CgNyoQbhRCFpbH90hKw1d<br>> CSeq: 12221 INVITE<br>> Contact: <sip:<a ymailto="mailto:405@192.168.1.209" href="mailto:405@192.168.1.209">405@192.168.1.209</a>:36767;ob><br>> Allow: PRACK, INVITE, ACK, B<br>><br>><br>><br>>  ParameterName                      : ParameterValue<br>>  =========================================================<br>>  callerid                           : "john doe" <405><br>>  callerid_privacy             : allowed<br>>  callerid_tag                    :<br>><br>> Zakir<br>><br>><br>><br>> --<br>> _____________________________________________________________________<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: https://community.asterisk.<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/wiki/display/AST/Getting+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/mailman/listinfo/asterisk-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: www.digium.com & www.asterisk.org<br>-------------- 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/pipermail/asterisk-users/attachments/20170201/506b652c/attachment-0001.html</a>><br><br>------------------------------<br><br>_______________________________________________<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.org/" target="_blank">https://community.asterisk.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/wiki/display/AST/Getting+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/mailman/listinfo/asterisk-users</a><br><br>End of asterisk-users Digest, Vol 151, Issue 1<br>**********************************************<br><br><br></div>  </div> </div>  </div></div></body></html>