- 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
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