<div dir="ltr">Hello,<div><br></div><div>I&#39;ve just setup a sip trunk with a new provider, however there are some issues receiving calls.</div><div><br></div><div>The INVITE looks like this:</div><div><br></div><div><font face="monospace, monospace">   INVITE <a href="http://sip:NCdWXsdSsaF2B@192.168.0.190:52284">sip:NCdWXsdSsaF2B@192.168.0.190:52284</a> SIP/2.0<br></font></div><div><font face="monospace, monospace">   ....</font></div><div><div><font face="monospace, monospace">   From: &lt;sip:+XXXXXXXXXX@x.x.x.x&gt;;tag=Ud8ghaXg01821203</font></div><div><font face="monospace, monospace">   To: &lt;sip:+YYYYYYYYYY@x.x.x.x&gt;</font></div></div><div><font face="monospace, monospace">   ...</font></div><div><br></div><div>The invite has my account name, instead of the destination number and the real destination number is in the &quot;To:&quot; field (which it normally is I guess ;-)<br></div><div><br></div><div>Then Freeswitch does this of cause:</div><div><br></div><div><font face="monospace, monospace">[INFO] mod_dialplan_xml.c:637 Processing +XXXXXXXXXX &lt;+XXXXXXXXXX&gt;-&gt;NCdWXsdSsaF2B in context inbound<br></font></div><div><br></div><div>That is undesirable, so Is there any way for Freeswitch to grab the destination number from the to field instead of the INVITE string ?</div><div>I could make a special sip profile for that provider with it&#39;s own dialplan and then set destination_number from the &quot;sip_to_user&quot; variable and transfer to the real dialplan, but it just seems so messy...</div><div>Or is it my provider that is doing it wrong?<br></div><div><br></div><div>Best regards,</div><div>  Allan</div></div>