cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8417
Views
1
Helpful
25
Replies

SIP TRUNK with MGCP Gateway

clougher01
Level 1
Level 1

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

25 Replies 25

virverma
Level 4
Level 4

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

Phones are running sccp and cucm 6.1

you need to create a sip trunk from cucm,

as you already got the link for it

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.

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?

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

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?

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

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.

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.

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.

Show me: sh sip-ua reg st

BTW do you have configured?:

voice service voip

allow-connections sip to sip

sip

Could be an external firewall issue. Will check it out tomorrow and let you know.

Thanks for the info so far..

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