<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><div><div dir="ltr">Any idea why this INVITE is rejected with 400 Invalid Phone Number by Twilio?<br>The first INVITE asks for Proxy Authentication, that seems to pass and this is rejected.<br>Thank you!<br><br>INVITE sip:5101112222@mycompany.pstn.twilio.com SIP/2.0<br>Via: SIP/2.0/UDP 10.50.1.116:5080;rport;branch=z9hG4bKa8QvU1B6QmeKc<br>Max-Forwards: 69<br>From: "unknown" &lt;sip:4152221111@mycompany.pstn.twilio.com&gt;;tag=6UetZr6rDZgHF<br>To: &lt;sip:5101112222@mycompany.pstn.twilio.com&gt;<br>Call-ID: 1ffda8b7-faaf-1232-8380-a9a65d1e96b1<br>CSeq: 68751485 INVITE<br>Contact: &lt;sip:gw+twiliotrunk@10.50.1.116:5080;transport=udp;gw=twiliotrunk&gt;<br>Expires: 3600<br>User-Agent: FreeSWITCH-mod_sofia/1.5.12b~64bit<br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>Supported: timer, path, replaces<br>Allow-Events: talk, hold, conference, refer<br>Proxy-Authorization: Digest username="4152221111", realm="sip.twilio.com", nonce="f722ae99d0a818bc422baa5d8", cnonce="IA1gJvqvEg6mmXR6WsQ", opaque="e89d2328e07da020d75a", algorithm=MD5, uri="sip:5101112222@mycompany.pstn.twilio.com", response="e65d3dea5b1e3b35306cfa121ec2ae4d", qop=auth, nc=00000001<br>Content-Type: application/sdp<br>Content-Disposition: session<br>Content-Length: 268<br>X-FS-Support: update_display,send_info<br>Remote-Party-ID: "unknown" &lt;sip:1000@mycompany.pstn.twilio.com&gt;;party=calling;screen=yes;privacy=off<br><br>v=0<br>o=FreeSWITCH 1418153731 1418153732 IN IP4 10.50.1.116<br>s=FreeSWITCH<br>c=IN IP4 10.50.1.116<br>t=0 0<br>m=audio 21366 RTP/AVP 0 8 3 101 13<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:3 GSM/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br>a=ptime:20<br>--<br><br>SIP/2.0 400 Invalid phone number<br>To: &lt;sip:5101112222@ingenio.pstn.twilio.com&gt;;tag=08602519_6772d868_5eef74bb-957c-486e-b261-2a2e63704d73<br>Via: SIP/2.0/UDP 10.50.1.116:5080;received=10.50.1.116;rport=5080;branch=z9hG4bKa8QvU1B6QmeKc<br>CSeq: 68751485 INVITE<br>Call-ID: 1ffda8b7-faaf-1232-8380-a9a65d1e96b1<br>From: "unknown" &lt;sip:4152221111@ingenio.pstn.twilio.com&gt;;tag=6UetZr6rDZgHF<br>Contact: &lt;sip:171.118.14.130:5060&gt;<br>Content-Length: 0<br><br><br><br>--<br>                                               </div></div>                                               </div></body>
</html>