Hello!
I have a number of IAX clients behind a NAT (on the same LAN) and asterisk server on the Internet. And that clients doesn't speak directly to each other, traffic goes through the asterisk server. What should I configure to make IAX clients on the same LAN to speak directly, please?
notraster=no is set in iax.conf
The asterisk server is on real IP behind a NAT (at DMZ with full 1-to-1 port forwarding).
The client are behind a PAT (Samsung adsl modem-router).
"iax2 show peers" shows: 215/215 62.219.163.153 (D) 255.255.255.255 57169 Unmonitored 214/214 62.219.163.153 (D) 255.255.255.255 4569 Unmonitored
Asterisk console shows:
dialparties.agi: Extension 215 has call waiting disabled
-- dialparties.agi: DbSet CALLTRACE/215 to 214
dialparties.agi: About to execute Dial(IAX2/215|15|tr)
-- AGI Script Executing Application: (Dial) Options: (IAX2/215|15|tr)
-- Called 215
-- Call accepted by 62.219.163.153 (format ILBC)
-- Format for call is ILBC
-- IAX2/215/3 is ringing
-- IAX2/215/3 answered IAX2/[EMAIL PROTECTED]/1
-- Attempting native bridge of IAX2/[EMAIL PROTECTED]/1 and IAX2/215/3
-- Channel 'IAX2/215/3' unable to transfer"iax2 show channels":
Channel Peer Username ID (Lo/Rem) Seq (Tx/Rx) Lag Jitter JitBuf Format
IAX2/[EMAIL PROTECTED]/1 62.219.163.153 214 00001/12538 00009/00006 [Native Bridged to ID=00003]
IAX2/215/3 62.219.163.153 215 00003/00042 00004/00007 [Native Bridged to ID=00001]
2 active IAX channel(s)
Best regards, Alex Massover CTO Gamcom Ltd.
P.S. Our company have ordered your hardware cards.
[general] bindport = 4569 ; Port to bind to (IAX is 4569) bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine) tos=0x14 delayreject=yes disallow=all allow=g273.1 allow=g279 allow=ilbc allow=ulaw allow=alaw allow=gsm allow=g726 jitterbuffer=no mailboxdetail=yes notransfer=no
;register => gamcom:[EMAIL PROTECTED] ;register => 478933:[EMAIL PROTECTED] ;[fwd-gw] ;type=peer ;auth=md5 ;secret=2046590 ;username=478933 ;qualify=yes ;host=iax2.fwdnet.net ;disallow=all ;allow=ulaw #include iax_additional.conf
[211] callerid="iaxcomm" <211> context=from-internal host=dynamic mailbox=211 notransfer=no port=4569 secret=211 type=friend username=211 [212] callerid="iaxcomm 2" <212> context=from-internal host=dynamic mailbox=212 notransfer=no port=4569 secret=212 type=friend username=212 [213] callerid="iaxcomm 3" <213> context=from-internal host=dynamic mailbox=213 notransfer=no port=4569 secret=213 type=friend username=213 [214] callerid="iaxcomm 4" <214> context=from-internal host=dynamic mailbox=214 notransfer=no port=4569 secret=214 type=friend username=214 [215] callerid="FireFly" <215> context=from-internal host=dynamic mailbox=215 notransfer=no port=4569 secret=215 type=friend username=215 [220] callerid="Plony Almony" <220> context=from-internal host=dynamic mailbox=220 notransfer=no port=4569 secret=220 type=friend username=220 [221] callerid="Almony Plony" <221> context=from-internal host=dynamic mailbox=221 notransfer=no port=4569 secret=221 type=friend username=221 [300] callerid="Alex Home" <300> context=from-internal host=dynamic mailbox=300 notransfer=no port=4569 secret=1981 type=friend username=300
begin:vcard fn:Alex Massover n:Massover;Alex org:Gamcall Ltd. adr:New Industrial Zone Netanya;;7 Giborei Israel St., P.O.Box 8023;Netanya;;42504;Israel email;internet:[EMAIL PROTECTED] title:Chief Technology Officer tel;work:+(972)-9-8653633, sip:[EMAIL PROTECTED] version:2.1 end:vcard
_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
