[Asterisk-Users] iax2, strange native bridge problem????
Atuc
atuc at gmx.de
Wed Oct 6 12:24:54 MST 2004
hallo,
i am really confused how nativ briging is working with asterisk,
i use a asterisk server as central server and register another asterisk and
an iaxcomm client to the server, all three have public ips on the internet.
somtimes, when i call from iaxcomm to my asterisk, the calls go peer to
peer (i can see it with tcpdump) but sometimes the get routed through the
central asterisk server on the net. i dont change anything in the configs
and i dont know, what are the rueles that cause asterisk to route sometimes
direct or somtimes through the central asterisk??
does asterisk check something related with timing? nettraffic? roundtrip
delay? anything else?
can i set somthing in the iax.conf? change in sourcefiles?
of course i have set
notransfer=no in iax.conf
i compiled the latest asterisk 1.0.1
my logs, first does not go p2p, second does:
does anybody has an idea about this problem?
thanks for help,
alex
here it does not go p2p
-------------------------------
*CLI>
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 001 Type: IAX Subclass: UNQULCH
Timestamp: 03250ms SCall: 17188 DCall: 00008 [62.178.166.159:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 03250ms SCall: 00008 DCall: 17188 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 001 Type: CONTROL Subclass: ANSWER
Timestamp: 03251ms SCall: 17188 DCall: 00008 [62.178.166.159:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 03251ms SCall: 00008 DCall: 17188 [62.178.166.159:4569]
-- IAX2/dematuc/8 answered IAX2/krath at krath/7
-- Attempting native bridge of IAX2/krath at krath/7 and IAX2/dematuc/8
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 002 Type: CONTROL Subclass: (255?)
Timestamp: 03435ms SCall: 00007 DCall: 00003 [80.141.107.154:4569]
Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 002 Type: CONTROL Subclass: ANSWER
Timestamp: 03438ms SCall: 00007 DCall: 00003 [80.141.107.154:4569]
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 001 Type: VOICE Subclass: 2
Timestamp: 03266ms SCall: 17188 DCall: 00008 [62.178.166.159:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 03266ms SCall: 00008 DCall: 17188 [62.178.166.159:4569]
Tx-Frame Retry[000] -- OSeqno: 005 ISeqno: 002 Type: IAX Subclass: TXREQ
Timestamp: 03448ms SCall: 00007 DCall: 00003 [80.141.107.154:4569]
APPARENT ADDRES : IPV4 62.178.166.159:4569
CALL NUMBER : 17188
TRANSFER ID : 330561062
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 005 Type: IAX Subclass: TXREQ
Timestamp: 03368ms SCall: 00008 DCall: 17188 [62.178.166.159:4569]
APPARENT ADDRES : IPV4 80.141.107.154:4569
CALL NUMBER : 3
TRANSFER ID : 330561062
Tx-Frame Retry[000] -- OSeqno: 006 ISeqno: 002 Type: VOICE Subclass: 2
Timestamp: 03442ms SCall: 00007 DCall: 00003 [80.141.107.154:4569]
Rx-Frame Retry[Yes] -- OSeqno: 002 ISeqno: 001 Type: IAX Subclass: UNQULCH
Timestamp: 03250ms SCall: 17188 DCall: 00008 [62.178.166.159:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 03250ms SCall: 00008 DCall: 17188 [62.178.166.159:4569]
Rx-Frame Retry[Yes] -- OSeqno: 003 ISeqno: 001 Type: CONTROL Subclass: ANSWER
Timestamp: 03251ms SCall: 17188 DCall: 00008 [62.178.166.159:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 03251ms SCall: 00008 DCall: 17188 [62.178.166.159:4569]
Rx-Frame Retry[Yes] -- OSeqno: 004 ISeqno: 001 Type: VOICE Subclass: 2
Timestamp: 03266ms SCall: 17188 DCall: 00008 [62.178.166.159:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 03266ms SCall: 00008 DCall: 17188 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 03435ms SCall: 00003 DCall: 00007 [80.141.107.154:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 03438ms SCall: 00003 DCall: 00007 [80.141.107.154:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 006 Type: IAX Subclass: ACK
Timestamp: 03448ms SCall: 00003 DCall: 00007 [80.141.107.154:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 006 Type: VOICE Subclass: 2
Timestamp: 03556ms SCall: 00003 DCall: 00007 [80.141.107.154:4569]
Tx-Frame Retry[-01] -- OSeqno: 006 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 03556ms SCall: 00007 DCall: 00003 [80.141.107.154:4569]
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 005 Type: VOICE Subclass: 2
Timestamp: 07029ms SCall: 00008 DCall: 17188 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 006 ISeqno: 006 Type: IAX Subclass: VNAK
Timestamp: 03559ms SCall: 00003 DCall: 00007 [80.141.107.154:4569]
Tx-Frame Retry[001] -- OSeqno: 006 ISeqno: 002 Type: VOICE Subclass: 2
Timestamp: 03442ms SCall: 00007 DCall: 00003 [80.141.107.154:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 007 Type: IAX Subclass: ACK
Timestamp: 03442ms SCall: 00003 DCall: 00007 [80.141.107.154:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 007 Type: IAX Subclass: ACK
Timestamp: 03442ms SCall: 00003 DCall: 00007 [80.141.107.154:4569]
Tx-Frame Retry[001] -- OSeqno: 001 ISeqno: 005 Type: IAX Subclass: TXREQ
Timestamp: 03368ms SCall: 00008 DCall: 17188 [62.178.166.159:4569]
APPARENT ADDRES : IPV4 80.141.107.154:4569
CALL NUMBER : 3
TRANSFER ID : 330561062
Rx-Frame Retry[ No] -- OSeqno: 005 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 03368ms SCall: 17188 DCall: 00008 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 007 Type: IAX Subclass: TXREJ
Timestamp: 08579ms SCall: 00003 DCall: 00007 [80.141.107.154:4569]
-- Channel 'IAX2/krath at krath/7' unable to transfer
Tx-Frame Retry[-01] -- OSeqno: 007 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 08579ms SCall: 00007 DCall: 00003 [80.141.107.154:4569]
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 005 Type: IAX Subclass: TXREJ
Timestamp: 12052ms SCall: 00008 DCall: 17188 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 005 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 12052ms SCall: 17188 DCall: 00008 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 007 Type: IAX Subclass: LAGRQ
Timestamp: 09479ms SCall: 00003 DCall: 00007 [80.141.107.154:4569]
Tx-Frame Retry[-01] -- OSeqno: 007 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 09479ms SCall: 00007 DCall: 00003 [80.141.107.154:4569]
Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 005 Type: IAX Subclass: LAGRQ
Timestamp: 09479ms SCall: 00008 DCall: 17188 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 005 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 09479ms SCall: 17188 DCall: 00008 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 005 ISeqno: 005 Type: IAX Subclass: LAGRP
Timestamp: 09479ms SCall: 17188 DCall: 00008 [62.178.166.159:4569]
Tx-Frame Retry[-01] -- OSeqno: 005 ISeqno: 006 Type: IAX Subclass: ACK
Timestamp: 09479ms SCall: 00008 DCall: 17188 [62.178.166.159:4569]
Tx-Frame Retry[000] -- OSeqno: 007 ISeqno: 005 Type: IAX Subclass: LAGRP
Timestamp: 09479ms SCall: 00007 DCall: 00003 [80.141.107.154:4569]
Rx-Frame Retry[Yes] -- OSeqno: 005 ISeqno: 005 Type: IAX Subclass: LAGRP
Timestamp: 09479ms SCall: 17188 DCall: 00008 [62.178.166.159:4569]
Tx-Frame Retry[-01] -- OSeqno: 005 ISeqno: 006 Type: IAX Subclass: ACK
Timestamp: 09479ms SCall: 00008 DCall: 17188 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 005 ISeqno: 008 Type: IAX Subclass: ACK
Timestamp: 09479ms SCall: 00003 DCall: 00007 [80.141.107.154:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00001ms SCall: 17189 DCall: 00000 [62.178.166.159:4569]
USERNAME : dematuc
REFRESH : 60
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH
Timestamp: 00004ms SCall: 00009 DCall: 17189 [62.178.166.159:4569]
AUTHMETHODS : 7
CHALLENGE : 103504541
USERNAME : dematuc
Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00001ms SCall: 17189 DCall: 00000 [62.178.166.159:4569]
USERNAME : dematuc
REFRESH : 60
Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00001ms SCall: 00009 DCall: 17189 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ
Timestamp: 00078ms SCall: 17189 DCall: 00009 [62.178.166.159:4569]
USERNAME : dematuc
REFRESH : 60
MD5 RESULT : ca2234c143ca9f05684e21a3b378b367
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK
Timestamp: 00083ms SCall: 00009 DCall: 17189 [62.178.166.159:4569]
USERNAME : dematuc
DATE TIME : 155626048
REFRESH : 60
APPARENT ADDRES : IPV4 62.178.166.159:4569
MESSAGE COUNT : 65535
------------------------- P2P here it works------------------
*CLI>
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 001 Type: IAX Subclass: UNQULCH
Timestamp: 04219ms SCall: 17164 DCall: 00009 [62.178.166.159:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 04219ms SCall: 00009 DCall: 17164 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 001 Type: CONTROL Subclass: ANSWER
Timestamp: 04220ms SCall: 17164 DCall: 00009 [62.178.166.159:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 04220ms SCall: 00009 DCall: 17164 [62.178.166.159:4569]
-- IAX2/dematuc/9 answered IAX2/krath at krath/8
-- Attempting native bridge of IAX2/krath at krath/8 and IAX2/dematuc/9
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 002 Type: CONTROL Subclass: (255?)
Timestamp: 04388ms SCall: 00008 DCall: 00003 [80.141.107.154:4569]
Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 002 Type: CONTROL Subclass: ANSWER
Timestamp: 04391ms SCall: 00008 DCall: 00003 [80.141.107.154:4569]
Tx-Frame Retry[000] -- OSeqno: 005 ISeqno: 002 Type: IAX Subclass: TXREQ
Timestamp: 04399ms SCall: 00008 DCall: 00003 [80.141.107.154:4569]
APPARENT ADDRES : IPV4 62.178.166.159:4569
CALL NUMBER : 17164
TRANSFER ID : 391268225
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 004 Type: IAX Subclass: TXREQ
Timestamp: 04319ms SCall: 00009 DCall: 17164 [62.178.166.159:4569]
APPARENT ADDRES : IPV4 80.141.107.154:4569
CALL NUMBER : 3
TRANSFER ID : 391268225
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 001 Type: VOICE Subclass: 2
Timestamp: 04235ms SCall: 17164 DCall: 00009 [62.178.166.159:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 04235ms SCall: 00009 DCall: 17164 [62.178.166.159:4569]
Tx-Frame Retry[000] -- OSeqno: 006 ISeqno: 002 Type: VOICE Subclass: 2
Timestamp: 08637ms SCall: 00008 DCall: 00003 [80.141.107.154:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 04388ms SCall: 00003 DCall: 00008 [80.141.107.154:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 04391ms SCall: 00003 DCall: 00008 [80.141.107.154:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 006 Type: IAX Subclass: ACK
Timestamp: 04399ms SCall: 00003 DCall: 00008 [80.141.107.154:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 006 Type: VOICE Subclass: 2
Timestamp: 04514ms SCall: 00003 DCall: 00008 [80.141.107.154:4569]
Tx-Frame Retry[-01] -- OSeqno: 006 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 04514ms SCall: 00008 DCall: 00003 [80.141.107.154:4569]
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 005 Type: VOICE Subclass: 2
Timestamp: 08934ms SCall: 00009 DCall: 17164 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 007 Type: IAX Subclass: ACK
Timestamp: 08637ms SCall: 00003 DCall: 00008 [80.141.107.154:4569]
Rx-Frame Retry[Yes] -- OSeqno: 002 ISeqno: 001 Type: IAX Subclass: UNQULCH
Timestamp: 04219ms SCall: 17164 DCall: 00009 [62.178.166.159:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 04219ms SCall: 00009 DCall: 17164 [62.178.166.159:4569]
Rx-Frame Retry[Yes] -- OSeqno: 003 ISeqno: 001 Type: CONTROL Subclass: ANSWER
Timestamp: 04220ms SCall: 17164 DCall: 00009 [62.178.166.159:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 04220ms SCall: 00009 DCall: 17164 [62.178.166.159:4569]
Rx-Frame Retry[Yes] -- OSeqno: 004 ISeqno: 001 Type: VOICE Subclass: 2
Timestamp: 04235ms SCall: 17164 DCall: 00009 [62.178.166.159:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 04235ms SCall: 00009 DCall: 17164 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 007 Type: IAX Subclass: TXREADY
Timestamp: 04761ms SCall: 00003 DCall: 00008 [80.141.107.154:4569]
CALL NUMBER : 3
-- Channel 'IAX2/krath at krath/8' ready to transfer
Tx-Frame Retry[-01] -- OSeqno: 007 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 04761ms SCall: 00008 DCall: 00003 [80.141.107.154:4569]
Rx-Frame Retry[ No] -- OSeqno: 005 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 04219ms SCall: 17164 DCall: 00009 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 005 ISeqno: 003 Type: IAX Subclass: TXREADY
Timestamp: 04610ms SCall: 17164 DCall: 00009 [62.178.166.159:4569]
TRANSFER ID : 391268225
-- Channel 'IAX2/dematuc/9' ready to transfer
-- Releasing IAX2/dematuc/9 and IAX2/krath at krath/8
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 006 Type: IAX Subclass: TXREL
Timestamp: 09257ms SCall: 00009 DCall: 17164 [62.178.166.159:4569]
CALL NUMBER : 3
Tx-Frame Retry[000] -- OSeqno: 007 ISeqno: 004 Type: IAX Subclass: TXREL
Timestamp: 08999ms SCall: 00008 DCall: 00003 [80.141.107.154:4569]
CALL NUMBER : 17164
Rx-Frame Retry[ No] -- OSeqno: 006 ISeqno: 003 Type: IAX Subclass: TXREADY
Timestamp: 04656ms SCall: 17164 DCall: 00009 [62.178.166.159:4569]
TRANSFER ID : 391268225
Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 007 Type: IAX Subclass: ACK
Timestamp: 04656ms SCall: 00009 DCall: 17164 [62.178.166.159:4569]
Rx-Frame Retry[Yes] -- OSeqno: 005 ISeqno: 003 Type: IAX Subclass: TXREADY
Timestamp: 04610ms SCall: 17164 DCall: 00009 [62.178.166.159:4569]
TRANSFER ID : 391268225
Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 007 Type: IAX Subclass: ACK
Timestamp: 04610ms SCall: 00009 DCall: 17164 [62.178.166.159:4569]
Rx-Frame Retry[Yes] -- OSeqno: 006 ISeqno: 003 Type: IAX Subclass: TXREADY
Timestamp: 04656ms SCall: 17164 DCall: 00009 [62.178.166.159:4569]
TRANSFER ID : 391268225
Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 007 Type: IAX Subclass: ACK
Timestamp: 04656ms SCall: 00009 DCall: 17164 [62.178.166.159:4569]
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 008 Type: IAX Subclass: ACK
Timestamp: 08999ms SCall: 00003 DCall: 00008 [80.141.107.154:4569]
Tx-Frame Retry[001] -- OSeqno: 003 ISeqno: 007 Type: IAX Subclass: TXREL
Timestamp: 09257ms SCall: 00009 DCall: 17164 [62.178.166.159:4569]
CALL NUMBER : 3
-- Hungup 'IAX2/dematuc/9'
== Spawn extension (default, 1230, 1) exited non-zero on
'IAX2/krath at krath/8'
-- Hungup 'IAX2/krath at krath/8'
More information about the asterisk-users
mailing list