RE: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX
: 0 [192.168.1.101:4569] USERNAME: client1 REFRESH : 1800 voip*CLI Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 7ms SCall: 00011 DCall: 00743 [192.168.1.101:4569] AUTHMETHODS : 1 USERNAME: client1 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 7ms SCall: 00743 DCall: 00011 [192.168.1.101:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 0ms SCall: 00743 DCall: 0 [192.168.1.101:4569] USERNAME: client1 REFRESH : 1800 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00014ms SCall: 00012 DCall: 00743 [192.168.1.101:4569] AUTHMETHODS : 1 USERNAME: client1 What the above means? How can I check if the client is registered? Is my config ok? Bart, Try adding nat=yes to each extention in the sip.conf file. Example [3420515] username=3420515 type=friend secret=1234 qualify=no port=5060 pickupgroup= nat=yes mailbox= host=dynamic dtmfmode=rfc2833 disallow= context=from-internal canreinvite=no callgroup= callerid=TEST 3420515 allow= Thanks, Ty Carter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bartosz Wegrzyn - asterisk Sent: Tuesday, February 22, 2005 8:01 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX All clients tryingtoconnect tothe asterix says that there is a problem comunicating with the server. It looks like the clients don't see the server. But from the log it looks ok. Maybe may config is wrong. What is the simplest configuration to allow external clinets tocontect to my server. For me it was this entry in iax.conf [client1] type=peer usernamename=client1 secret=test context=sip host=dynamic allow=all Is the above ok. Maybe I will try to eliminate the router and I will try it directly. Thanks well, it seems like the 2 are communicating correctley.. just went through all the logs what is the error that you recieve? - Original Message - From: Bartosz Wegrzyn - asterisk [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Monday, February 21, 2005 12:52 PM Subject: Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX This was set on linksys wrt54. I turned on the forwarding to asterisk server on port 4569. I believe that by default all outgoing packets pass through. Bart, Hallo Did you allow udp outgoing on 4569 as well.. i found udp bit different than tcp when comming to firewalls liaan - Original Message - From: Bartosz Wegrzyn - asterisk [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Monday, February 21, 2005 12:29 PM Subject: Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX I did change the port 4569. Also my router forwards those packets. If I start tcpdump port 4569 on my server I receive: 04:25:36.061292 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:39.154871 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:39.155919 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:44.063009 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:46.063463 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:46.063952 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:49.119019 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:49.120272 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 It means that client is trying to comunicate with asterisk server. But the client says that the server could not be contacted. On asterisk console with iax2 debuging enabled I receive Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 7ms SCall: 1 DCall: 0 [66.234.228.170:4569] USERNAME: nWv96gaD75 REFRESH : 60 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00012ms SCall: 00055 DCall: 1 [66.234.228.170:4569] AUTHMETHODS : 3 CHALLENGE : 164462354 USERNAME: nWv96gaD75 Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ Timestamp: 00049ms SCall: 1 DCall: 00055 [66.234.228.170:4569] USERNAME: nWv96gaD75 REFRESH
RE: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX
] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 0ms SCall: 00743 DCall: 0 [192.168.1.101:4569] USERNAME: client1 REFRESH : 1800 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 7ms SCall: 00010 DCall: 00743 [192.168.1.101:4569] AUTHMETHODS : 1 USERNAME: client1 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 7ms SCall: 00743 DCall: 00010 [192.168.1.101:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 0ms SCall: 00743 DCall: 0 [192.168.1.101:4569] USERNAME: client1 REFRESH : 1800 voip*CLI Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 7ms SCall: 00011 DCall: 00743 [192.168.1.101:4569] AUTHMETHODS : 1 USERNAME: client1 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 7ms SCall: 00743 DCall: 00011 [192.168.1.101:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 0ms SCall: 00743 DCall: 0 [192.168.1.101:4569] USERNAME: client1 REFRESH : 1800 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00014ms SCall: 00012 DCall: 00743 [192.168.1.101:4569] AUTHMETHODS : 1 USERNAME: client1 What the above means? How can I check if the client is registered? Is my config ok? Bart, Try adding nat=yes to each extention in the sip.conf file. Example [3420515] username=3420515 type=friend secret=1234 qualify=no port=5060 pickupgroup= nat=yes mailbox= host=dynamic dtmfmode=rfc2833 disallow= context=from-internal canreinvite=no callgroup= callerid=TEST 3420515 allow= Thanks, Ty Carter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bartosz Wegrzyn - asterisk Sent: Tuesday, February 22, 2005 8:01 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX All clients tryingtoconnect tothe asterix says that there is a problem comunicating with the server. It looks like the clients don't see the server. But from the log it looks ok. Maybe may config is wrong. What is the simplest configuration to allow external clinets tocontect to my server. For me it was this entry in iax.conf [client1] type=peer usernamename=client1 secret=test context=sip host=dynamic allow=all Is the above ok. Maybe I will try to eliminate the router and I will try it directly. Thanks well, it seems like the 2 are communicating correctley.. just went through all the logs what is the error that you recieve? - Original Message - From: Bartosz Wegrzyn - asterisk [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Monday, February 21, 2005 12:52 PM Subject: Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX This was set on linksys wrt54. I turned on the forwarding to asterisk server on port 4569. I believe that by default all outgoing packets pass through. Bart, Hallo Did you allow udp outgoing on 4569 as well.. i found udp bit different than tcp when comming to firewalls liaan - Original Message - From: Bartosz Wegrzyn - asterisk [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Monday, February 21, 2005 12:29 PM Subject: Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX I did change the port 4569. Also my router forwards those packets. If I start tcpdump port 4569 on my server I receive: 04:25:36.061292 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:39.154871 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:39.155919 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:44.063009 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:46.063463 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:46.063952 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:49.119019 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:49.120272 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 It means that client is trying to comunicate with asterisk server. But the client says that the server could not be contacted. On asterisk console
Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX
All clients tryingtoconnect tothe asterix says that there is a problem comunicating with the server. It looks like the clients don't see the server. But from the log it looks ok. Maybe may config is wrong. What is the simplest configuration to allow external clinets tocontect to my server. For me it was this entry in iax.conf [client1] type=peer usernamename=client1 secret=test context=sip host=dynamic allow=all Is the above ok. Maybe I will try to eliminate the router and I will try it directly. Thanks well, it seems like the 2 are communicating correctley.. just went through all the logs what is the error that you recieve? - Original Message - From: Bartosz Wegrzyn - asterisk [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Monday, February 21, 2005 12:52 PM Subject: Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX This was set on linksys wrt54. I turned on the forwarding to asterisk server on port 4569. I believe that by default all outgoing packets pass through. Bart, Hallo Did you allow udp outgoing on 4569 as well.. i found udp bit different than tcp when comming to firewalls liaan - Original Message - From: Bartosz Wegrzyn - asterisk [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Monday, February 21, 2005 12:29 PM Subject: Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX I did change the port 4569. Also my router forwards those packets. If I start tcpdump port 4569 on my server I receive: 04:25:36.061292 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:39.154871 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:39.155919 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:44.063009 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:46.063463 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:46.063952 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:49.119019 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:49.120272 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 It means that client is trying to comunicate with asterisk server. But the client says that the server could not be contacted. On asterisk console with iax2 debuging enabled I receive Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 7ms SCall: 1 DCall: 0 [66.234.228.170:4569] USERNAME: nWv96gaD75 REFRESH : 60 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00012ms SCall: 00055 DCall: 1 [66.234.228.170:4569] AUTHMETHODS : 3 CHALLENGE : 164462354 USERNAME: nWv96gaD75 Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ Timestamp: 00049ms SCall: 1 DCall: 00055 [66.234.228.170:4569] USERNAME: nWv96gaD75 REFRESH : 60 MD5 RESULT : 478939afef8fa0ec5b480cc939dedf6f Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK Timestamp: 00047ms SCall: 00055 DCall: 1 [66.234.228.170:4569] USERNAME: nWv96gaD75 DATE TIME : 173363009 REFRESH : 60 APPARENT ADDRES : IPV4 69.208.170.240:4569 Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK Timestamp: 00047ms SCall: 1 DCall: 00055 [66.234.228.170:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00019ms SCall: 2 DCall: 13354 [83.28.32.164:4569] AUTHMETHODS : 1 USERNAME: tester Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp
RE: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX
Try adding nat=yes to each extention in the sip.conf file. Example [3420515] username=3420515 type=friend secret=1234 qualify=no port=5060 pickupgroup= nat=yes mailbox= host=dynamic dtmfmode=rfc2833 disallow= context=from-internal canreinvite=no callgroup= callerid=TEST 3420515 allow= Thanks, Ty Carter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bartosz Wegrzyn - asterisk Sent: Tuesday, February 22, 2005 8:01 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX All clients tryingtoconnect tothe asterix says that there is a problem comunicating with the server. It looks like the clients don't see the server. But from the log it looks ok. Maybe may config is wrong. What is the simplest configuration to allow external clinets tocontect to my server. For me it was this entry in iax.conf [client1] type=peer usernamename=client1 secret=test context=sip host=dynamic allow=all Is the above ok. Maybe I will try to eliminate the router and I will try it directly. Thanks well, it seems like the 2 are communicating correctley.. just went through all the logs what is the error that you recieve? - Original Message - From: Bartosz Wegrzyn - asterisk [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Monday, February 21, 2005 12:52 PM Subject: Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX This was set on linksys wrt54. I turned on the forwarding to asterisk server on port 4569. I believe that by default all outgoing packets pass through. Bart, Hallo Did you allow udp outgoing on 4569 as well.. i found udp bit different than tcp when comming to firewalls liaan - Original Message - From: Bartosz Wegrzyn - asterisk [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Monday, February 21, 2005 12:29 PM Subject: Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX I did change the port 4569. Also my router forwards those packets. If I start tcpdump port 4569 on my server I receive: 04:25:36.061292 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:39.154871 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:39.155919 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:44.063009 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:46.063463 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:46.063952 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:49.119019 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:49.120272 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 It means that client is trying to comunicate with asterisk server. But the client says that the server could not be contacted. On asterisk console with iax2 debuging enabled I receive Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 7ms SCall: 1 DCall: 0 [66.234.228.170:4569] USERNAME: nWv96gaD75 REFRESH : 60 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00012ms SCall: 00055 DCall: 1 [66.234.228.170:4569] AUTHMETHODS : 3 CHALLENGE : 164462354 USERNAME: nWv96gaD75 Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ Timestamp: 00049ms SCall: 1 DCall: 00055 [66.234.228.170:4569] USERNAME: nWv96gaD75 REFRESH : 60 MD5 RESULT : 478939afef8fa0ec5b480cc939dedf6f Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK Timestamp: 00047ms SCall: 00055 DCall: 1 [66.234.228.170:4569] USERNAME: nWv96gaD75 DATE TIME : 173363009 REFRESH : 60 APPARENT ADDRES : IPV4 69.208.170.240:4569 Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK Timestamp: 00047ms SCall: 1 DCall: 00055 [66.234.228.170:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00019ms SCall: 2 DCall: 13354 [83.28.32.164:4569] AUTHMETHODS : 1 USERNAME
Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX
What is the simplest configuration to allow external clinets tocontect to my server. For me it was this entry in iax.conf [client1] type=peer usernamename=client1 secret=test context=sip host=dynamic allow=all Just a side note : you can't connect mutiple IAX clients simultaneously with the same registration. Else, only the first one registering will be successfull. hth ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX
I did change the port 4569. Also my router forwards those packets. If I start tcpdump port 4569 on my server I receive: 04:25:36.061292 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:39.154871 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:39.155919 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:44.063009 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:46.063463 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:46.063952 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:49.119019 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:49.120272 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 It means that client is trying to comunicate with asterisk server. But the client says that the server could not be contacted. On asterisk console with iax2 debuging enabled I receive Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 7ms SCall: 1 DCall: 0 [66.234.228.170:4569] USERNAME: nWv96gaD75 REFRESH : 60 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00012ms SCall: 00055 DCall: 1 [66.234.228.170:4569] AUTHMETHODS : 3 CHALLENGE : 164462354 USERNAME: nWv96gaD75 Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ Timestamp: 00049ms SCall: 1 DCall: 00055 [66.234.228.170:4569] USERNAME: nWv96gaD75 REFRESH : 60 MD5 RESULT : 478939afef8fa0ec5b480cc939dedf6f Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK Timestamp: 00047ms SCall: 00055 DCall: 1 [66.234.228.170:4569] USERNAME: nWv96gaD75 DATE TIME : 173363009 REFRESH : 60 APPARENT ADDRES : IPV4 69.208.170.240:4569 Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK Timestamp: 00047ms SCall: 1 DCall: 00055 [66.234.228.170:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00019ms SCall: 2 DCall: 13354 [83.28.32.164:4569] AUTHMETHODS : 1 USERNAME: tester Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00019ms SCall: 2 DCall: 13354 [83.28.32.164:4569] AUTHMETHODS : 1 USERNAME: tester Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: LAGRQ Timestamp: 10022ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Tx-Frame Retry[002] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00019ms SCall: 2 DCall: 13354 [83.28.32.164:4569] AUTHMETHODS : 1 USERNAME: tester Tx-Frame Retry[001] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: LAGRQ Timestamp: 10022ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569]
Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX
This was set on linksys wrt54. I turned on the forwarding to asterisk server on port 4569. I believe that by default all outgoing packets pass through. Bart, Hallo Did you allow udp outgoing on 4569 as well.. i found udp bit different than tcp when comming to firewalls liaan - Original Message - From: Bartosz Wegrzyn - asterisk [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Monday, February 21, 2005 12:29 PM Subject: Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX I did change the port 4569. Also my router forwards those packets. If I start tcpdump port 4569 on my server I receive: 04:25:36.061292 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:39.154871 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:39.155919 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:44.063009 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:46.063463 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:46.063952 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:49.119019 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:49.120272 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 It means that client is trying to comunicate with asterisk server. But the client says that the server could not be contacted. On asterisk console with iax2 debuging enabled I receive Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 7ms SCall: 1 DCall: 0 [66.234.228.170:4569] USERNAME: nWv96gaD75 REFRESH : 60 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00012ms SCall: 00055 DCall: 1 [66.234.228.170:4569] AUTHMETHODS : 3 CHALLENGE : 164462354 USERNAME: nWv96gaD75 Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ Timestamp: 00049ms SCall: 1 DCall: 00055 [66.234.228.170:4569] USERNAME: nWv96gaD75 REFRESH : 60 MD5 RESULT : 478939afef8fa0ec5b480cc939dedf6f Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK Timestamp: 00047ms SCall: 00055 DCall: 1 [66.234.228.170:4569] USERNAME: nWv96gaD75 DATE TIME : 173363009 REFRESH : 60 APPARENT ADDRES : IPV4 69.208.170.240:4569 Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK Timestamp: 00047ms SCall: 1 DCall: 00055 [66.234.228.170:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00019ms SCall: 2 DCall: 13354 [83.28.32.164:4569] AUTHMETHODS : 1 USERNAME: tester Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00019ms SCall: 2 DCall: 13354 [83.28.32.164:4569] AUTHMETHODS : 1 USERNAME: tester Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: LAGRQ Timestamp: 10022ms SCall: 2 DCall: 13354 [83.28.32.164:4569
Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX
well, it seems like the 2 are communicating correctley.. just went through all the logs what is the error that you recieve? - Original Message - From: Bartosz Wegrzyn - asterisk [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Monday, February 21, 2005 12:52 PM Subject: Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX This was set on linksys wrt54. I turned on the forwarding to asterisk server on port 4569. I believe that by default all outgoing packets pass through. Bart, Hallo Did you allow udp outgoing on 4569 as well.. i found udp bit different than tcp when comming to firewalls liaan - Original Message - From: Bartosz Wegrzyn - asterisk [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Monday, February 21, 2005 12:29 PM Subject: Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX I did change the port 4569. Also my router forwards those packets. If I start tcpdump port 4569 on my server I receive: 04:25:36.061292 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:39.154871 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:39.155919 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:44.063009 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:46.063463 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:46.063952 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:49.119019 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:49.120272 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 It means that client is trying to comunicate with asterisk server. But the client says that the server could not be contacted. On asterisk console with iax2 debuging enabled I receive Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 7ms SCall: 1 DCall: 0 [66.234.228.170:4569] USERNAME: nWv96gaD75 REFRESH : 60 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00012ms SCall: 00055 DCall: 1 [66.234.228.170:4569] AUTHMETHODS : 3 CHALLENGE : 164462354 USERNAME: nWv96gaD75 Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ Timestamp: 00049ms SCall: 1 DCall: 00055 [66.234.228.170:4569] USERNAME: nWv96gaD75 REFRESH : 60 MD5 RESULT : 478939afef8fa0ec5b480cc939dedf6f Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK Timestamp: 00047ms SCall: 00055 DCall: 1 [66.234.228.170:4569] USERNAME: nWv96gaD75 DATE TIME : 173363009 REFRESH : 60 APPARENT ADDRES : IPV4 69.208.170.240:4569 Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK Timestamp: 00047ms SCall: 1 DCall: 00055 [66.234.228.170:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00019ms SCall: 2 DCall: 13354 [83.28.32.164:4569] AUTHMETHODS : 1 USERNAME: tester Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00019ms SCall: 2 DCall: 13354 [83.28.32.164:4569] AUTHMETHODS : 1 USERNAME: tester Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass
Re: [Asterisk-Users] Conecting to asterisk server through NAT usingIAX
Send us your DIAX configuration. Denis. Em Seg 21 Fev 2005 07:29, Bartosz Wegrzyn - asterisk escreveu: I did change the port 4569. Also my router forwards those packets. If I start tcpdump port 4569 on my server I receive: 04:25:36.061292 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:39.154871 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:39.155919 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:44.063009 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:46.063463 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 24 04:25:46.063952 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 04:25:49.119019 IP beu164.neoplus.adsl.tpnet.pl.4569 192.168.1.251.4569: UDP, length 24 04:25:49.120272 IP 192.168.1.253.4569 beu164.neoplus.adsl.tpnet.pl.4569: UDP, length 12 It means that client is trying to comunicate with asterisk server. But the client says that the server could not be contacted. On asterisk console with iax2 debuging enabled I receive Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 7ms SCall: 1 DCall: 0 [66.234.228.170:4569] USERNAME: nWv96gaD75 REFRESH : 60 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00012ms SCall: 00055 DCall: 1 [66.234.228.170:4569] AUTHMETHODS : 3 CHALLENGE : 164462354 USERNAME: nWv96gaD75 Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ Timestamp: 00049ms SCall: 1 DCall: 00055 [66.234.228.170:4569] USERNAME: nWv96gaD75 REFRESH : 60 MD5 RESULT : 478939afef8fa0ec5b480cc939dedf6f Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK Timestamp: 00047ms SCall: 00055 DCall: 1 [66.234.228.170:4569] USERNAME: nWv96gaD75 DATE TIME : 173363009 REFRESH : 60 APPARENT ADDRES : IPV4 69.208.170.240:4569 Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK Timestamp: 00047ms SCall: 1 DCall: 00055 [66.234.228.170:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00019ms SCall: 2 DCall: 13354 [83.28.32.164:4569] AUTHMETHODS : 1 USERNAME: tester Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00019ms SCall: 2 DCall: 13354 [83.28.32.164:4569] AUTHMETHODS : 1 USERNAME: tester Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 3ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: LAGRQ Timestamp: 10022ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Tx-Frame Retry[002] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH Timestamp: 00019ms SCall: 2 DCall: 13354 [83.28.32.164:4569] AUTHMETHODS : 1 USERNAME: tester Tx-Frame Retry[001] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: LAGRQ Timestamp: 10022ms SCall: 2 DCall: 13354 [83.28.32.164:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 3ms SCall: 13354 DCall: 0 [83.28.32.164:4569] USERNAME: tester REFRESH : 300 Tx-Frame Retry[-01] --