09-17-2014 04:26 AM - edited 03-17-2019 12:11 AM
Hi there,
Please help me with my issue.
There are 2 separate parts on single building , each one has own VOIP implementation. 1 part VoIP is based on CUCM7 and another one works with IP PBX 3CX. CUCM and PBX system have 4 digit extensions (1000-8999) Now I'm trying to connect them through CUBE wich 2811 ISR router.
CUBE reaches to CUCM and IPPBX through 1 fa0/0 interace with ip address 10.21.3.151
3cx 10.21.3.150
cucm 10.200.3.2
In 3CX side i configure Gateway with 10028 username. this credentials will be used to register sip-ua for CUBE. and from cucm estabilished sip-trunk to cube.
here is conf of cube:
voice service voip
ip address trusted list
ipv4 10.200.3.0 255.255.255.0
ipv4 10.100.2.0 255.255.255.0
ipv4 10.21.2.0 255.255.255.0
ipv4 10.21.3.0 255.255.255.0
ipv4 10.21.30.0 255.255.255.0
ipv4 192.168.1.0 255.255.255.0
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
sip
bind control source-interface FastEthernet0/0
bind media source-interface FastEthernet0/0
!
interface FastEthernet0/0
description 3CX
ip address 10.21.3.151 255.255.255.0
duplex auto
dial-peer voice 8 voip
description to 3CX
destination-pattern 1297
session protocol sipv2
--More-- session target ipv4:10.21.3.150:5060
no voice-class sip outbound-proxy
codec g711ulaw
!
dial-peer voice 847 voip
description To-CUCM
destination-pattern 1126
session protocol sipv2
session target ipv4:10.200.3.2:5060
codec g711ulaw
!
!
sip-ua
credentials username 10028 password 7 1446425B5E5C realm 3CXPhoneSystem
authentication username 10028 password 7 101F5949574F realm 3CXPhoneSystem
registrar ipv4:10.21.3.150:5060 expires 3600
when i call from 3cx side calls one time was successfull then it give me 404 not found.
Please help me with dialpeers. how i can configure dial peers to call from 3cx to cucm and vice versa.
09-17-2014 04:57 AM
Hi.
3CX system, also send you a user unknown message.
Can you please che 3Cx side how did you define the user.
Are you able to authenticate with a softphone such as SJPhone to 3cx system with the defined user?
also send the output of a show sip-ua register status.
Thanks
Regards
Carlo
09-17-2014 11:35 PM
Hi Carlo, thank you for your reply.
when create any gateway or trunk 3CX system gives for it 5 digit extension number and it's normally not available when you call to this number directly it is only gateway i.e. 10028. so in 3cx system, status of this gateway is registered.
and in cube show sip-ua register status is registered.
sh sip-ua register status
Line peer expires(sec) registered P-Associ-URI
================================ ========== ============ ========== ============
10028 -1 204 yes
in cucm side extension number 1126
and 3CX's extension 1297
09-18-2014 12:23 AM
Hi.
Under sip-ua add no remote-party-id and try to call.
Let me know
Regards
Carlo
09-23-2014 04:27 AM
Hello Carlo,
thnk you for your reply. I added Under sip-ua no remote-party-id and tried to call. but still i get 404 not found.
dial -peers are correct?
09-23-2014 04:39 AM
Hi.
under sip-ua add calling-info pstn-to-sip remote-party-id number set 10028
and send a debug ccsip message output
HTH
Regards
Carlo
09-23-2014 05:00 AM
09-23-2014 05:05 AM
Hi
also set add calling-info pstn-to-sip remote-party-id name set 10028 and, if you can, send the output of 3CX logs to see if we can get something interesting from there.
Thanks
Regards
Carlo
09-28-2014 11:47 PM
Hello Carlo.
here is log files from 3cx and cube when i try to call from 3cx internal extension 1297 to CCM extension 1126 via CUBE gateway. I still get 404 not found message.
ip addresses are:
3cx 10.21.3.150
cube 10.21.3.151
ccm 10.200.3.2
CUBE available for 3cx and ccm from single interface 10.21.3.151
3cx trunk with CUBE via SIP with credentials 10028 and 3CX is registrar.
Dial peers not clear for me.
Best regards,
09-17-2014 07:40 AM
I think you dont need username and password inside local network
unnecessary complication
and also it is possible to connect cucm to 3cx directly. without cube
09-17-2014 11:24 PM
Thank you for your reply. as I know 3cx trunk and gateways need password. and how it is possible to trunk 3cx directly to cucm?
kind regards
01-06-2016 05:45 PM
I am trunking CUCM directly to 3CX as well. I have found that I can call from 3CX to CUCM fine, but from CUCM to 3CX calls fail.
Calls from CUCM to 3CX are getting a 407 Proxy Authentication Required from 3CX. If there is not a SIP Realm defined in CUCM then CUCM just drops the call. If I add the "3CXPhoneSystem" SIP Realm then CUCM will respond to the 407 with the username and password that are defined in the SIP Realm. However nothing that I put in the username and password field works - I always get a 404 User Unknown. I've tried extension credentials and virtual port credentials, but it never works.
01-06-2016 08:38 PM
Do you have required configuration in place including application user?
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/security/8_6_1/secugd/sec-861-cm/secrealm.pdf
- Vivek
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