[Asterisk-Users] iax2 nativ bridge question?

Atuc atuc at gmx.de
Mon Dec 6 04:44:26 MST 2004


hallo all,

i would like to know, as i would suspect, nativ bridiging should work also, 
if only one iax party is behind an nat router and the other has a public 
ip. when i connect to iax clients, which have both pubic ip's nativ 
bridging is working. if one of the clients is behind an nat, the iax2 
channels always get routed through the asterisk server (latest stable 
version from cvs) ?? i have also set the notransfer=no in iax.conf !!

is this normal? in my understanding, it should be possible if one party 
have a public ip to traverse the udp traffic direct p2p.

am i wright?

here is what my asterisk server shows during connection (unable to transfer):

tahnks,
alex

Connected to Asterisk CVS-v1-0-12/02/04-14:33:02 currently running on snd 
(pid = 3792)
Verbosity is atleast 5
     -- Registered 'atuc' (AUTHENTICATED) at 82.82.238.221:30512
   == Parsing '/etc/asterisk/manager.conf': Found
   == Manager 'snm' logged on from 127.0.0.1
   == Manager 'snm' logged off from 127.0.0.1
     -- Registered 'streamer' (AUTHENTICATED) at 195.176.254.130:4569
     -- Accepting AUTHENTICATED call from 80.141.93.186, requested format = 
2, actual format = 2
     -- Executing Dial("IAX2/krath at krath/3", "IAX2/atuc| 10") in new stack
     -- Called atuc
     -- Call accepted by 82.82.238.221 (format GSM)
     -- Format for call is GSM
     -- IAX2/atuc/9 is ringing
     -- IAX2/atuc/9 answered IAX2/krath at krath/3
     -- Attempting native bridge of IAX2/krath at krath/3 and IAX2/atuc/9
     -- Channel 'IAX2/krath at krath/3' unable to transfer
snd*CLI> iax2 show channels
Channel               Peer             Username    ID (Lo/Rem)  Seq 
(Tx/Rx)  Lag      Jitter  JitBuf  Format
IAX2/krath at krath/3    80.141.93.186    krath       00003/00002  00007/00005 
  [Native Bridged to ID=00009]
IAX2/atuc/9           82.82.238.221    atuc        00009/21147  00005/00006 
  [Native Bridged to ID=00003]
2 active IAX channel(s)
   == Parsing '/etc/asterisk/manager.conf': Found
   == Manager 'snm' logged on from 127.0.0.1
   == Manager 'snm' logged off from 127.0.0.1
snd*CLI> iax2 show peers
Name/Username    Host                 Mask             Port      Status
test/test        (Unspecified)   (D)  255.255.255.255  0         Unmonitored
atuc/atuc        82.82.238.221   (D)  255.255.255.255  30512     Unmonitored
aleks/aleks      (Unspecified)   (D)  255.255.255.255  0         Unmonitored
hk/hk            (Unspecified)   (D)  255.255.255.255  0         Unmonitored
chris/chris      (Unspecified)   (D)  255.255.255.255  0         Unmonitored
iustus/iustus    (Unspecified)   (D)  255.255.255.255  0         Unmonitored
krath/krath      80.141.93.186   (D)  255.255.255.255  4569      Unmonitored
streamer/stream  195.176.254.130 (D)  255.255.255.255  4569      Unmonitored
dematuc/dematuc  (Unspecified)   (D)  255.255.255.255  0         Unmonitored
atucek/atucek    (Unspecified)   (D)  255.255.255.255  0         Unmonitored
snd*CLI> exit
Executing last minute cleanups
snd:~# 




More information about the asterisk-users mailing list