Wai Wu
2006-Feb-14 08:26 UTC
[Asterisk-Users] Dial command to connect two channels and bypassasterisk server
If Asterisk is in the public network, it will work. The problem is when Asterisk is behind NAT and one of the client is also behind the same NAT. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com]On Behalf Of turby Sent: Tuesday, February 14, 2006 6:35 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] Dial command to connect two channels and bypassasterisk server this is not usefull for public enviroment. clients behind nat does not work... turby _____ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Nitin Gupta Sent: Tuesday, February 14, 2006 10:51 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Dial command to connect two channels and bypass asterisk server thanks for the information Peter, its really helpful. Also I have one more question - do you have any idea how many such simultaneous calls can an asterisk server handle (say running od 2.6Ghz, 1GB Ram, fedora machine)? Thanks, Nitin On 2/13/06, Peter Fern < pete@keypoint.com.au> wrote: You can enable this on a per-peer basis with: sip peers: canreinvite=yes iax peers: notransfer=no Check the iax.conf.sample and sip.conf.sample files for usage. Nitin Gupta wrote:> Hi I was wondering if its possible to make Dial command bridge two > channels and after bridging bypass asterisk, so that the voice doesn't > need to pass through my asterisk server. > > For e.g., I have a user dialed in and he verifies himself and then > dials an international extension, after the call connects I don't want > the call to pass through asterisk server anymore. Is there any command > already there for any particular channel type? > > Thanks, > Nitin > >------------------------------------------------------------------------ > >_______________________________________________ >--Bandwidth and Colocation provided by Easynews.com -- > >Asterisk-Users mailing list >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060214/56642bf8/attachment.htm
Kevin P. Fleming
2006-Feb-14 09:06 UTC
[Asterisk-Users] Dial command to connect two channels and bypassasterisk server
Wai Wu wrote:> If Asterisk is in the public network, it will work. The problem is when Asterisk is behind NAT and one of the client is also behind the same NAT.No, it won't. If one of the clients is behind a NAT firewall, you cannot tell that firewall to start accepting media directly from the other client. In some situations it _may_ work, but it is not reliable.