kader990 / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 0 forks source link

Problem in TermsRequest #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

When I receive an EndUserConfirmationRequest I accept it and I obtain "Accept 
terms has failed, retry later" because in "private OnClickListener 
acceptBtnListener = new OnClickListener() {...}" in TermsRequest.java, the line 
"termsApi.acceptTerms(id, pin)" is false.

What is the expected output? What do you see instead?

I obtain this exception:

[RCS][SipMessageFactory](584): Can't create SIP message
System.err(584): java.text.ParseException:  getNextChar: End of buffer
System.err(584):    at 
gov2.nist.javax2.sip.address.AddressFactoryImpl.createURI(AddressFactoryImpl.jav
a:224)
System.err(584):    at 
com.orangelabs.rcs.core.ims.network.sip.SipMessageFactory.createMessage(SipMessa
geFactory.java:244)
System.err(584):    at 
com.orangelabs.rcs.core.ims.service.terms.TermsConditionsService.sendSipMessage(
TermsConditionsService.java:234)
System.err(584):    at 
com.orangelabs.rcs.core.ims.service.terms.TermsConditionsService.rejectTerms(Ter
msConditionsService.java:188)
System.err(584):    at 
com.orangelabs.rcs.service.api.server.terms.TermsApiService.rejectTerms(TermsApi
Service.java:105)
System.err(584):    at 
com.orangelabs.rcs.service.api.client.terms.ITermsApi$Stub.onTransact(ITermsApi.
java:67)
System.err(584):    at android.os.Binder.execTransact(Binder.java:320)
System.err(584):    at dalvik.system.NativeStart.run(Native Method)
[RCS][TermsConditionsService](584): Delivery report has failed
System.err(584): com.orangelabs.rcs.core.ims.protocol.sip.SipException: Can't 
create SIP MESSAGE message
System.err(584):    at 
com.orangelabs.rcs.core.ims.network.sip.SipMessageFactory.createMessage(SipMessa
geFactory.java:309)
System.err(584):    at 
com.orangelabs.rcs.core.ims.service.terms.TermsConditionsService.sendSipMessage(
TermsConditionsService.java:234)
System.err(584):    at 
com.orangelabs.rcs.core.ims.service.terms.TermsConditionsService.rejectTerms(Ter
msConditionsService.java:188)
System.err(584):    at 
com.orangelabs.rcs.service.api.server.terms.TermsApiService.rejectTerms(TermsApi
Service.java:105)
System.err(584):    at 
com.orangelabs.rcs.service.api.client.terms.ITermsApi$Stub.onTransact(ITermsApi.
java:67)
System.err(584):    at android.os.Binder.execTransact(Binder.java:320)
System.err(584):    at dalvik.system.NativeStart.run(Native Method)

What version of the product are you using? On what operating system?

I'm using 2.4.2 version in android.

Original issue reported on code.google.com by natalia....@gmail.com on 18 Apr 2012 at 8:34

GoogleCodeExporter commented 9 years ago
I think it's because the terms&conditions URI is not configured in your device. 
Please check the item "End user confirmation URI" in the provisioning 
application (folder Profile).

Original comment by jmauffret@gmail.com on 18 Apr 2012 at 9:20

GoogleCodeExporter commented 9 years ago
It's true. I forgot to check this item. Thank you very much.

Original comment by natalia....@gmail.com on 18 Apr 2012 at 10:42

GoogleCodeExporter commented 9 years ago

Original comment by jmauffret@gmail.com on 18 Apr 2012 at 11:49