Sanjivkumarroshan / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

Use of IPv6 failed -- should fallback to IPv4 or setup IPv6 per account #2029

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Switch on the use of IPv6
2. Configure an IPv4-only SIP account
3. Observe how it fails to register

What is the expected output? What do you see instead?
"Registered" was expected, but I got "Fail to create transport Unsupported 
address family (PJ_EAFNOTSUP) (70022)"

What version of the product are you using? On what operating system?
CSimSimple 0.04-04
Android 4.1.2
Galaxy Nexus

Please provide any additional information below.

IMHO, when Use IPv6 is switched on, it should be tried first, and then a 
fallback to IPv4 should be tried if there is no support for the address family 
as appears to be the case.

Alternatively, if IPv4 is not agreeable as a fallback for IPv6, it could be 
considered to mark individual accounts as being IPv4 or IPv6 accounts.

Without one of these, all SIP accounts must be in the same address family, 
which may not work out in all situations.

Original issue reported on code.google.com by r...@openfortress.nl on 22 Oct 2012 at 11:47

GoogleCodeExporter commented 9 years ago

Original comment by r3gis...@gmail.com on 22 Jun 2015 at 11:30