Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


ojwb

3 posts

Wannabe Geek
+1 received by user: 1


#191232 28-Jan-2016 17:20
Send private message

I'm trying to get CSipSimple configured for VFX.

 

Here's how I attempted to set it up:

 

There's an "XNet" setup wizard built into CSipSimple, which asks for:

 

- "Phone number" - set to "UserID" from the sign up email (which is my phone number)

 

- "User name" - set to "AuthUser" from the sign up email

 

- "Password" - set to "AuthPassword" from the sign up email

 

Which seems very helpful, but after this CSipSimple fails to register with "Not found".

 

Then I did a long press on the XNet account entry in the list, and "Choose wizard", then selected the "Advanced" wizard (under generic wizards).

 

Tap on the XNet account entry, tap on "Proxy", and delete the currently set value of pan.wxnz.net, "OK" and "Save" - I did this based on reading a few posts here which suggested that you didn't want an outgoing proxy set. I'll file a bug to try to get the XNet wizard corrected, once I'm more confident that it's actually wrong.

 

Now CSipSimple registers OK and:

 

- Incoming calls work.

 

- Outgoing calls fail across the ADSL (which has a router doing NAT) with "408 / Request Timeout" (tested mostly with 0800 123456, the wxc number).

 

- Outgoing calls seem to work using mobile data (though the quality seems a bit patchy, perhaps due to the mobile reception here).

 

Given outgoing calls work using mobile data, it seems this is due to the NAT.  I've attempted to port forward the relevant ports to the phone, but that doesn't seem to help (possibly I'm not forwarding the correct ports though).

 

Interestingly, while trying a linux soft-phone I had ports forwarded to my PC, and managed to successfully make an outgoing call from the phone.  Frustratingly I've not managed to reproduce this at all since.

 

Any hints as to what I need to do to get this working?

 

 


Create new topic

This is a filtered page: currently showing replies marked as answers. Click here to see full discussion.

ojwb

3 posts

Wannabe Geek
+1 received by user: 1


  #1481081 29-Jan-2016 10:11
Send private message

Yeah, the port forwarding was really just an attempt to work out what the problem was.

 

SIP ALG indeed turns out to be the issue here - I had previously combed the config menus on the router looking for anything related to SIP or the SIP ports and found nothing.  But thanks to your comment I tried searching for the model number along with SIP ALG, and it seems that some dlink routers have SIP ALG you apparently can't turn off.

 

However, it seems (at least in my case) you just can't turn it off via the web UI - I saved the router config to local disk, opened that in a text editor and found the line which mentioned "sip" and "alg" and deleted it.  Then reloaded the modified config and rebooted the router, and outgoing calls now work too.  If you try this at home, beware that the config file as saved has no newline after the final END, and if your editor adds one the router refuses to load the file with a generic error message giving no clue to the issue.  I suspect it's probably fussy about the type of line endings too.

 

I hadn't tried the Android SIP stack as I'd read comments in this forum saying it didn't support AuthID, but actually it now does and that works too.

 

I'm already using (and happy with) CSipSimple for other SIP calling, and I had seen it had an XNet wizard, so that's why I picked that for this job.  And philosophically I prefer a FOSS solution, but bria appears to be proprietary.

 

Anyway, many thanks for the reply, especially the pointer to SIP ALG - I'd read about it in older forum posts, but falsely ruled it out as not a factor here.


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.