Jigasi Question about digest authentication invite

Hi,

We’re trying to configure Jigasi with a Twilio sip domain. However we’re getting a basic ‘SIP: Bad user credentials’ error. With a possible cause being ‘There is a Credentials List on your trunk, and your INVITE’s Authentication Digest is incorrect due to wrong username/password’.

However the user name and password match.

Therefore we believe that the issue is due to mis-configuration in our sip / digest authentication settings, or lack of.

I’m not sure what config values I should post here, but I believe we have the basic installed settings, apart from the user name and password.

One thing I did see in another thread here was ‘AUTHORIZATION_NAME’ but that might be more related to windows whereas we are using Ubuntu.

Any help appreciated, there seems to a lack of documentation as far as we can see.

Thanks,

Jules.

Can you paste your jigasi’s sip-ccommunicator.properties file?

Thanks for your reply… :slight_smile:

org.jitsi.jigasi.DEFAULT_JVB_ROOM_NAME=siptest

net.java.sip.communicator.impl.protocol.SingleCallInProgressPolicy.enabled=false

net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.COMPLEXITY=10

net.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=true

net.java.sip.communicator.impl.protocol.sip.acc1403273890647=acc1403273890647
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.ACCOUNT_UID=SIP:jigasi@ourdomain.sip.us1.twilio.com
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PASSWORD=ourpassword
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PROTOCOL_NAME=SIP
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.SERVER_ADDRESS=ourdomain.sip.us1.twilio.com
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.USER_ID=jigasi
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.KEEP_ALIVE_INTERVAL=25
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.KEEP_ALIVE_METHOD=OPTIONS
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.VOICEMAIL_ENABLED=false
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.AMR-WB/16000=750
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.G722/8000=700
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.GSM/8000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.H263-1998/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.H264/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.PCMA/8000=600
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.PCMU/8000=650
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/12000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/16000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/24000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/8000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.VP8/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.iLBC/8000=10
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.opus/48000=1000
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.red/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.speex/16000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.speex/32000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.speex/8000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.telephone-event/8000=1
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.ulpfec/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.OVERRIDE_ENCODINGS=true
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DEFAULT_ENCRYPTION=false

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DOMAIN_BASE=ourdomain.com

org.jitsi.jigasi.xmpp.acc.IS_SERVER_OVERRIDDEN=true
org.jitsi.jigasi.xmpp.acc.SERVER_ADDRESS=127.0.0.1
org.jitsi.jigasi.xmpp.acc.VIDEO_CALLING_DISABLED=true
org.jitsi.jigasi.xmpp.acc.JINGLE_NODES_ENABLED=false
org.jitsi.jigasi.xmpp.acc.IM_DISABLED=true
org.jitsi.jigasi.xmpp.acc.SERVER_STORED_INFO_DISABLED=true
org.jitsi.jigasi.xmpp.acc.IS_FILE_TRANSFER_DISABLED=true

Try to change this to ourdomain.sip.us1.twilio.com

Thanks, we’ve just changed and tried but get same error…

Also here is our config…

JIGASI_SIPUSER=jigasi@ourdomain.sip.us1.twilio.com
JIGASI_SIPPWD=sippassword
JIGASI_SECRET=#secret
JIGASI_OPTS=""
JIGASI_HOSTNAME=oursubdomain.ourdmain.com
JIGASI_HOST=localhost

JAVA_SYS_PROPS="-Djava.util.logging.config.file=/etc/jitsi/jigasi/logging.properties"

Try adding net.java.sip.communicator.impl.protocol.sip.acc1403273890647.AUTHORIZATION_NAME=jigasi, does it change anything?

Thanks damencho, no it doesn’t change anything.

Is that password base64 encoded? It needs to be.

Thanks so much that solved it, we must have missed that in the documentation :man_facepalming:

For completeness we also added the following…

org.jitsi.jigasi.xmpp.acc.ANONYMOUS_AUTH=true

net.java.sip.communicator.service.gui.ALWAYS_TRUST_MODE_ENABLED=true