<div dir="ltr"><div><div><div><div>I don't understand what a SIP invite is. Certainly it's explained as:<br><br>"This article explains the main fields included in a SIP INVITE, which is
sent to set-up a VoIP call. A SIP INVITE message contains typically
between 4 and 6 header entries with contact information inside them."<br><br><a href="http://www.3cx.com/blog/voip-howto/sip-invite-header-fields/">http://www.3cx.com/blog/voip-howto/sip-invite-header-fields/</a><br></div><div><br><br></div><div>The article enumerates the headers and explains them. But what sends the invite? Asterisk? A soft-phone?<br><br></div><div>I found sample config's to send an invite with Asterisk but no other method was given. Can only Asterisk send an invite? Why? The article says that it's sent "to set-up a VoIP call," so presumably any reasonable soft-phone sends these invites as a normal process.<br><br></div><div>That's all well and good, but how do send an actual invite and get a response? This can only be done through Asterisk?<br></div><div><br><br><br><br></div><div>This is in the context of:<br></div><div><div style="" class="">
<p>Requires IP Authentication to be setup through the portal and associated with LRN under <a href="https://portal.telnyx.com/#/app/telephone-data"> Telephone Data </a> Tab</p>
<p> Send a SIP Invite to <b><a href="http://lrnlookup.telnyx.com">lrnlookup.telnyx.com</a></b> with the number you wish to dip on port 5060</p>
<p> The response will be a SIP 302 redirect for example: </p>
<div class="">
SIP/2.0 302 Moved Temporarily<br>
Via: SIP/2.0/UDP 172.16.1.12;branch=z9hG4bKfae8cb69f547b8cb;received=172.16.0.179<br>
From: <<a href="mailto:sip%3A5555555555@172.16.1.12">sip:5555555555@172.16.1.12</a>>;tag=102<br>
To: <<a href="mailto:sip%3A5555555555@174.36.199.131">sip:5555555555@174.36.199.131</a>><br>
call-id: <a href="mailto:0704037283648236478326200101@172.16.1.12">0704037283648236478326200101@172.16.1.12</a><br>
CSeq: 1 INVITE<br>
Contact: Transfer <sip:5555555555;<b>rn=+15555555556;npdi;</b>@<a href="http://174.36.199.131">174.36.199.131</a>><br>
Content-Length: 0
</div>
<p> If a number has been ported the response will contain the dip
indicator ("npdi;") as well as the LRN (rn=+1..), otherwise these fields
will be missing</p>
</div><br><br>from <a href="https://apidocs.telnyx.com/">https://apidocs.telnyx.com/</a><br></div></div>and then clicking "Data API" and then "SIP request" for details.<br><br></div><div>I have a running instance of Asterisk. I would have to handle the invite through Asterisk and keep it running to make and receive calls? Presumably this invite is interacting with Asterisk, or something similar, at <a href="http://telnyx.com">telnyx.com</a> -- which seems overkill.<br></div><div><br><br></div>thanks,<br><br></div>Thufir<br></div>