Sanjivkumarroshan / csipsimple

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

"Error while registering -Forbidden" when logging in to Sipgate Team #1702

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I create a new VOIP phone on Sipgate Team (or find the details for an 
existing phone)
2.Enter the SIP-ID: and SIP-PASSWORD: 
3.Try and login, I get the error

What version of the product are you using? On what operating system?
I'm using v.0.03-01 on Android 4.0.3

Please provide any additional information below.
Phone is HTC Sensation XE, have successfully logged in on Sipgate official app 
but is nowhere near as good as yours so would like to make this work. 

Original issue reported on code.google.com by luke.hod...@thepetspyjamas.com on 24 Apr 2012 at 4:31

GoogleCodeExporter commented 9 years ago
Mmmmmh,
Can you try to collect logs. See HowToCollectLogs wiki page. Maybe the sipgate 
server gives more precise infos.

Also maybe sipgate team is different from regular sipgate server. I know that 
they have a lot of sip servers. What is the server given in domain row of the 
sipgate user interface?

Original comment by r3gis...@gmail.com on 24 Apr 2012 at 5:07

GoogleCodeExporter commented 9 years ago
log sent with issue no. in the subject.

the server is sipgate.co.uk , i think.. have you any more information on where 
i could find this info?

Original comment by luke.hod...@thepetspyjamas.com on 24 Apr 2012 at 5:16

GoogleCodeExporter commented 9 years ago
Hi, I just changed from Samsung Galaxy S2 where CSipSimple worked like a charm 
to a new Galaxy S3 just to find that it fails registering, specifically i 
receive the following message: "Error while registering -Forbidden" I did 
notice other users having the same issue with Sipgate but this is happening 
with Callcentric. BTW Callcentric native android app works fine but CSipSimple 
is much better so I really would like to make it work. You will find below the 
only generated logs.

Based on the GPL CSipSimple version : 0.03-01 r1108
Here are important informations about Device : 
android.os.Build.BOARD : smdk4x12
android.os.Build.BRAND : samsung
android.os.Build.DEVICE : m0
android.os.Build.ID : IMM76D
android.os.Build.MODEL : GT-I9300
android.os.Build.PRODUCT : m0xx
android.os.Build.TAGS : release-keys
android.os.Build.VERSION.INCREMENTAL : I9300XXBLFB
android.os.Build.VERSION.RELEASE : 4.0.4
android.os.Build.VERSION.SDK : 15

Original comment by pablona...@gmail.com on 18 Jul 2012 at 2:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Unfortunatelly I have the same issue with various divices. My SIP server is an 
AVAYA. The first device is a Samsung Galaxy TAB2 the other is an HTC Legend and 
the thirth is a HTC Desire X . 
The softphone from my PC connects with success (Zoiper for windows)but the 
android devices do not. 

Any help ? 

601 bytes Request msg REGISTER/cseq=4541 (tdta0x5e4d5720) to UDP 62.1.5.36:5060:
D/libpjsip( 1930): REGISTER sip:sip.xxxxxxxxxx.gr SIP/2.0
D/libpjsip( 1930): Via: SIP/2.0/UDP 
94.65.190.163:15620;rport;branch=z9hG4bKPjh93APnG7g6WB8JRTsb.4bcO-9YfvyLEH
D/libpjsip( 1930): Route: <sip:sip.xxxxxxxxxx.gr:5060;transport=udp;lr>
D/libpjsip( 1930): Max-Forwards: 70
D/libpjsip( 1930): From: 
<sip:4111@sip.xxxxxxxxxx.gr>;tag=JYQAkmsl6eZm8NJPfMW5HskF5dNw4B7o
D/libpjsip( 1930): To: <sip:4111@sip.xxxxxxxxxx.gr>
D/libpjsip( 1930): Call-ID: 2C-0hBfjPaXkC9oXFsIocmzRlBgPra.y
D/libpjsip( 1930): CSeq: 4541 REGISTER
D/libpjsip( 1930): User-Agent: CSipSimple_espresso10rf-16/r2272
D/libpjsip( 1930): Contact: <sip:4111@94.65.190.163:15620;ob>
D/libpjsip( 1930): Expires: 1800
D/libpjsip( 1930): Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, 
SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
D/libpjsip( 1930): Content-Length:  0
D/libpjsip( 1930): 
D/libpjsip( 1930): --end msg--
W/AlarmManager(  356): FACTORY_ON= 0
D/        ( 2847): Accounts status.onChange( false)
D/dalvikvm( 1930): GC_CONCURRENT freed 357K, 13% free 7891K/9031K, paused 
13ms+6ms, total 52ms
D/libpjsip( 1930): 02:38:45.724   pjsua_core.c  .RX 561 bytes Response msg 
401/REGISTER/cseq=4541 (rdata0x5e3bc354) from UDP 62.1.5.36:5060:
D/libpjsip( 1930): SIP/2.0 401 Unauthorized
D/libpjsip( 1930): Via: SIP/2.0/UDP 
192.168.101.2:55994;rport;branch=z9hG4bKPjh93APnG7g6WB8JRTsb.4bcO-9YfvyLEH
D/libpjsip( 1930): From: 
<sip:4111@sip.xxxxxxxxxx.gr>;tag=JYQAkmsl6eZm8NJPfMW5HskF5dNw4B7o
D/libpjsip( 1930): To: <sip:4111@sip.xxxxxxxxxx.gr>;tag=9332b2a484a672cb
D/libpjsip( 1930): Call-ID: 2C-0hBfjPaXkC9oXFsIocmzRlBgPra.y
D/libpjsip( 1930): CSeq: 4541 REGISTER
D/libpjsip( 1930): User-Agent: IP Office 6.1 (22)
D/libpjsip( 1930): Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, 
INFO, SUBSCRIBE, REGISTER, PUBLISH
D/libpjsip( 1930): WWW-Authenticate: Digest 
nonce="261bb0c649f8de054a8b",realm="ipoffice",algorithm=MD5
D/libpjsip( 1930): Supported: timer
D/libpjsip( 1930): Content-Length: 0
D/libpjsip( 1930): 
D/libpjsip( 1930): --end msg--
D/libpjsip( 1930): 02:38:45.724 mobile_reg_han  .mod_reg_tracker_on_rx_response
D/libpjsip( 1930): 02:38:45.724 mobile_reg_han  .mod_reg_tracker_on_rx_response 
done
D/PjService( 1930): Found pjsua 1 searching 1
D/libpjsip( 1930): 02:38:45.737   pjsua_core.c  ....TX 777 bytes Request msg 
REGISTER/cseq=4542 (tdta0x5e4d5720) to UDP 62.1.5.36:5060:
D/libpjsip( 1930): REGISTER sip:sip.xxxxxxxxxx.gr SIP/2.0
D/libpjsip( 1930): Via: SIP/2.0/UDP 
94.65.190.163:15620;rport;branch=z9hG4bKPj2J4FynhP0Bz2mqUlj.asHOKI6mnlqxLC
D/libpjsip( 1930): Route: <sip:sip.xxxxxxxxxx.gr:5060;transport=udp;lr>
D/libpjsip( 1930): Max-Forwards: 70
D/libpjsip( 1930): From: 
<sip:4111@sip.xxxxxxxxxx.gr>;tag=JYQAkmsl6eZm8NJPfMW5HskF5dNw4B7o
D/libpjsip( 1930): To: <sip:4111@sip.xxxxxxxxxx.gr>
D/libpjsip( 1930): Call-ID: 2C-0hBfjPaXkC9oXFsIocmzRlBgPra.y
D/libpjsip( 1930): CSeq: 4542 REGISTER
D/libpjsip( 1930): User-Agent: CSipSimple_espresso10rf-16/r2272
D/libpjsip( 1930): Contact: <sip:4111@94.65.190.163:15620;ob>
D/libpjsip( 1930): Expires: 1800
D/libpjsip( 1930): Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, 
SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
D/libpjsip( 1930): Authorization: Digest username="4111", realm="ipoffice", 
nonce="261bb0c649f8de054a8b", uri="sip:sip.xxxxxxxxxx.gr", 
response="579dd2200f666b87cf2937ee7ad0a68e", algorithm=MD5
D/libpjsip( 1930): Content-Length:  0
D/libpjsip( 1930): 
D/libpjsip( 1930): --end msg--
W/AlarmManager(  356): FACTORY_ON= 0
W/AlarmManager(  356): FACTORY_ON= 0
W/AlarmManager(  356): FACTORY_ON= 0
D/libpjsip( 1930): 02:38:45.810   pjsua_core.c  .RX 472 bytes Response msg 
403/REGISTER/cseq=4542 (rdata0x5e3bc354) from UDP 62.1.5.36:5060:
D/libpjsip( 1930): SIP/2.0 403 Forbidden
D/libpjsip( 1930): Via: SIP/2.0/UDP 
192.168.101.2:55994;rport;branch=z9hG4bKPj2J4FynhP0Bz2mqUlj.asHOKI6mnlqxLC
D/libpjsip( 1930): From: 
<sip:4111@sip.xxxxxxxxxx.gr>;tag=JYQAkmsl6eZm8NJPfMW5HskF5dNw4B7o
D/libpjsip( 1930): To: <sip:4111@sip.xxxxxxxxxx.gr>;tag=81761b93530cb088
D/libpjsip( 1930): Call-ID: 2C-0hBfjPaXkC9oXFsIocmzRlBgPra.y
D/libpjsip( 1930): CSeq: 4542 REGISTER
D/libpjsip( 1930): User-Agent: IP Office 6.1 (22)
D/libpjsip( 1930): Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, 
INFO, SUBSCRIBE, REGISTER, PUBLISH
D/libpjsip( 1930): Supported: timer
D/libpjsip( 1930): Content-Length: 0
D/libpjsip( 1930): 
D/libpjsip( 1930): --end msg--
D/libpjsip( 1930): 02:38:45.811 mobile_reg_han  .mod_reg_tracker_on_rx_response
D/libpjsip( 1930): 02:38:45.811 mobile_reg_han  

Original comment by telemati...@gmail.com on 26 Jul 2013 at 11:18