Originally created by: markus.d... (code.google.com)@gmail.com
Registering at a fritz!box sip-account yields the following result:
- first try to register: "bad request"
- second try immediately after first one: everything works well, incoming and outgoing calls work
- after some time (some minutes) the account changes back to "bad request" and stays like this
When manually deactivating the account in this case and reactivating, it sometimes works and turns green on the first reconnect, but sometimes it needs two reconnects (at most).
so this looks like the first connect is going wrong, "bad request", but reconnecting immediately after this works. until maybe some kind of "re-registering"(?) is happening, and the first try fails (like it looks it always does for my fritz!box) and csipsimple does not try immediately again, but waits for some (for the fritzb!box too long) time to reconnect --> again "bad request".
maybe this is some kind of oddity with fritz!box voip (or it uses some extension csipsimple cannot deal with?), but it would be nice to have my android-phone register as a sip-client at my fritz!box. a dirty workaround would be to try to register the account twice in a short time span, but a better solution would be to get the cause of the first "bad request" and trace this.
other non-android voip-clients work.
using csipsimple-dev 15-18, fritz!box 7270v1 with firmware .86, samsung galaxy s on froyo 2.2
regards,
markus
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: markus.d... (code.google.com)@gmail.com
drop the thing with the "bad request" after it successfully connected for some minutes: it was due to a sloppy wlan here (so wlan changed and csipsimple obviously re-registered all accounts, and the fritz!box-one failed).
so the symptoms are the same for registering but when the connection is successful after the second try, it stays connected.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: bokhorstm
Registering to a Fritz!box account works without problems (tested with a 7270 model).
If you change the setting 'reg_from_outside' in the file 'voip.cfg' to 'yes', you can even register from the internet!
For details (in German): http://www.ip-phone-forum.de/showthread.php?t=202102
Maybe this issue should be closed.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: markus.d... (code.google.com)@gmail.com
is it a 7270v1 like mine? what firmware do you use? i've enabled the "reg_from_outside", too, so this cannot be the problem.
i still have the problem on first registering, though. any way to debug the "bad request"?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis... (code.google.com)@gmail.com
@markus, maybe you could try to activate STUN.
On ekiga it's required else your IP on the first register is a private IP and some server doesn't allow that. So worth to try.
If it doesn't work, maybe sending me logs (see HowToCollectLogs) may help me to have more infos about the "bad request"
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: markus.d... (code.google.com)@gmail.com
looks like i got it fixed: i have to enter my external dns hostname (pointing to my public ip) as "proxy ip". before i had the internal ip of my router in there. didn't think of that being the solution. (btw: stun did not make a change)
so this can be closed!
regards,
markus
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis... (code.google.com)@gmail.com
Ok thanks for keeping me in touch :)
Ok it make sense.
Most of the time it's the same than registrar or just blank if you want to send your SIP requests directly. (By default in basic wizard proxy is set with the same value than registrar).
Status: Fixed
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: bokhorstm
Unfortunately I have seen this issue too now. I have sent a log file with first registration failing and second succeeding.
@markus: international 7270v2 with German 54.04.88, including Freetz.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: markus.d... (code.google.com)@gmail.com
@bokhorstm
i've got a 7270v1 with .86 firmware, no problems yet. (btw: i had problems with calls, too, but this was due to having ICE enabled).
So here's my account-config, maybe it helps you:
_ID: <sip:620@fritz.box>_
_Registrar: sip:fritz.box_
Realm: *
Username: 620
Data: PASSWORD
Data Type and Scheme the first ones (german translation totally borked, i'll open a new ticket)
Protokoll: Auto
Publish enabled: yes
The rest default values
Allow contact rewrite: yes
Contact rewrite method: normal
_Proxy URL: my dyndns hostname_
srtp-modus: none/deactivated
And at network-options i have to DISABLE ICS (or else outgoing calls might not work) and ENABLE STUN (server: stun.ekiga.net).
Yet no error.
Hope that helps.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: gabrielc... (code.google.com)@gmail.com
I'm trying to connect to a fritzbox 7270v2 too...
With the same settings as in #8, it just doesn't work (timeout or nothing...); I tried with/without stun.
The account is open for extern, and is working just fine with other software (I use phonerlite).
Galaxy S / 2.2.1
Something else: I wanted to try the latest build ([r436]); it enters into an endless loop "download" -> "next" -> download... It works now with 433, but no connection improvement.
Otherwise it's the best client I found.
Regards,
Gabriel
Related
Commit: [r436]
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: bokhorstm
With the settings of #8 it is works fine for me (both LAN and WAN), although I didn't check 'Publish enabled' (what's that for anyway?).
@Gabriel: what version firmware do you use? Older firmware versions don't support WAN connections, even not with 'reg_from_outside' set to 'yes'. See also comment #2.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: gabrielc... (code.google.com)@gmail.com
I'm using 54.04.88freetz-devel-6278, quite up to date...
As I wrote, it works with other clients...
I tried both mobile data (it works for other providers like betamax) and wlan (from work, not at home).
I don't know what can be wrong, it should be quite simple: just changed the proxy to my dyn dns addr...
Gabriel
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: gabrielc... (code.google.com)@gmail.com
Opps! It worked.
I just removed "*" from the account ID; by default it was "*<sip:620@fritz.box>" and I didn't see it...
Thanks,
Gabriel
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: artuspo... (code.google.com)@gmail.com
I had also a problem with logging to Fritz 7270 with a SIP client. I don't use internal DSL modem - router is connected to an existing network. The problem was solved when I changed DNS information in Fritz. I set ones from the Internet Provider instead of a network gateway. I also used a STUN server. Of course SIP server must be an IP address of Fritz not "fritz.box".
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: johnbee4...@googlemail.com
I also have this "Bad Request" problem:
Sometimes I get registered and everyting seems to work great, but I loose registration after some time with "Bad Request" error. Sometimes I get the "Bad Request" immediately when trying to register.
The problem is the same if I connect via local WLAN or from outside via 3G.
My phone is a Huawei Ideos with Froyo.
This are my settings:
Kontoname Fritz
Konto ID <sip:621@fritz.box>
Registrar URL sip:myaccount.dyndns-ip.com
Realm *
Username 621
Data (password) mypassword
Protokoll UDP
Publish enabled ja
Proxy URL sip:myaccount.dyndns-ip.com
Netzwerkeinstellungen:
Aktiviert STUN ja
STUN Server stun.1und1.de
reg_from_outside is set to yes in the FritzBox ofcourse.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis... (code.google.com)@gmail.com
@john : could you try this instructions :
https://code.google.com/p/csipsimple/wiki/FAQ#I_receive_calls_twice_/_Registration_is_done_on_the_sip_server_t
Section : "I receive calls twice / Registration is done on the sip server twice"
And let me know how it goes. It should help.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: Xnaten...@googlemail.com
Hello,
I've also got this issue. In the past I have been using SIPdroid but I had a audio problem there.
csipsimple looks very good and works perfect in wlan but I cant get it to run on mobile data
Can someone send me all the Settings I need.
I have the German GUI and cant see where I san switch it..sould be cool if you can send me the follpwing settings
Eigene Nummer senden:
Sip Server: (I put my dyndns in it)
Benutzername: (SIP user --> 620)
Passwort: ;)
Verwende TCP?
Proxy: (I remember in sipdroid I had to put in fritz.box)
Thanks guyes =)
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: johnbee4...@googlemail.com
@ r3gis.3R
Thanks for your help. I never had a "Bad Request" with the legacy setting again.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: Mixich.A... (code.google.com)@gmail.com
I do have the same problem, however, according to the logs I get a 401 AUTHENTICATION FAILED. The wizard entry for Fritzbox does not work (did not check log on this) as well as one setup with expert settings manually. I do not try to connect from outside, all I want is the Fritz to have both my public service number and VoIP number to ring on my DECT and Android devices ring on incoming calls.
I have used the fritz.box and 192.168.178.1 IP, both without success.
P.S. the issue attachment storage quota for this issue exceeded
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: hb9... (code.google.com)@gmail.com
old thread but still existing problem
but to tell the truth its not csipsimple, with any devices if you register, deregister and register again in a short time the fritzbox answers with that error, only a reboot of the fritzbox help's
tested on 7170 7270 7390 .. all the same behaviour
Execept with there anyoning fritz android client it doesnt happen.