Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Please help me to establish a SIP connection on my ruter

Hi all.

I know there are several papers of how configure a SIP trunk to 3th party Telepohny sistem on routers cisco, I've try some of them but no success.

Let me explain de escenario.

A call arrives this way!

PSTN Calls --> Legacy PBX --> Loop PRI to router (4digits) --> Dial peer SIP to remote call center --> Remote Call center redirects to Call Manager 7.1 SIP Trunk --> Call manager tells the destinatios if it is a IP Phone or Analog Phone --> End or circuit.

I cannot establish conection on 'Dial peer SIP to remote call center'

Currently I have this Dial Peer.

dial-peer voice 3001 voip

preference 1

destination-pattern 41[0-2].

modem passthrough nse codec g711ulaw

session target ipv4:10.48.138.219

dtmf-relay h245-alphanumeric

codec g711ulaw

fax rate disable

ip qos dscp cs5 media

The SIP third party call center tolds me that he recieve calls on h323 protocol, like this!

20120302 152832.765 6136 Tm:1E7FC             canal 10 ani=TA:10.0.1.30:17882,NAME:ccm3845,1291

20120302 152832.765 6136 Tm:18EC7             se aplica ANIRULES sobre el valor TA:10.0.1.30:17882,NAME:ccm3845,1291

20120302 152832.765 6136 Tm:18EC7             el valor cumple esta regla: ^TA\:.+\,NAME\:(.+) => $1

20120302 152832.765 6136 Tm:18EC7             el valor traducido es ccm3845,1291

20120302 152832.765 6136 Tm:1E7FC             canal 10 se aplicó ANIRULES; ani=ccm3845,1291

He recieves the call in h323, but I need to the destination recieve the calls on SIP format, so I used this Dial Peer.

dial-peer voice 3001 voip

preference 1

destination-pattern 41[0-2].

session protocol sipv2

session target ipv4:10.48.138.219

dtmf-relay sip-notify

codec g711ulaw

no vad

I told to the 3th party contact center to recieve the call as SIP on g711ulaw codec from the router IP, but when I change the dial peer, I write the command 'show voica call statu', I see the calls are outgoing by the dial-peer 3001 but.. there si no success, and in the other side, the person of the call center tells me that there is no signaling arriving.

*I want to do this, because my 3th party contact center tells me that he canot tranfers back a call recieven on h323 formar, he need the call to incomming in SIP, so he can return back in SIP again, He currently recieve the call on h323 but at the moment to transfer it back, the conection can no be stablished.

Please see my configuration, what do you thing about it?

Why cant stablich a sip conection?

Why the 3th party call center recieve a h323 call and can NOT tranfer BACK on sip.?

Do I have to write this commands?

Router# conf t
Router(config)# sip-ua
Router(config-sip-ua)# xfer target dial-peer

These commands allow the dial-peer to refer to the host.

Router(config)#voice service voip
Router(conf-voi-serv)# allow-connections h323 to h323
Router(conf-voi-serv)# allow-connections h323 to sip
Router(conf-voi-serv)# allow-connections sip to h323
Router(conf-voi-serv)# allow-connections sip to sip

do u' thing the are a 'must have' commands?

Regards

INFORMATION

:

Cisco IOS Software, 3800 Software (C3845-SPSERVICESK9-M), Version 12.4(25c), RELEASE SOFTWARE (fc2)

Cisco 3845 (revision 1.0) with 743424K/43008K bytes of memory.

Processor board ID FTX0953C2M9

2 Gigabit Ethernet interfaces

64 Serial interfaces

8 Channelized E1/PRI ports

4 Channelized (E1 or T1)/PRI ports

8 Voice FXO interfaces

DRAM configuration is 64 bits wide with parity enabled.

479K bytes of NVRAM.

62720K bytes of ATA System CompactFlash (Read/Write)

1 ACCEPTED SOLUTION

Accepted Solutions
Green

Please help me to establish a SIP connection on my ruter

Hi,

By default your sip garway will be using SIP UDP to
set up the call.
If your call centre kit is using TCP then you will have no
comms.

Try setting your dial-peer to TCP

dial-peer voice 3001 voip
preference 1
destination-pattern 41[0-2].
session protocol sipv2
session target ipv4:10.48.138.219
session transport tcp
dtmf-relay sip-notify
codec g711ulaw
no vad


Worth a try

Regards
Alex

Regards, Alex. Please rate useful posts.
2 REPLIES
Green

Please help me to establish a SIP connection on my ruter

Hi,

By default your sip garway will be using SIP UDP to
set up the call.
If your call centre kit is using TCP then you will have no
comms.

Try setting your dial-peer to TCP

dial-peer voice 3001 voip
preference 1
destination-pattern 41[0-2].
session protocol sipv2
session target ipv4:10.48.138.219
session transport tcp
dtmf-relay sip-notify
codec g711ulaw
no vad


Worth a try

Regards
Alex

Regards, Alex. Please rate useful posts.
Community Member

Please help me to establish a SIP connection on my ruter

Hi acampbell, I Solve mi problem, the problem was that I had a ASA beetween the router and the Contact Center, the ASA from version 7 to forward has and implicit command that denies outgoing SIP comunicatios,

The command was "Inspect SIP"

Sho see it U' can write "Show service-policy", there u' can see all 'inspects' applied (MGCP, H323 and SIP).

To un-apply it just enter to:

#Conf t

(conf)#policy-map global-policy

(conf)#clas inspection-default

(Conf)#no inspect SIP (ando whatever ypu want).

So I try again with the SIP Dial-peer, but without the command "session transport tcp" cause with that it didn't worked.

Success!

Regards

502
Views
0
Helpful
2
Replies
CreatePlease to create content