09-21-2009 09:52 PM - edited 03-15-2019 07:50 PM
Hi,
Anyway of setting up a sip trunk on a 3845 MGCP gateway?
I want to be able to put some calls over the sip trunk and some of the E1 via MGCP.
Do i need to drop MGCP and configure it for H323 to get this working?
Thanks in advance..
09-21-2009 11:06 PM
if you are using mgcp gateway there has to be a call agent.
Are the phones using mgcp gateways also using sip trunk then you need to create sip trunk via call agent,
Is it CME or CUCM
09-21-2009 11:36 PM
Phones are running sccp and cucm 6.1
09-22-2009 12:15 AM
you need to create a sip trunk from cucm,
as you already got the link for it
09-21-2009 11:36 PM
I believe you have CUCM as you use MGCP, so you current config looks like:
CUCM - mgcp - GW - PSTN
You can added something like:
CUCM - SIP trunk - GW - SIP trunk - SIP provider
Both will work on same gateway, point different route patterns to different destinations.
rate if this help.
09-22-2009 12:08 AM
Ok so i create a sip trunk in CUCM which points to the MGCP Gateway then in the MGCP gateway i create a sip trunk tht points to the provider yeah?
Will this overcome the issue with rtp if phones on sccp and calls going across sip trunk?
09-22-2009 12:18 AM
all you need to do is create a sip trunk in cucm which should point to destination,
it should not create any issues with rtp
09-22-2009 01:11 AM
Ok i've created a sip trunk and the call is presented to the mgcp gateway.
Now i've setup a couple of dial-peers and they get chosen in the voip ccapi debug but the call isnt sent to my sip server from the gateway. The call just sits there.
Is there something i'm missing here?
dial-peer voice 5000 voip
destination-pattern xxxxxxx
session protocol sipv2
session target sip-server
session transport udp
dtmf-relay rtp-nte
clid network-number xxxxxxx
no vad
Any clues?
09-22-2009 01:16 AM
since you created sip trunk in cucm,
did you point it to your destination server or mgcp gateway,
you need to point to your destination.
also, you dont need to create a dial-peer as phones are registered on cucm,
when you make a call, depending on your dial-pattern or route pattern, cucm would route the call to sip trunk and in sip trunk you already mentioned the destination, so call should reach to destination
09-22-2009 01:22 AM
I was referring to this from above -
You can added something like:
CUCM - SIP trunk - GW - SIP trunk - SIP provider.
I'm trying to create a sip trunk from the gateway. I've tried to create one directly from the call manager but had issues with nat and it never worked.
09-22-2009 01:41 AM
Sample config when you have trunk from CUCM pointing to GW:
dial-peer voice 1 voip
answer-address .T
destination-pattern XXXX
session protocol sipv2
session target ipv4:10.1.1.1
dtmf-relay rtp-nte
no vad
!
!
sip-ua
credentials username user password pass realm 100.1.1.1
authentication username cptelco password pass
registrar ipv4:100.1.1.1 expires 3600
sip-server ipv4:100.1.1.1
Change user and pass to proper user/pass when your SIP provider request. Same goes for IP addresses of course.
09-22-2009 01:48 AM
Yeah thats pretty much what i have but still seeing nothing on the sip server end and call just hangs there doing nothing.
I've also tried terminating the call on the mgcp gateway using an h323 gateway address as one of the interfaces and that lands on the gateway fine and hits the dial-peer but doesnt connect to the sip server.
09-22-2009 01:58 AM
Show me: sh sip-ua reg st
BTW do you have configured?:
voice service voip
allow-connections sip to sip
sip
09-22-2009 02:02 AM
Could be an external firewall issue. Will check it out tomorrow and let you know.
Thanks for the info so far..
09-22-2009 02:13 PM
Ok it was a firewall issue.
Had to bind the media and sip to the loopback and now working.
So in summary i have a sip trunk from CUCM to the Gateway and then a sip trunk from the gateway to the sip provider.
All working fine..
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