<font color='black' size='2' face='arial'>Sou<font color="black" face="arial" size="2">nds great, thanks for your answer.<br>
Do i need to set this on the trunk, the friend or on both?
<div> <br>
</div>
<div> <br>
</div>
<div style="clear: both;"></div>
<div> <br>
</div>
<div> <br>
</div>
<div style="font-family: arial,helvetica; font-size: 10pt; color: black;">-----Original Message-----<br>
From: bruce bruce <bruceb444@gmail.com><br>
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com><br>
Sent: Fri, Jul 9, 2010 8:13 pm<br>
Subject: Re: [asterisk-users] General network question regarding SIP and IAX2<br>
<br>
<div id="AOLMsgPart_3_bb6e437c-5023-45bc-a74d-783a447dfffc">
The variable is <b>canreinvite.</b>
<div><b><span style="font-weight: normal;">Please check on voipinfo. If canreinvite is enabled then only SIP signaling is passed through Asterisk and the media is not passed through Asterisk resulting in less bandwidth usage and probably less jitter buffer, etc,,,,if you are two phones are closer to each other than a round trip to Asterisk server.</span></b></div>
<div><b><span style="font-weight: normal;"><br>
</span></b></div>
<div><b><span style="font-weight: normal;">On the flip side, you can't record these calls because no media is sent through Asterisk.</span></b></div>
<div><b><span style="font-weight: normal;"><br>
</span></b></div>
<div><b><span style="font-weight: normal;">-Bruce<br>
</span></b><br>
<div class="gmail_quote">On Fri, Jul 9, 2010 at 1:48 PM, <span dir="ltr"><<a href="mailto:unserossi@aol.com">unserossi@aol.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><font color="black" face="arial" size="2"><font size="2"><font face="Arial, Helvetica, sans-serif">Hi all,<br>
<br>
i have a beginners question. How are SIP calls and IAX2 calls processed by Asterisk over the network?<br>
What i mean is, is there a permanent connection required between the Asterisk Server and the clients or is the Asterisk Server only involved for lets call it the "routing"?<br>
<br>
>From my understanding SIP s used to "find" the "way" to the remote party and the voice is transferred over RTP directly from client to client without permanently involving the Server.<br>
IAX seems to do all in one, the "routing" and the transport of the voice. <br>
<br>
Is that correct?<br>
<br>
Why i am asking this?<br>
<br>
Lets say i have one Asterisk running in London and another one in Paris. Both are connected via IAX2 trunk over a WAN connection. <br>
User A is registered on the server in London.<br>
User B is registered on the server in Paris.<br>
Now User A is visiting User B in Paris and both have call with each other.<br>
Is the voice data routed from user A to Asterisk in London and then back via IAX2 to the server in Paris and the to user B?<br>
Or is there a direct connection between them and no WAN traffic is produced?<br>
And is there a difference between using either SIP or IAX as client protocol in that case?<br>
<br>
I hope i explained well what i meant.<br>
<br>
Thanks in advance for answers.<br>
</font></font></font>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a target="_blank" href="http://www.api-digital.com">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a target="_blank" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a target="_blank" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div>
<br>
</div>
</div>
<!-- end of AOLMsgPart_3_bb6e437c-5023-45bc-a74d-783a447dfffc -->
<div id="AOLMsgPart_4_bb6e437c-5023-45bc-a74d-783a447dfffc" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<pre style="font-size: 9pt;"><tt>-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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>
</tt></pre>
</div>
<!-- end of AOLMsgPart_4_bb6e437c-5023-45bc-a74d-783a447dfffc -->
</div>
</font></font>