[OpenSIPS-Users] Bare Bones
Travis Manson-Drake
travism at simplybits.com
Thu Oct 29 20:25:23 CET 2015
Hey Alexander,
new comer to Opensips here as well.
What's probably happening is its looping through your routing logic, because it doesn’t match on any of the routes in your logic.
Can you send me a copy of your opensips.cfg file?
Also the UAC you're trying to register, did you create an account for it in the DB?
As Rodrigo had mentioned to best debug this you're going to want to get a packet capture and look at the registration request coming into the proxy from your UAC. You can also do this with tcpdump on the server your running your proxy off of.
Assuming its CentOS you can get it by doing a yum install tcpdump
Then simply running a tcpdump -i yourinterface -w filename.pcap
Once the capture is running on the servers interface, have your UAC try and register with the proxy
After it fails, stop the capture with ctrl + c, retrieve the file and open it in wireshark
From there you can filter for sip and inspect each REGISTER request packet as it hits the proxy. Which may give you some idea as to why your UAC isn’t registering with the proxy.
If you're not aware of wire suggest I strong suggest you download it and play around (such an amazing tool!)
cheers!
-----Original Message-----
From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Alexander Shukaev
Sent: Thursday, October 29, 2015 11:56 AM
To: OpenSIPS users mailling list <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] Bare Bones
Hello Rodrigo,
Unfortunately, I have no idea what Wireshark is and how to use it. How to log OpenSIPS I also don't know. If you could provide any assistance with this, it would be greatly appreciated.
Regards,
Alexander
On 29.10.2015 17:32, Rodrigo Pimenta Carvalho wrote:
> Sorry.
>
> Where I wrote SIP INVITE I wanted to mean SIP REGISTER....
>
>
>
> RODRIGO PIMENTA CARVALHO
> Inatel Competence Center
> Software
> Ph: +55 35 3471 9200 RAMAL 979
>
> ________________________________________
> De: Rodrigo Pimenta Carvalho
> Enviado: quinta-feira, 29 de outubro de 2015 14:31
> Para: OpenSIPS users mailling list
> Assunto: Re: [OpenSIPS-Users] Bare Bones
>
> Hi.
>
> I´m not expert in SIP neither OpenSIPS. But I guess the message SIP
> INVITE has an attribute that shows the max allowed number of hops that
> the message will reach before being refused.
> Do you know how to use Wireshark? Try to check if the SIP INVITE is
> really traveling by too many hops before being refused or check if
> that attribute has a low value.
>
> You also can check the OpenSIPS log to see if something is wrong. I´m
> not in my linux now, so I can´t check how to run with log. But if you
> need it, tell me and I will check for you.
>
> Best regards.
>
>
> RODRIGO PIMENTA CARVALHO
> Inatel Competence Center
> Software
> Ph: +55 35 3471 9200 RAMAL 979
>
> ________________________________________
> De: users-bounces at lists.opensips.org
> <users-bounces at lists.opensips.org> em nome de Alexander Shukaev
> <opensips at Alexander.Shukaev.name>
> Enviado: quinta-feira, 29 de outubro de 2015 01:38
> Para: OpenSIPS Users
> Assunto: [OpenSIPS-Users] Bare Bones
>
> Hello,
>
> Complete VoIP, SIP, and OpenSIPS newbie here. So far, I've been able
> to build OpenSIPS, establish PostgreSQL server, run both, and add 2
> subscribers into DB. Unfortunately, testing from Ekiga, gives me the
> "Could not register (Too many hops)" error when I try to register one
> of those subscribers in it. Could anybody lend a hand here and guide
> me through this process. The goal is to at least be able to send a
> message between those 2 subscribers and at most to establish a phone
> call between them. I know that this can be a misconfiguration issue
> from my side and that the information I provide here is brief, but I
> am ready to expand any point if that's needed for progress; just let
> me know which logs, configurations, etc. I should post. Thank you in
> advance for your assistance.
>
> Kind regards,
> Alexander
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list