• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

SIP trunk CISCO 2851 to 3CX

Status
Not open for further replies.

marcosroma21

Joined
Sep 17, 2014
Messages
2
Reaction score
0
Hello, I've configured the server with 3CX gateway to make and receive calls with my cisco 2851 (switchboard)

To make calls from 3CX extensions from cisco I do it without problems.

The problem what I have when I try to call from one of my extensions to my cisco 3CX

Setting my cisco

voice service voip
allow-connections sip to sip
sip
registrar server expires max 1200 min 300
!
!
!
voice class codec 1
codec preference 1 g711ulaw
!

dial-peer voice 5555 voip
description 3CX
destination-pattern 5...$
voice-class codec 1
session protocol sipv2
session target ipv4:192.168.50.7
dtmf-relay rtp-nte
no vad
!
dial-peer voice 5556 pots
destination-pattern 5558
port 0/0/0:15
!
!
sip-ua
authentication username 5558 password 7 101F5B4A514244
no remote-party-id
registrar ipv4:192.168.50.7:5060 expires 360
sip-server ipv4:192.168.50.7:5060


3CX configuration time.

I think a generic type E1 gateway, my pasaralea 192.168.20.250 port 5060.
In the DID tab added * 717 as the extension with which I call is 4717 ((this does not have very clear if so))
In input parameters I add Request Line URI: User Part --- Custom Field and leave blank.

I think the extension 5558 which is what I set on the cisco.

I think the 5556 is an extension of a client 3CXPhone phone.

Now I try to make a call from 4717 (extension of my cisco) to 5556 and I get the following errors.


17-sep.-2014 12:46:21.181 [CM102001]: Authentication failed for AuthFail Recv Req INVITE from 192.168.20.250:58289 tid=5B9524B3 [email protected]:
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.20.250:5060;branch=z9hG4bK5B9524B3
Max-Forwards: 70
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]>
From: "Marcos Rodriguez"<sip:[email protected]>;tag=A57040-CB3
Call-ID: [email protected]
CSeq: 102 INVITE
Expires: 180
Min-SE: 1800
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
Content-Disposition: session;handling=required
Content-Type: application/sdp
Date: Wed, 17 Sep 2014 10:46:21 GMT
Proxy-Authorization: Digest username="5558",realm="3CXPhoneSystem",uri="sip:[email protected]:5060",response="93f9eebb09bb6975d9c0b8b7d8671831",nonce="414d535c0a29f77d33:d69c9f3a42006771400e8b8a31cfe81e",algorithm=MD5
Supported: 100rel, timer, resource-priority, replaces, sdp-anat
Timestamp: 1410950781
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow-Events: telephone-event
Content-Length: 253
Cisco-Guid: 2979855379-1032720868-2486881120-3192068450

v=0
o=CiscoSystemsSIP-GW-UserAgent 7054 1793 IN IP4 192.168.20.250
s=SIP Call
c=IN IP4 192.168.20.250
t=0 0
m=audio 19060 RTP/AVP 0 101
c=IN IP4 192.168.20.250
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
; Reason: Credentials don't match, check that authorization-ID and password match the ones in extension settings
17-sep.-2014 12:46:21.181 [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
Invite-UNK Recv Req INVITE from 192.168.20.250:58289 tid=5B9524B3 [email protected]:
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.20.250:5060;branch=z9hG4bK5B9524B3
Max-Forwards: 70
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]>
From: "Marcos Rodriguez"<sip:[email protected]>;tag=A57040-CB3
Call-ID: [email protected]
CSeq: 102 INVITE
Expires: 180
Min-SE: 1800
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
Content-Disposition: session;handling=required
Content-Type: application/sdp
Date: Wed, 17 Sep 2014 10:46:21 GMT
Proxy-Authorization: Digest username="5558",realm="3CXPhoneSystem",uri="sip:[email protected]:5060",response="93f9eebb09bb6975d9c0b8b7d8671831",nonce="414d535c0a29f77d33:d69c9f3a42006771400e8b8a31cfe81e",algorithm=MD5
Supported: 100rel, timer, resource-priority, replaces, sdp-anat
Timestamp: 1410950781
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow-Events: telephone-event
Content-Length: 253
Cisco-Guid: 2979855379-1032720868-2486881120-3192068450

v=0
o=CiscoSystemsSIP-GW-UserAgent 7054 1793 IN IP4 192.168.20.250
s=SIP Call
c=IN IP4 192.168.20.250
t=0 0
m=audio 19060 RTP/AVP 0 101
c=IN IP4 192.168.20.250
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
17-sep.-2014 12:46:21.181 [CM302002]: Authentication failed due to unidentified source of: SipReq: INVITE [email protected]:5060 tid=5B9524B3 cseq=INVITE [email protected]:5060 / 102 from(wire)


I am using the test version.

A greeting and thanks

Sorry for the English
 
One of the problems may be that you are not on the same subnet.

17-sep.-2014 12:46:21.181 [CM302002]: Authentication failed due to unidentified source of: SipReq: INVITE [email protected].50.7:5060 tid=5B9524B3 cseq=INVITE [email protected].20.250:5060 / 102 from(wire)
 
Hello,
I Have same problem. Marcosroma21 did you solve this?
[CM102001]: Authentication failed for AuthFail Recv Req INVITE from 10.21.3.151:57756 tid=4D40 [email protected]:
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.21.3.151:5060;branch=z9hG4bK4D40
Max-Forwards: 69
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=46AF6C-0
Call-ID: [email protected]
CSeq: 102 INVITE
Expires: 180
Session-Expires: 1800
Min-SE: 1800
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
Content-Disposition: session;handling=required
Content-Type: application/sdp
Date: Sat, 01 Nov 2014 07:32:13 GMT
Proxy-Authorization: Digest username="10028",realm="3CXPhoneSystem",uri="sip:[email protected]:5060",response="1059355c273f3b99ea1ac7c0da198c1a",nonce="414d535c0a651ab217:129ee0fec45f6e04f21b9c18d56ac942",algorithm=MD5
Supported: 100rel, timer, resource-priority, replaces, sdp-anat
Timestamp: 1414827133
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow-Events: telephone-event
Content-Length: 244
Cisco-Guid: 0132414654-1624248804-2157871204-2542576797

v=0
o=CiscoSystemsSIP-GW-UserAgent 4029 6187 IN IP4 10.21.3.151
s=SIP Call
c=IN IP4 10.21.3.151
t=0 0
m=audio 16690 RTP/AVP 0 101
c=IN IP4 10.21.3.151
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
; Reason: Credentials don't match, check that authorization-ID and password match the ones in extension settings
 
Can you please tell us also the 3CX needed configuration.

Thank you
 
Not being familiar with the Cisco 2851, I have to make some assumptions that may not be correct, so bear with me.

I'm assuming that the Cisco is set to register as a 3CX extension rather than having a PBX type device connected as a trunk.

polinoma said:
Reason: Credentials don't match, check that authorization-ID and password match the ones in extension settings

This log seems to be pretty specific about why the call fails.

In the 3CX logs, do you see a proper registration (at some point) from the Cisco device?

Could 3CX be interpreting the calls as a Direct SIP call, in that case you would have to permit that in the advanced settings.

Have you attempted to register an extension (VoIP set) using the same credentials?
 
Status
Not open for further replies.
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.