I launch Peers from the source code with Eclipse, and i want to connect it to my Asterisk which is installed in VMWare but always i have always "Registration failed" and i dont know what is the problem.
The ip Adress of my virtual machine(Asterisk) is 192.168.1.124.
My peers.xml is :
<sip><profile><!-- username (corresponding to the user part of your sip uri) --><!-- Example: alice --><userpart>121</userpart><!-- domain (corresponding to the domain part of your sip uri) --><!-- Example: atlanta.com --><domain>121</domain><!-- if password is empty, no REGISTER message is sent --><!-- Example: 1234 --><password>12345</password><!-- you can specify an outbound proxy for registration and calls --><!-- Example: sip:192.168.1.20;lr --><outboundProxy>sip:192.168.1.124</outboundProxy><interfaceref="eth1"/><!-- you can specify the sip listening port you want, default value is 5060 --><!-- Example: 5060 --><port>6060</port></profile></sip>
and 121 is the extension that i had added in Asterisk.
an here the log file :
Thank u for the reply,
First there is no problem with asterisk address because i use x-Lite an it work fine.
Second, i use sip:192.168.1.124 in outboundProxy and here the transport.log:
ok, thanks. Have you ever used wireshark? Could you perform a network capture of a successful registration with x-lite and another capture for a registration failure with peers?
This would help me compare differences between a successful case and a failing one. The strange thing is that asterisk is not answering at all, as if it was not able to receive sip messages from peers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i try to use wireshark for the first time and i saved two captures; one for a successful registration with x-lite and the other for a registration failure with peers but i dont know how can i send them?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
yeah that's right, I should've talk about that. I've been looking for a way to attach files to forum posts on sourceforge, but didn't succeed. Can you send it by mail? yohann.martineau at gmail.com
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I launch Peers from the source code with Eclipse, and i want to connect it to my Asterisk which is installed in VMWare but always i have always "Registration failed" and i dont know what is the problem.
The ip Adress of my virtual machine(Asterisk) is 192.168.1.124.
My peers.xml is :
and 121 is the extension that i had added in Asterisk.
an here the log file :
whats wrong?
Thank u,
can you ping the asterisk ip address on vmware image from the host where peers is running?
for configuration, you should use sip:192.168.1.124;lr instead of sip:192.168.1.124 in outboundProxy.
can you send transport.log from logs/ directory?
Thank you
Thank u for the reply,
First there is no problem with asterisk address because i use x-Lite an it work fine.
Second, i use sip:192.168.1.124 in outboundProxy and here the transport.log:
Sorry, i tested sip:192.168.1.124;lr instead of sip:192.168.1.124 in outboundProxy but the registration is failed also.
ok, thanks. Have you ever used wireshark? Could you perform a network capture of a successful registration with x-lite and another capture for a registration failure with peers?
This would help me compare differences between a successful case and a failing one. The strange thing is that asterisk is not answering at all, as if it was not able to receive sip messages from peers.
Hi,
i try to use wireshark for the first time and i saved two captures; one for a successful registration with x-lite and the other for a registration failure with peers but i dont know how can i send them?
yeah that's right, I should've talk about that. I've been looking for a way to attach files to forum posts on sourceforge, but didn't succeed. Can you send it by mail? yohann.martineau at gmail.com
Hello everyone, I have the same error, could you tell me how they solved it?