Author
Topic: Softphone won't register (Read 2006 times)

I'm trying to get 'any' softphone to register with LMCE and am not having much luck. For context, my LMCE install is a 1004 script based install.

I started off by following the 'Ekiga' wiki page instructions, but with changes to reflect new the newer version. So the first thing I did was to create a new 'Generic SIP softphone' device from the admin web interface, gave it 201 as the phone number, set a password and set the floor object type to 'Non-linuxmce phone'. I then installed the Ekiga client on my Windows 7 box, added a new account and filled in the relevant bits. Oh, following installation the wizard didn't ask about STUN (as per screenshots), but I did tick the 'Disable network detection' from the preferences. This failed to connect. A little Wiresharking later and I realised that Ekiga didn't even appear to be sending any SIP REGISTER messages to the core.

So then I downloaded and installed Jitsi and with this client (against the same 201 line), I see the REGISTER message in Wireshark. However, the core responds with a 401 (Unauthorized). From the core, I opened a terminal and started sniffing around in the /etc/asterisk folder. Upon grep'ing the entire directory for '201' I had only one hit in hints.conf. I don't know much about asterisk, but from some of the googling I've done, this doesn't look right. I also tried opening the asterisk console and issue the 'sip show peers' and it reports only the MD's default client (i.e. ext. 200).

In short, it looks like the device creation hasn't sinked up from the LMCE DB to the asterisk config. Any suggestions as to where to go from here?

from what I read in your post, it seems like you did a lot of manual work for creating your softphone...which is odd.you actually don't need to do most of what you seem to have done. Actually you only need to create the device in the webadmin via template....you don't ever assign phonenumbers or passwords. All of that is done by Linuxmce..automagically, as they say around here. So perhaps the reason why its not working is, because the system wants to do it and you just created an unwanted intereference.My advice: delete this handmade device, reload you router, create a new sip-softphone with the proper template...and don't change anything in that device, just copy the phonenumber and password to your sip-client...and that should do it.

Thanks for the reply, but I've tried it your way and didn't get any further. As I'm still in experimentation mode, I decided to download the 10.04 Beta1 ISO which I burned to a USB stick. The installation went well enough the second time around. Once it was up, I created a new 'Generic SIP softphone' device from the admin console and this time copied the number and password from the web admin page for the device into the Jitsi client. LMCE is still reporting '401 Unauthorized'.

I'm eager to understand how the asterisk interface (... is that the right terminology?) is meant to 'automagically' provision asterisk as you say. Is there any documentation on that? Maybe I can start debugging things a bit. I'd also appreciate hearing from anyone that has a softphone up and running.

Here are some images of the Jitsi configuration pages. As you can see, the password is from a later attempt when I'd changed it on the admin page to '201'. It failed identically whether I used the generated default and copied that into the phone or tried a simplified '201' password on both the server and the client. I've also attached the popup once the client has retried about 5 or 6 times and then given up.

okay...so lets seeI had x-lite running for a while, until they put out this awful update, which made it totally unusable. Right now I have Phonerlite running here, but the setup is always the same:your username is only 201, leave the @ and everything that followsin your second screenshot there is a registration name, yours is blank...I think you should put 201 there again.Try this out and let me know, if it works