cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3395
Views
0
Helpful
12
Replies

CUCM7 sip trunk to 3cx via CUBE

arus80cisco
Level 1
Level 1

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.

12 Replies 12

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

 

 

Please rate all helpful posts "The more you help the more you learn"

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

Hi.

Under sip-ua add no remote-party-id and try to call.

Let me know

 

Regards

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

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?

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

Please rate all helpful posts "The more you help the more you learn"

Hi Carlo 

thank you for your reply!

in attachment you can find debug file.

still i get 404 not found

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

Please rate all helpful posts "The more you help the more you learn"

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,

 

 

Tagir Temirgaliyev
Spotlight
Spotlight

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

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

 

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.

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