← Back to team overview

dhis2-users team mailing list archive

Re: SMS Not finding Users Associated with Phones

 

Hi Ocaya,

"No user associate with phone number" means the system cannot find the user
that has that phone nunber. In this case the system cannot perform any
further action.

Please check the phone number of users you have in your system.

BTW, i'm on vacation so my response can take some time.

Long

On Tue, Feb 17, 2015, 10:13 PM Ocaya Stephen <stephocay@xxxxxxxxx> wrote:

> Hello, I upgraded to 2.18 But seems the SMS functionality in this version
> (Build 18177)  does not get the users associated with the phone. See Logs
> below and Help
>
> * INFO  2015-02-17 18:04:45,962 Login success for user: 'dhis', ip:
> '127.0.0.1' (DefaultUserAuditService.java [http-bio-8080-exec-11])
> * INFO  2015-02-17 18:04:46,168 Received SMS: MCD C0 (SmsPublisher.java
> [Thread-14])
> * WARN  2015-02-17 18:04:46,179 Cannot get users with disjoint roles as
> user does not have any user roles (DefaultUserService.java [Thread-14])
> * ERROR 2015-02-17 18:04:46,187
> org.hisp.dhis.sms.parse.SMSParserException: No user associated with this
> phone number. Please contact your supervisor. (SmsPublisher.java
> [Thread-14])
> org.hisp.dhis.sms.parse.SMSParserException: No user associated with this
> phone number. Please contact your supervisor.
>         at
> org.hisp.dhis.sms.listener.DataValueSMSListener.receive(DataValueSMSListener.java:194)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>         at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
>         at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
>         at
> org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
>         at
> org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
>         at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
>         at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
>         at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
>         at com.sun.proxy.$Proxy66.receive(Unknown Source)
>         at
> org.hisp.dhis.sms.SmsPublisher$SMSConsumerThread.fetchAndParseSMS(SmsPublisher.java:119)
>         at
> org.hisp.dhis.sms.SmsPublisher$SMSConsumerThread.run(SmsPublisher.java:89)
> * INFO  2015-02-17 18:04:46,189 Sending message OutboundSMS
> [recipients=256788713957, message=DHIS: No user associated with this phone
> number. Please contact your supervi
> sor.] (DefaultOutboundSmsTransportService.java [Thread-14])
> * INFO  2015-02-17 18:04:46,189 RequestURL:
> http://cvs.rapidsms.org:9090/gw?sender=256788713957&text=DHIS%3A+No+user+associated+with+this+phone+number.+Please+contact+you
> r+supervisor.&username=dhis&password=dHiStwo mTrac
> (SimplisticHttpGetGateWay.java [Thread-14])
>
> Stephen Ocaya
> --META Project
>
> --
>
> *You can do anything, but not everything.*
>
>

Follow ups

References