<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>OK im trying to find where in proxy.cfg.tt2 I am to add this line? </div><div><br></div><div><br></div><br><div><div>On 2011-09-07, at 6:56 AM, Andreas Granig wrote:</div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font>To=$t<br><br>This means that the To header is passed through transparently from the<br>proxy (and thus the calling party) to the called party. You can change<br>it to something like<br><br>To=$H(My-New-To)<br><br>And then in proxy.cfg.tt2, do:<br><br>append_hf("My-New-To: <<a href="sip:$rU@your.desired.domain">sip:$rU@your.desired.domain</a>>\r\n");<br><br>This should do the trick, at least for the To.<br><br>Andreas<br><br><br>On 09/07/2011 10:58 AM, Skyler wrote:<br><blockquote type="cite">Hello Dave,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Tue, 2011-09-06 at 18:21 -0400, Dave Massey wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Im getting into sipwise CE for possible use as a VOIP provider addon to my ISP.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I was able to get it to receive calls OK. but when I try to make calls, my provider says that my SIP TO is wrong, he says Im sending a <a href="SIP:905772000@0.0.0.0">SIP:905772000@0.0.0.0</a> (where 0.0.0.0 is my IP)  when I should be sending the provider's IP in the TO part.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> This makes no sense. The TO should be <a href="sip:9057720000@24.102.50.6:5060">sip:9057720000@24.102.50.6:5060</a><br></blockquote><blockquote type="cite">if that is the domain added in SPCE and the device is registered with.<br></blockquote><blockquote type="cite">SPCE would not send <a href="sip:9057720000@0.0.0.0">sip:9057720000@0.0.0.0</a> if it did, no calls would<br></blockquote><blockquote type="cite">work at all and your INVITE would never reach your provider.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> Your provider should be routing by the request URI not the TO in any<br></blockquote><blockquote type="cite">case. I have no suggestion for you here, but I've constructed an INVITE<br></blockquote><blockquote type="cite">below for you to match with your own. Yours should look exactly the same<br></blockquote><blockquote type="cite">and is perfectly normal.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">You can paste the INVITE message here by running the below command,<br></blockquote><blockquote type="cite">making an outbound call and pasting it to the list.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">ngrep -d any -qt -W byline port 5060 > /tmp/outboundtest.txt<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">He also says that the contact header is saying ngcp-lb where it should say the phone number that Im calling from.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> The phone number is in the FROM and Contact is just a contact address,<br></blockquote><blockquote type="cite">nothing more. They must be used to working with end-user devices.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">And there is no remote party ID either.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I don't see R-PID anywhere in my INVITES, only P-A-I which is fine.<br></blockquote><blockquote type="cite">Couldn't know for sure without seeing an INVITE from your box.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">here is a log excerpt <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Reply from Outbound - S=403 - Forbidden To F=sip:19056670000@24.102.50.6 T=sip:9057720000@0.0.0.0 IP=74.51.40.188:5060 ID=sTOglmQQyiaAvzZKTUAR6LrFoSbsz9XE_b2b-1<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The docs arent very clear nor are there any examples available from my provider.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Can anyone help?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Here is what an INVITE from you to them should look like.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">U 2011/09/07 04:23:52.331277 24.102.50.6:5060 -> 74.51.40.188:5060<br></blockquote><blockquote type="cite">INVITE <a href="sip:9057720000@24.102.50.6:5060">sip:9057720000@24.102.50.6:5060</a> SIP/2.0.<br></blockquote><blockquote type="cite">Max-Forwards: 10.<br></blockquote><blockquote type="cite">Record-Route:<br></blockquote><blockquote type="cite"><<a href="sip:74.51.40.188;r2=on;lr=on;ftag=57F6B415-4E672A1800034D60-8D868700">sip:74.51.40.188;r2=on;lr=on;ftag=57F6B415-4E672A1800034D60-8D868700</a>>.<br></blockquote><blockquote type="cite">Record-Route:<br></blockquote><blockquote type="cite"><<a href="sip:127.0.0.1;r2=on;lr=on;ftag=57F6B415-4E672A1800034D60-8D868700">sip:127.0.0.1;r2=on;lr=on;ftag=57F6B415-4E672A1800034D60-8D868700</a>>.<br></blockquote><blockquote type="cite">Via: SIP/2.0/UDP 74.51.40.188;branch=z9hG4bKf57d.f6e74992.0.<br></blockquote><blockquote type="cite">Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKVssPdalO;rport=5080.<br></blockquote><blockquote type="cite">From: Dave<br></blockquote><blockquote type="cite"><<a href="sip:9057720000@24.102.50.6:5060">sip:9057720000@24.102.50.6:5060</a>>;tag=57F6B415-4E672A1800034D60-8D868700.<br></blockquote><blockquote type="cite">To: <<a href="sip:9057720000@24.102.50.6:5060">sip:9057720000@24.102.50.6:5060</a>>.<br></blockquote><blockquote type="cite">CSeq: 10 INVITE.<br></blockquote><blockquote type="cite">Call-ID: c73cfbbd-923d5d6@192.168.1.134_b2b-1.<br></blockquote><blockquote type="cite">P-Asserted-Identity: <<a href="sip:9057720000@24.102.50.6:5060">sip:9057720000@24.102.50.6:5060</a>>.<br></blockquote><blockquote type="cite">Supported: timer.<br></blockquote><blockquote type="cite">Session-Expires: 300.<br></blockquote><blockquote type="cite">Min-SE: 90.<br></blockquote><blockquote type="cite">Content-Type: application/sdp.<br></blockquote><blockquote type="cite">Content-Length: 462.<br></blockquote><blockquote type="cite">Contact: <<a href="sip:ngcp-lb@24.102.50.6:5060">sip:ngcp-lb@24.102.50.6:5060</a>><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--Skyler<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Spce-user mailing list<br></blockquote><blockquote type="cite"><a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br></blockquote><blockquote type="cite"><a href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a><br></blockquote><br>_______________________________________________<br>Spce-user mailing list<br><a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>http://lists.sipwise.com/listinfo/spce-user<br></div></blockquote></div><br></body></html>