05-01-2010 05:19 AM - edited 03-15-2019 10:34 PM
Hi
Well actually i am testing a scenario in my lab, where i am using two cme routers. One configured as SIP gateway and other as an H323 gateway.
On the H323 router i only have configured SCCP phones but on other one the just the SIP phone.
I can make calls from SIP phone to SCCP but cant make from SCCP to SIP. Any suggestions would be highly appreciated.
exten of SIP phone is 5001 and for SCCP it is 3001
[P.S]have respected voip dial-peers created and voip service voip command configured with sip to h323 and vice versa
--On h323 gateway;
voice service voip
allow-connections h323 to sip
allow-connections sip to h323
!
ephone-dn 3
number 3001
label first_3001
!
ephone 3
device-security-mode none
mac-address 0200.4C4F.4F52
type CIPC
button 1:3
!
dial-peer voice 50 voip
destination-pattern 5...
session target ipv4:172.16.1.2
dtmf-relay rtp-nte
----On SIP gateway;
voice service voip
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
sip
registrar server
!
!
voice register dn 1
number 5001
allow watch
name xlite
!
voice register pool 1
id mac 0200.4C4F.4F54
number 1 dn 1
username test password test
codec g711ulaw
!
dial-peer voice 30 voip
destination-pattern 3...
session target ipv4:172.16.1.1
What do u guys think do i have to correct or add? I can post the debugs if u want
05-02-2010 09:23 AM
After a long digging into incoming and outgoing dial-peers..how they actually works ...I finally got it all working...yeaaah.
I actually was missing the right codecs Now the below configs works just perfect . Now i do have calls from both ends.
SIP
dial-peer voice 30 voip ----- thats an outgoing dial peer
destination-pattern 3...
session target ipv4:172.16.1.1
codec g711ulaw
dial-peer voice 40001 voip --- the implicit dial-peer created for incoming calls
destination-pattern 5001
session target ipv4:192.168.2.10:58855
session protocol sipv2
codec g711ulaw bytes 160
H323
dial-peer voice 50 voip ----- thats an outgoing dial peer
destination-pattern 5...
session protocol sipv2
session target ipv4:172.16.1.2
dtmf-relay rtp-nte
codec g711ulaw
Reference
http://www.ciscopress.com/articles/article.asp?p=664148&seqNum=6
HTH
Regards
M Taha
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