Author Topic: YATE + FreeSentral - SIP/2.0 501 Not Implemented  (Read 765 times)

janb

  • Newbie
  • *
  • Posts: 3
    • View Profile
YATE + FreeSentral - SIP/2.0 501 Not Implemented
« on: June 09, 2016, 02:47:22 AM »
I've been fiddling around and looking for decent explanation but after 2 days I'm giving up so I'm asking for some help...
Using Ubuntu 14.04 LTS with latest YATE and FreeSentral with Postgreslq.
All is up and running.
Whatever I change in regfile.conf or register.conf and ysipchan.conf I always get this:
10:34:29.939319 IP (tos 0x0, ttl 64, id 18627, offset 0, flags [none], proto UDP (17), length 394)
    192.168.0.157.sip > 192.168.0.20.sip: SIP, length: 366
   REGISTER sip:192.168.0.20 SIP/2.0
   Contact: <sip:200@192.168.0.157:5060>
   Expires: 600
   To: <sip:200@yate>
   Via: SIP/2.0/UDP 192.168.0.157:5060;rport;branch=z9hG4bK1906979152
   From: <sip:200@yate>;tag=71317137
   Call-ID: 1844171990@yate
   CSeq: 2 REGISTER
   User-Agent: YATE/5.5.0
   Max-Forwards: 70
   Allow: ACK, INVITE, BYE, CANCEL, OPTIONS, INFO
   Content-Length: 0
   
   
10:34:29.953838 IP (tos 0x0, ttl 64, id 28648, offset 0, flags [DF], proto UDP (17), length 341)
    192.168.0.20.sip > 192.168.0.157.sip: SIP, length: 313
   SIP/2.0 501 Not Implemented
   Via: SIP/2.0/UDP 192.168.0.157:5060;rport=5060;branch=z9hG4bK1906979152;received=192.168.0.157
   From: <sip:200@yate>;tag=71317137
   To: <sip:200@yate>
   Call-ID: 1844171990@yate
   CSeq: 2 REGISTER
   Server: YATE/5.0.0
   Allow: ACK, INVITE, BYE, CANCEL, OPTIONS, INFO
   Content-Length: 0

Suggestions anyone?
Tried with YATEClient as well as Linphone both from local machine as well as from another PC in the same subnet.

Monica Tepelus

  • Administrator
  • Full Member
  • *****
  • Posts: 149
    • View Profile
Re: YATE + FreeSentral - SIP/2.0 501 Not Implemented
« Reply #1 on: June 09, 2016, 05:17:53 AM »
Hi,

Freesentral doesn't use any of those files. It holds the information in a database and uses a custom php script for authentication, registration and routing. You need to use freesentral's web interface to set users.

If you want to set those files, use a clean copy of yate instead of starting from Freesentral.

janb

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: YATE + FreeSentral - SIP/2.0 501 Not Implemented
« Reply #2 on: June 09, 2016, 12:26:41 PM »
Thanks for this.
I started fiddling with these files as I simply couldn't get the system to work.
So I now have a working YATE system that doesn't use FreeSentral.
So what would you advise me to do?
If this SIP problem happens again then where in FreeSentral can I make changes as needed?
I would prefer to use FreeSentral as management tool and not YATE config files.
It's the management UI that made me decide to use FreeSentral/YATE instead of an Asterix based system.

Monica Tepelus

  • Administrator
  • Full Member
  • *****
  • Posts: 149
    • View Profile
Re: YATE + FreeSentral - SIP/2.0 501 Not Implemented
« Reply #3 on: June 10, 2016, 01:58:32 AM »
Hi,

In your freesentral instalation when you connect with telnet and type "external" or "external info" what do you see?  Did you create the client account in the interface?
Make sure you stop your clean copy of yate before starting freesentral yate.

Can you post a bigger log? The register script has various debug messages. I want to make sure it's actually running.