02-16-2013 01:01 PM - edited 03-16-2019 03:45 PM
I started running CME 4.1, and everything is going fairly well. However, I cannot make an outbound call using SIP. When I look at the packet traces, it's quite obvious. I send the INVITE, SIP responds "need Authentication", and CME terminates the call. I've included that in the config:
sip-ua
credentials username 1xxxxxx password 1xxxxxx realm sipauth.deltathree.com
authentication username 1xxxxxx password 7 0xxxxxx realm sipauth.deltathree.com
retry invite 2
retry register 10
timers connect 100
sip-server dns:sipauth.deltathree.com
host-registrar
and I've been using that SIP config for years with Asterisk. Asterisk sees the problem, and replies with authentication. I did try:
dial-peer voice 408 voip
destination-pattern 91..........
voice-class sip outbound-proxy dns:sipproxy:sipauth.deltathree.com
session protocol sipv2
session target sip-server
no vad
then CME doesn't even try to place the call. The debug error is also simple:
cme-live#debug ccsip error
SIP Call error tracing is enabled
cme-live#
Feb 16 20:57:52.919: //107/58F46BAD8111/SIP/Error/sipSPIHandleAuthChallenge: Err
or getting credentials
Feb 16 20:57:52.919: //107/58F46BAD8111/SIP/Error/act_recdproc_new_message_respo
nse: Error handling AuthenticationChallenge
cme-live#
At this point, I'm only trying to make an outbound call. How can I force CME to send the auth?
Any help would be greatly appreciated.
02-16-2013 10:15 PM
add this to your dial-peer
dial-peer voice 408 voip
destination-pattern 91..........
voice-class sip outbound-proxy dns:sipproxy:sipauth.deltathree.com---------------------you can remove this
session protocol sipv2
session target sip-server
no vad
authentication username xxxxx password YYYYY realm sipauth.deltathree.com
add this to your sip-ua config
sip-ua
credentials username 1xxxxxx password 1xxxxxx realm sipauth.deltathree.com
registrar 1 dns:sipauth.deltathree.com expires 3600 auth-realm sipauth.deltathree.com
try and test again..
send a debug ccsip messages
Please rate all useful posts
"opportunity is a haughty goddess who waste no time with those who are unprepared"
02-17-2013 12:17 AM
Hi,
Thanks for the help. I could not add
authentication username xxxxx password YYYYY realm sipauth.deltathree.com
to my dial peer. Am guessing it's in a later version of CME.
Here is the debiug of ccsip messages:
Feb 17 08:07:22.649: //111/E30CDDE2811D/SIP/Error/sipSPIHandleAuthChallenge: Err
or getting credentials
cme-live#
Feb 17 08:07:22.649: //111/E30CDDE2811D/SIP/Error/act_recdproc_new_message_respo
nse: Error handling AuthenticationChallenge
Feb 17 08:07:22.669: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
ACK sip:914084561212@sipauth.deltathree.com:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.66:5060;branch=z9hG4bKBFB8
From: "Patrick22" <1022>;tag=26753100-20EE1022>
To: <>>914084561212@sipauth.deltathree.com>
Date: Sun, 17 Feb 2013 08:07:22 GMT
Call-ID: E450F61B-780F11E2-8122CDC7-1A94CF97@192.168.10.66
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: telephone-event
Content-Length: 0
cme-live#
I appreciate the try. Kind of banging my head on this.
02-17-2013 01:17 AM
Any plans to upgrade the CCME to ahigher Verison ? Did you add the registrar command uder sip-ua
Please rate all useful posts
"opportunity is a haughty goddess who waste no time with those who are unprepared"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide