This forum doesn’t work that way. If you provide us with the debugging information and the configuration you tried, people may tell you what you did wrong, or what extra information you need to supply.
*******My remote asterisk has a real ip which I did not provide, but my house asterisk has dynamic ip as I use wireless connextion for internet service there.
The registration status shows the remote asterisk as unregistered and in my house asterisk as requist sent/time out/rejected.
I am really helpless here. All the systems shown via searching seems to similar to me for the asterisk registration via iax. If you are able to help me, please do so.
You need to turn up logging until you see the registration request and its rejection. If you don’t see the request, you need to look at the other end to see if it is being sent to the correct address. If the address is correct, you have a network problem.
You should certainly be able to get something on the side that is sending the register. If the network is deleting it, you may never get anything on the receiving side.
You should certainly be able to get something on the side that is sending the register. If the network is deleting it, you may never get anything on the receiving side.[/quote]
what experiment may I get from iax set debug …
tried everything you asked but still rejected in my home asterisk and unregistered in remote asterisk.
What type of network problem may occur ? how can I solve it? Please tell me …
It will tell you if you are sending the register, to where, whether it has arrived, why it was rejected, to where was the rejection sent, and if it arrived.
If nobody is helping it’s because every time you are asked to provide basic information, you fail to do so. If you have iax loaded (check by typing “module show like iax” at the console) then you can turn on debugging. You can increase verbosity by " core set verbose 6" etc. If you can’t manage that, it’s unlikely we can help you.
[Aug 26 06:53:22] ERROR[1251]: netsock2.c:269 ast_sockaddr_resolve: getaddrinfo("pia", "(null)", ...): Name or service not known
[Aug 26 06:53:22] WARNING[1251]: acl.c:833 resolve_first: Unable to lookup 'pia'
Next, I think you have the users on the wrong register lines.
Also, I suspect there may be a bug with the handling of non-standard port numbers in the register processing - I doubt many people try to do that. The other possibility is that you are using so old a version that it doesn’t support port number overrides.
However, as you know both static addresses, there is really no point in using register.
The address in square brackets looks very odd, as though you had given the same IP address to both machines, although it might be a result of failing to resolve pia - the system is some how falling back to its own address. It should use the port number you supplied, which is why I think there may be a bug.
You haven’t said which version of Asterisk so I don’t know if it worth pursuing the failure to recognize the port number.
I would suggest getting it working with standard port numbers and with static addresses.
[Aug 26 06:53:22] ERROR[1251]: netsock2.c:269 ast_sockaddr_resolve: getaddrinfo("pia", "(null)", ...): Name or service not known
[Aug 26 06:53:22] WARNING[1251]: acl.c:833 resolve_first: Unable to lookup 'pia'
Next, I think you have the users on the wrong register lines.
Also, I suspect there may be a bug with the handling of non-standard port numbers in the register processing - I doubt many people try to do that. The other possibility is that you are using so old a version that it doesn’t support port number overrides.
However, as you know both static addresses, there is really no point in using register.
The address in square brackets looks very odd, as though you had given the same IP address to both machines, although it might be a result of failing to resolve pia - the system is some how falling back to its own address. It should use the port number you supplied, which is why I think there may be a bug.
You haven’t said which version of Asterisk so I don’t know if it worth pursuing the failure to recognize the port number.
I would suggest getting it working with standard port numbers and with static addresses.[/quote]
Sorry for not mentioning the asterisk version, asterisk-11.
and I can not use static address at both end. as my remote asterisk has a static ip but my home asterisk resides within a wireless provider and it provides different ip each time. their may be some more information that would be helpful. the system in my home, has a static local ip like 192.168.1.111 from my router but the wireless modem get different ip each time.
I do not get what you are saying by users on the wrong register lines. and which port number can be use for this system. Can you explain in details, Please.