cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4033
Views
0
Helpful
21
Replies

SIP-UA ITSP GATEWAY PROBLEM!

caytos1989
Level 1
Level 1

Hello all, i have a 3945 configured as an H323 Gateway for my CUCM cluster....in this gateway, i have also configured the following ITSP:

voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
redirect ip2ip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
  registrar server expires max 300 min 60
  no call service stop

voice class sip-profiles 1
request INVITE sip-header From modify "(<.*:)(.*@)" "\1caytoscarlosguardia@"
request ACK sip-header From modify "(<.*:)(.*@)" "\1caytoscarlosguardia@"
request INVITE sip-header Contact modify "(<.*:)(.*@)" "\1caytoscarlosguardia@"
request INVITE sip-header CSeq modify "101 INVITE" "2 INVITE"
request INVITE sdp-header Connection-Info add "IN IP4 200.87.213.138"
!

dial-peer voice 3 voip
destination-pattern 00T
session protocol sipv2
session target sip-server
no voice-class sip early-offer forced
voice-class sip profiles 1
dtmf-relay rtp-nte
codec g711alaw
no vad
!
sip-ua
credentials username caytoscarlosguardia password 7 *********************** realm sip.nonoh.net
authentication username caytoscarlosguardia password 7 ******************************* realm sip.nonoh.net
retry invite 2
retry register 10
retry options 1
timers connect 100
registrar dns:sip.nonoh.net expires 3600
sip-server dns:sip.nonoh.net
host-registrar

When i dial a number..all i get is a busy signal....doing a debug i found out that Im getting a Bad Request because there is no SDP DATA !!!!!

Dec 21 22:49:50.429: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:0018005532447@sip.nonoh.net:5060 SIP/2.0
Via: SIP/2.0/UDP 200.87.213.138:5060;branch=z9hG4bK22BF11CF
Remote-Party-ID: <sip:4335@200.87.213.138>;party=calling;screen=yes;privacy=off
From: <sip:caytoscarlosguardia@sip.nonoh.net>;tag=2A74EBEC-2418
To: <sip:0018005532447@sip.nonoh.net>
Date: Tue, 21 Dec 2010 22:49:50 GMT
Call-ID: 73CFC231-C8B11E0-950BEDD1-F328D0C0@200.87.213.138
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE:  1800
Cisco-Guid: 2147533724-0237965777-0083914242-2886733854
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 2 INVITE
Max-Forwards: 70
Timestamp: 1292971790
Contact: <sip:caytoscarlosguardia@200.87.213.138:5060>
Expires: 180
Allow-Events: telephone-event
Content-Length: 0


Dec 21 22:49:50.693: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 400 Bad request
Via: SIP/2.0/UDP 200.87.213.138:5060;branch=z9hG4bK22BF11CF
From: <sip:caytoscarlosguardia@sip.nonoh.net>;tag=2A74EBEC-2418
To: <sip:0018005532447@sip.nonoh.net>
Contact: sip:0018005532447@194.120.0.198:5060
Call-ID: 73CFC231-C8B11E0-950BEDD1-F328D0C0@200.87.213.138
CSeq: 2 INVITE
Server: (Very nice Sip Registrar/Proxy Server)
Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
Content-Length: 0


Dec 21 22:49:50.697: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:

SCZ-R3945-01#ACK sip:0018005532447@sip.nonoh.net:5060 SIP/2.0
Via: SIP/2.0/UDP 200.87.213.138:5060;branch=z9hG4bK22BF11CF
From: <sip:caytoscarlosguardia@sip.nonoh.net>;tag=2A74EBEC-2418
To: <sip:0018005532447@sip.nonoh.net>
Date: Tue, 21 Dec 2010 22:49:50 GMT
Call-ID: 73CFC231-C8B11E0-950BEDD1-F328D0C0@200.87.213.138
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: telephone-event
Content-Length: 0

Ive spent 4 HOURS trying to troubleshoot this...and i figured this out.....if i add

request INVITE sip-header Content-Type add "Content-Type: application/sdp"

to my sip-profile.....i get this in my debug

Dec 21 22:52:02.481: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:0018005532447@sip.nonoh.net:5060 SIP/2.0
Via: SIP/2.0/UDP 200.87.213.138:5060;branch=z9hG4bK22C01E7F
Remote-Party-ID: <sip:4335@200.87.213.138>;party=calling;screen=yes;privacy=off
From: <sip:caytoscarlosguardia@sip.nonoh.net>;tag=2A76EFC0-21BE
To: <sip:0018005532447@sip.nonoh.net>
Date: Tue, 21 Dec 2010 22:52:02 GMT
Call-ID: C28375C0-C8B11E0-9510EDD1-F328D0C0@200.87.213.138
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE:  1800
Cisco-Guid: 2157605099-2452558289-0100691714-2886733854
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 2 INVITE
Max-Forwards: 70
Timestamp: 1292971922
Contact: <sip:caytoscarlosguardia@200.87.213.138:5060>
Expires: 180
Allow-Events: telephone-event
Content-Length: 0
Content-Type: application/sdp


Dec 21 22:52:02.745: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 200.87.213.138:5060;branch=z9hG4bK22C01E7F
From: <sip:caytoscarlosguardia@sip.nonoh.net>;tag=2A76EFC0-21BE
To: <sip:0018005532447@sip.nonoh.net>
Contact: sip:0018005532447@194.120.0.198:5060
Call-ID: C28375C0-C8B11E0-9510EDD1-F328D0C0@200.87.213.138
CSeq: 2 INVITE
Server: (Very nice Sip Registrar/Proxy Server)
Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
WWW-Authenticate: Digest realm="sip.nonoh.net",nonce="1033179704",algorithm=MD5
Content-Length: 0


Dec 21 22:52:02.745: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
ACK sip:0018005532447@sip.nonoh.net:5060 SIP/2.0
Via: SIP/2.0/UDP 200.87.213.138:5060;branch=z9hG4bK22C01E7F
From: <sip:caytoscarlosguardia@sip.nonoh.net>;tag=2A76EFC0-21BE
To: <sip:0018005532447@sip.nonoh.net>
Date: Tue, 21 Dec 2010 22:52:02 GMT
Call-ID: C28375C0-C8B11E0-9510EDD1-F328D0C0@200.87.213.138
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: telephone-event
Content-Length: 0


Dec 21 22:52:02.745: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:0018005532447@sip.nonoh.net:5060 SIP/2.0
Via: SIP/2.0/UDP 200.87.213.138:5060;branch=z9hG4bK22C11590
Remote-Party-ID: <sip:4335@200.87.213.138>;party=calling;screen=yes;privacy=off
From: <sip:caytoscarlosguardia@sip.nonoh.net>;tag=2A76EFC0-21BE
To: <sip:0018005532447@sip.nonoh.net>
Date: Tue, 21 Dec 2010 22:52:02 GMT
Call-ID: C28375C0-C8B11E0-9510EDD1-F328D0C0@200.87.213.138
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE:  1800
Cisco-Guid: 2157605099-2452558289-0100691714-2886733854
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 102 INVITE
Max-Forwards: 70
Timestamp: 1292971922
Contact: <sip:caytoscarlosguardia@200.87.213.138:5060>
Expires: 180
Allow-Events: telephone-event
Authorization: Digest username="caytoscarlosguardia",realm="sip.nonoh.net",uri="sip:0018005532447@sip.nonoh.net:5060",response="29f0ff98da3a78e6f0ac88691e4ce1e8",nonce="1033179704",algorithm=MD5
Content-Length: 0
Content-Type: application/sdp


Dec 21 22:52:03.017: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 200.87.213.138:5060;branch=z9hG4bK22C11590
From: <sip:caytoscarlosguardia@sip.nonoh.net>;tag=2A76EFC0-21BE
To: <sip:0018005532447@sip.nonoh.net>
Contact: sip:0018005532447@194.120.0.198:5060
Call-ID: C28375C0-C8B11E0-9510EDD1-F328D0C0@200.87.213.138
CSeq: 102 INVITE
Server: (Very nice Sip Registrar/Proxy Server)
Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
Content-Length: 0


Dec 21 22:52:03.021: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 415 Unsupported media type
Via: SIP/2.0/UDP 200.87.213.138:5060;branch=z9hG4bK22C11590
From: <sip:caytoscarlosguardia@sip.nonoh.net>;tag=2A76EFC0-21BE
To: <sip:0018005532447@sip.nonoh.net>
Contact: sip:0018005532447@194.120.0.198:5060
Call-ID: C28375C0-C8B11E0-9510EDD1-F328D0C0@200.87.213.138
CSeq: 102 INVITE
Server: (Very nice Sip Registrar/Proxy Server)
Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
Content-Length: 0


Dec 21 22:52:03.025: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:

SCZ-R3945-01#ACK sip:0018005532447@sip.nonoh.net:5060 SIP/2.0
Via: SIP/2.0/UDP 200.87.213.138:5060;branch=z9hG4bK22C11590
From: <sip:caytoscarlosguardia@sip.nonoh.net>;tag=2A76EFC0-21BE
To: <sip:0018005532447@sip.nonoh.net>
Date: Tue, 21 Dec 2010 22:52:02 GMT
Call-ID: C28375C0-C8B11E0-9510EDD1-F328D0C0@200.87.213.138
Max-Forwards: 70
CSeq: 102 ACK
Allow-Events: telephone-event
Content-Length: 0

HOW DO I TURN SDP ON!!!!!???????????

THANK YOU SO MUCH!!!

21 Replies 21

There should be two RTP streams set up as per the following topology:

PSTN--[SIP]--CUBE--[SIP]--CUCM--[SCCP]--IP Phone

RTP Stream should be between -

PSTN SIP provider -----RTP----CUBE

and

CUBE----RTP----IP Phone

Based on the debugs RTP should be set up between the following IPs:

172.16.64.36 and 64.61.93.189

172.16.64.36 and 172.16.2.36

Since the IP phone can hear PSTN RTP from 64.61.93.189 to 172.16.64.36 terminates correctly and RTP from 172.16.64.36 is being sent to 172.16.2.36

Now make sure that you can ping 172.16.2.36 and 64.61.93.189 with a source address of 172.16.64.36

If above is failing then routing is not correct.

HTH

Guys please help me finish this project...its almost working....for some reason..when i call a United States number...i wont hear a thing theyre saying..but if i call another country..i can hear them..and they can hear me perfectly..but theres still no DTMF neither to the United States nor any country...heres a last debug if anyone is willing to give it a shot...

I include a show sip-ua call !

SCZ-R3945-01#
Dec 27 23:13:01.528: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:18005532447@200.87.213.138:5060 SIP/2.0

Via: SIP/2.0/TCP 172.16.32.3:5060;branch=z9hG4bKa8b16c16cbe

From: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

To: <18005532447>

Date: Mon, 27 Dec 2010 23:13:01 GMT

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

Supported: timer,resource-priority,replaces

Min-SE:  1800

User-Agent: Cisco-CUCM8.0

Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY

CSeq: 101 INVITE

Contact: <4335>

Expires: 180

Allow-Events: presence, kpml

Supported: X-cisco-srtp-fallback

Supported: Geolocation

Call-Info: <172.16.32.3:5060>;method="NOTIFY;Event=telephone-event;Duration=500"

Cisco-Guid: 3629597184-3515948413-0000000204-0052433068

Session-Expires:  1800

P-Asserted-Identity: "Carlos Guardia" <4335>

Remote-Party-ID: "Carlos Guardia" <4335>;party=calling;screen=yes;privacy=off

Max-Forwards: 70

Content-Type: application/sdp

Content-Length: 210

v=0

o=CiscoSystemsCCM-SIP 2000 1 IN IP4 172.16.32.3

s=SIP Call

c=IN IP4 172.16.32.3

t=0 0

m=audio 24924 RTP/AVP 0 101

a=rtpmap:0 PCMU/8000

a=ptime:20

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15


Dec 27 23:13:01.532: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying

Via: SIP/2.0/TCP 172.16.32.3:5060;branch=z9hG4bKa8b16c16cbe

From: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

To: <18005532447>

Date: Mon, 27 Dec 2010 23:13:01 GMT

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

CSeq: 101 INVITE

Allow-Events: kpml, telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Content-Length: 0


Dec 27 23:13:01.888: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:18005532447@jfk-primary.voicepulse.com:5060 SIP/2.0

Via: SIP/2.0/UDP 200.87.213.138:5060;branch=z9hG4bK286622ED

Remote-Party-ID: "Carlos Guardia" <4335>;party=calling;screen=yes;privacy=off

From: "Carlos Guardia" <>RgV51xhS53@jfk-primary.voicepulse.com>;tag=49704F7C-1182

To: <>18005532447@jfk-primary.voicepulse.com>

Date: Mon, 27 Dec 2010 23:13:01 GMT

Call-ID: AF76B945-114511E0-A6D6EDD1-F328D0C0@200.87.213.138

Supported: 100rel,timer,resource-priority,replaces,sdp-anat

Min-SE:  1800

Cisco-Guid: 3629597184-3515948413-0000000204-0052433068

User-Agent: Cisco-SIPGateway/IOS-12.x

Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER

CSeq: 101 INVITE

Timestamp: 1293491581

Contact:

Call-Info: <200.87.213.138:5060>;method="NOTIFY;Event=telephone-event;Duration=2000"

Expires: 180

Allow-Events: telephone-event

Max-Forwards: 69

Session-Expires:  1800

Content-Type: application/sdp

Content-Disposition: session;handling=required

Content-Length: 197

v=0

o=CiscoSystemsSIP-GW-UserAgent 5922 4677 IN IP4 200.87.213.138

s=SIP Call

c=IN IP4 200.87.213.138

t=0 0

m=audio 21504 RTP/AVP 0

c=IN IP4 200.87.213.138

a=rtpmap:0 PCMU/8000

a=ptime:20


Dec 27 23:13:02.120: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:

SCZ-R3945-01#SIP/2.0 100 Giving a try

Via: SIP/2.0/UDP 200.87.213.138:5060;branch=z9hG4bK286622ED;rport=49336

From: "Carlos Guardia" <>RgV51xhS53@jfk-primary.voicepulse.com>;tag=49704F7C-1182

To: <>18005532447@jfk-primary.voicepulse.com>

Call-ID: AF76B945-114511E0-A6D6EDD1-F328D0C0@200.87.213.138

CSeq: 101 INVITE

Server: OpenSER (1.3.2-notls (i386/linux))

Content-Length: 0


SCZ-R3945-01#
Dec 27 23:13:04.488: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 183 Session Progress

Via: SIP/2.0/UDP 200.87.213.138:5060;rport=49336;branch=z9hG4bK286622ED

Record-Route: <64.61.93.190>

From: "Carlos Guardia" <>RgV51xhS53@jfk-primary.voicepulse.com>;tag=49704F7C-1182

To: <>18005532447@jfk-primary.voicepulse.com>;tag=as79bcebfe

Call-ID: AF76B945-114511E0-A6D6EDD1-F328D0C0@200.87.213.138

CSeq: 101 INVITE

User-Agent: VoicePulse PBX

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY

Supported: replaces

Contact: <>

Content-Type: application/sdp

Content-Length: 180

v=0

o=root 3368 3368 IN IP4 64.61.93.21

s=session

c=IN IP4 64.61.93.21

t=0 0

m=audio 15420 RTP/AVP 0

a=rtpmap:0 PCMU/8000

a=silenceSupp:off - - - -

a=ptime:20

a=sendrecv


Dec 27 23:13:04.492: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 183 Session Progress

Via: SIP/2.0/TCP 172.16.32.3:5060;branch=z9hG4bKa8b16c16cbe

From: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

To: <18005532447>;tag=497059A8-1CFC

Date: Mon, 27 Dec 2010 23:13:01 GMT

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

CSeq: 101 INVITE

Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER

Allow-Events: kpml, telephone-event

Remote-Party-ID: <18005532447>;party=called;screen=yes;privacy=off

Contact: <18005532447>

Supported: sdp-anat

Server: Cisco-SIPGateway/IOS-12.x

Content-Type: application/sdp

Content-Disposition: session;handling=required

Content-Length: 196

v=0

o=CiscoSystemsSIP-GW-UserAgent 472 5399 IN IP4 200.87.213.138

s=SIP Call

c=IN IP4 200.87.213.138

t=0 0

m=audio 17784 RTP/AVP 0

c=IN IP4 200.87.213.138

a=rtpmap:0 PCMU/8000

a=ptime:20


Dec 27 23:13:04.496: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SUBSCRIBE sip:18005532447@200.87.213.138:5060;transport=tcp SIP/2.0

Via: SIP/2.0/TCP 172.16.32.3:5060;branch=z9hG4bKa8c44aab940

From: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

To: <18005532447>;tag=497059A8-1CFC

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

CSeq: 102 SUBSCRIBE

Date: Mon, 27 Dec 2010 23:13:04 GMT

User-Agent: Cisco-CUCM8.0

Event: kpml

Expires: 7200

Contact: <172.16.32.3:5060>

P-Asserted-Identity: "Carlos Guardia" <4335>

Accept: application/kpml-response+xml

Max-Forwards: 70

Content-Type: application/kpml-request+xml

Content-Length: 370


http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:kpml-request kpml-request.xsd" version="1.0">

 
    [x*#ABCD]
 

Dec 27 23:13:04.500: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 200 OK

Via: SIP/2.0/TCP 172.16.32.3:5060;branch=z9hG4bKa8c44aab940

From: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

To: <18005532447>;tag=497059A8-1CFC

Date: Mon, 27 Dec 2010 23:13:04 GMT

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

CSeq: 102 SUBSCRIBE

Content-Length: 0

Contact: <18005532447>

Expires: 7200


Dec 27 23:13:04.500: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
NOTIFY sip:172.16.32.3:5060;transport=tcp SIP/2.0

Via: SIP/2.0/TCP 200.87.213.138:5060;branch=z9hG4bK286726A6

From: <18005532447>;tag=497059A8-1CFC

To: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

CSeq: 101 NOTIFY

Max-Forwards: 70

Date: Mon, 27 Dec 2010 23:13:04 GMT

User-Agent: Cisco-SIPGateway/IOS-12.x

Event: kpml

Subscription-State: active

Contact: <18005532447>

Content-Length: 0


Dec 27 23:13:04.500: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:

SCZ-R3945-01#SIP/2.0 200 OK

Via: SIP/2.0/TCP 200.87.213.138:5060;branch=z9hG4bK286726A6

From: <18005532447>;tag=497059A8-1CFC

To: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

Date: Mon, 27 Dec 2010 23:13:04 GMT

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

CSeq: 101 NOTIFY

Content-Length: 0


Dec 27 23:13:05.092: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK

Via: SIP/2.0/UDP 200.87.213.138:5060;rport=49336;branch=z9hG4bK286622ED

Record-Route: <64.61.93.190>

Allow-Events: telephone-event

Content-Length: 0


Dec 27 23:13:05.096: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:+18005532447@200.87.213.138:5060;transport=tcp SIP/2.0

Via: SIP/2.0/TCP 172.16.32.3:5060;branch=z9hG4bKa8d15f3a007

From: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

To: <18005532447>;tag=497059A8-1CFC

Date: Mon, 27 Dec 2010 23:13:01 GMT

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

Max-Forwards: 70

CSeq: 101 ACK

Allow-Events: presence, kpml

Content-Length: 0


Dec 27 23:13:05.096: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SUBSCRIBE sip:172.16.32.3:5060;transport=tcp SIP/2.0

Via: SIP/2.0/TCP 200.87.213.138:5060;branch=z9hG4bK28691581

From: <18005532447>;tag=497059A8-1CFC

To: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

CSeq: 102 SUBSCRIBE

Max-Forwards: 70

Date: Mon, 27 Dec 2010 23:13:05 GMT

User-Agent: Cisco-SIPGateway/IOS-12.x

Event: kpml

Expires: 7200

Contact: <18005532447>

Content-Type: application/kpml-request+xml

Content-Length: 327

http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:kpml-request kpml-request.xsd" version="1.0">[x*#ABCD]


Dec 27 23:13:05.100: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK

Via: SIP/2.0/TCP 200.87.213.138:5060;branch=z9hG4bK28691581

From: <18005532447>;tag=497059A8-1CFC

To: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

Date: Mon, 27 Dec 2010 23:13:05 GMT

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

CSeq: 102 SUBSCRIBE

Content-Length: 0

Contact: <172.16.32.3:5060>

Expires: 7200


Dec 27 23:13:05.100: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
NOTIFY sip:18005532447@200.87.213.138:5060;transport=tcp SIP/2.0

Via: SIP/2.0/TCP 172.16.32.3:5060;branch=z9hG4bKa8e4de0587f

From: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

To: <18005532447>;tag=497059A8-1CFC

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

CSeq: 103 NOTIFY

Max-Forwards: 70

Date: Mon, 27 Dec 2010 23:13:05 GMT

User-Agent: Cisco-CUCM8.0

Event: kpml

Subscription-State: active;expires=7200

Contact: <172.16.32.3:5060>

P-Asserted-Identity: "Carlos Guardia" <4335>

Content-Length: 0


Dec 27 23:13:05.100: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 200 OK

Via: SIP/2.0/TCP 172.16.32.3:5060;branch=z9hG4bKa8e4de0587f

From: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

To: <18005532447>;tag=497059A8-1CFC

Date: Mon, 27 Dec 2010 23:13:05 GMT

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

CSeq: 103 NOTIFY

Content-Length: 0


Dec 27 23:13:05.288: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK

Via: SIP/2.0/UDP 200.87.213.138:5060;rport=49336;branch=z9hG4bK286622ED

Record-Route: <64.61.93.190>

From: "Carlos Guardia" <>RgV51xhS53@jfk-primary.voicepulse.com>;tag=49704F7C-1182

To: <>18005532447@jfk-primary.voicepulse.com>;tag=as79bcebfe

Call-ID: AF76B945-114511E0-A6D6EDD1-F328D0C0@200.87.213.138

CSeq: 101 INVITE

User-Agent: VoicePulse PBX

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY

Supported: replaces

Contact: <>

Content-Type: application/sdp

Content-Length: 180

v=0

o=root 3368 3369 IN IP4 64.61.93.21

s=session

c=IN IP4 64.61.93.21

t=0 0

m=audio 15420 RTP/AVP 0

a=rtpmap:0 PCMU/8000

a=silenceSupp:off - - - -

a=ptime:20

a=sendrecv


Dec 27 23:13:05.288: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:

SCZ-R3945-01#ACK sip:+18005532447@64.61.93.21:5060 SIP/2.0

Via: SIP/2.0/UDP 200.87.213.138:5060;branch=z9hG4bK28682014

From: "Carlos Guardia" <>RgV51xhS53@jfk-primary.voicepulse.com>;tag=49704F7C-1182

To: <>18005532447@jfk-primary.voicepulse.com>;tag=as79bcebfe

Date: Mon, 27 Dec 2010 23:13:01 GMT

Call-ID: AF76B945-114511E0-A6D6EDD1-F328D0C0@200.87.213.138

Route: <64.61.93.190>

Max-Forwards: 70

CSeq: 101 ACK

Allow-Events: telephone-event

Content-Length: 0


SCZ-R3945-01#
Dec 27 23:13:11.492: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
NOTIFY sip:18005532447@200.87.213.138:5060;transport=tcp SIP/2.0

Via: SIP/2.0/TCP 172.16.32.3:5060;branch=z9hG4bKa8f4e57946e

From: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

To: <18005532447>;tag=497059A8-1CFC

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

CSeq: 104 NOTIFY

Max-Forwards: 70

Date: Mon, 27 Dec 2010 23:13:11 GMT

User-Agent: Cisco-CUCM8.0

Event: kpml

Subscription-State: active;expires=7194

Contact: <172.16.32.3:5060>

P-Asserted-Identity: "Carlos Guardia" <4335>

Content-Type: application/kpml-response+xml

Content-Length: 336


http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:kpml-response kpml-response.xsd" code="200" digits="0" forced_flush="false" suppressed="false" tag="dtmf" text="Success" version="1.0"/>

Dec 27 23:13:11.492: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:

SCZ-R3945-01#SIP/2.0 200 OK

Via: SIP/2.0/TCP 172.16.32.3:5060;branch=z9hG4bKa8f4e57946e

From: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

To: <18005532447>;tag=497059A8-1CFC

Date: Mon, 27 Dec 2010 23:13:11 GMT

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

CSeq: 104 NOTIFY

Content-Length: 0


SCZ-R3945-01#
Dec 27 23:13:13.280: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
NOTIFY sip:18005532447@200.87.213.138:5060;transport=tcp SIP/2.0

Via: SIP/2.0/TCP 172.16.32.3:5060;branch=z9hG4bKa903270f2c0

From: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

To: <18005532447>;tag=497059A8-1CFC

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

CSeq: 105 NOTIFY

Max-Forwards: 70

Date: Mon, 27 Dec 2010 23:13:13 GMT

User-Agent: Cisco-CUCM8.0

Event: kpml

Subscription-State: active;expires=7192

Contact: <172.16.32.3:5060>

P-Asserted-Identity: "Carlos Guardia" <4335>

Content-Type: application/kpml-response+xml

Content-Length: 336


http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:kpml-response kpml-response.xsd" code="200" digits="1" forced_flush="false" suppressed="false" tag="dtmf" text="Success" version="1.0"/>

Dec 27 23:13:13.280: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:

SCZ-R3945-01#SIP/2.0 200 OK

Via: SIP/2.0/TCP 172.16.32.3:5060;branch=z9hG4bKa903270f2c0

From: "Carlos Guardia" <4335>;tag=577437d4-e4d0-42b6-90a7-884616201781-35235504

To: <18005532447>;tag=497059A8-1CFC

Date: Mon, 27 Dec 2010 23:13:13 GMT

Call-ID: d8574200-d1911d7d-212-32010ac@172.16.32.3

CSeq: 105 NOTIFY

Content-Length: 0

SCZ-R3945-01#show sip-ua calls
SIP UAC CALL INFO

Call 1
SIP Call ID                : AF76B945-114511E0-A6D6EDD1-F328D0C0@200.87.213.138
   State of the call       : STATE_ACTIVE (7)
   Substate of the call    : SUBSTATE_NONE (0)
   Calling Number          : 4335
   Called Number           : 18005532447
   Bit Flags               : 0xC04018 0x100 0x0
   CC Call ID              : 15483
   Source IP Address (Sig ): 200.87.213.138
   Destn SIP Req Addr:Port : [64.61.93.190]:5060
   Destn SIP Resp Addr:Port: [64.61.93.190]:5060
   Destination Name        : jfk-primary.voicepulse.com
   Number of Media Streams : 1
   Number of Active Streams: 1
   RTP Fork Object         : 0x0
   Media Mode              : flow-through
   Media Stream 1
     State of the stream      : STREAM_ACTIVE
     Stream Call ID           : 15483
     Stream Type              : voice-only (0)
     Stream Media Addr Type   : 1
     Negotiated Codec         : g711ulaw (160 bytes)
     Codec Payload Type       : 0
     Negotiated Dtmf-relay    : inband-voice
     Dtmf-relay Payload Type  : 0
     QoS ID                   : -1
     Local QoS Strength       : BestEffort
     Negotiated QoS Strength  : BestEffort
     Negotiated QoS Direction : None
     Local QoS Status         : None
     Media Source IP Addr:Port: [200.87.213.138]:21504
     Media Dest IP Addr:Port  : [64.61.93.21]:15420


Options-Ping    ENABLED:NO    ACTIVE:NO
   Number of SIP User Agent Client(UAC) calls: 1

SIP UAS CALL INFO

Call 1
SIP Call ID                : d8574200-d1911d7d-212-32010ac@172.16.32.3
   State of the call       : STATE_ACTIVE (7)
   Substate of the call    : SUBSTATE_NONE (0)
   Calling Number          : 4335
   Called Number           : 18005532447
   Bit Flags               : 0xC0401E 0x300 0x4
   CC Call ID              : 15482
   Source IP Address (Sig ): 200.87.213.138
   Destn SIP Req Addr:Port : [172.16.32.3]:5060
   Destn SIP Resp Addr:Port: [172.16.32.3]:48820
   Destination Name        : 172.16.32.3
   Number of Media Streams : 1
   Number of Active Streams: 1
   RTP Fork Object         : 0x0
   Media Mode              : flow-through
   Media Stream 1
     State of the stream      : STREAM_ACTIVE
     Stream Call ID           : 15482
     Stream Type              : voice-only (0)
     Stream Media Addr Type   : 1
     Negotiated Codec         : g711ulaw (160 bytes)
     Codec Payload Type       : 0
     Negotiated Dtmf-relay    : sip-kpml
     Dtmf-relay Payload Type  : 0
     QoS ID                   : -1
     Local QoS Strength       : BestEffort
     Negotiated QoS Strength  : BestEffort
     Negotiated QoS Direction : None
     Local QoS Status         : None
     Media Source IP Addr:Port: [200.87.213.138]:17784
     Media Dest IP Addr:Port  : [172.16.32.3]:24924


Options-Ping    ENABLED:NO    ACTIVE:NO
   Number of SIP User Agent Server(UAS) calls: 1


SCZ-R3945-01#
SCZ-R3945-01#

IS THERE A WAY TO MAKE IT FLOW-AROUND?? OR IT DOESNT MATTER??

Hi Carlos,

to make sure from what does SP support for dtmf, please get logs for incoming call.

also try to press digits during the call, you need to know also the ip phone dtmf capability that you use

what is the phone model and protocol?

for the audio problem, disable sip media binding and use the command address-hiding under voice service sip

this will enable embedded NAT.

B.R./Haitham

If this helps, please rate

ITS FINALLY WORKING GUYS!!!!

DTMF works perfectly! and all the calls also work with excellent audio quality!!! THANKS TO ALL OF YOU GUYS..!! here's my final config if anyone has the same issues: ONE MORE THING THOUGHT....im having problems with INCOMING CALLS from my SP....it matches a dial-peer 3 as outgoing and tries to establish a sip session with my SP and then my sp sends the invite to me and its a BIG LOOP!!!

All i want is to send ALL incoming calls from my SP to an extension number: 4208

Please help me in this last STEP.

voice service voip

address-hiding

dtmf-interworking rtp-nte

allow-connections h323 to h323

allow-connections h323 to sip

allow-connections sip to h323

allow-connections sip to sip

no supplementary-service sip moved-temporarily

fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none

h323

  emptycapability

  h225 id-passthru

sip

  bind control source-interface GigabitEthernet0/1

  early-offer forced

  no call service stop

!

voice class codec 1

codec preference 1 g711ulaw

codec preference 2 g711alaw

codec preference 3 g729r8

codec preference 4 g729br8

!

voice class codec 2

codec preference 1 ilbc

codec preference 2 g711ulaw

!

voice class sip-profiles 1

request INVITE sip-header From modify "(<.*:)(.*@)" "\1RgV51xhS53@"

request ACK sip-header From modify "(<.*:)(.*@)" "\1RgV51xhS53@"

request INVITE sip-header Contact modify "(<.*:)(.*@)" "\1RgV51xhS53@"

!

!

!

dial-peer voice 4 voip

session protocol sipv2

incoming called-number .T

voice-class codec 2

dtmf-relay sip-kpml sip-notify rtp-nte cisco-rtp

!

dial-peer voice 3 voip

destination-pattern .T

session protocol sipv2

session target sip-server

voice-class codec 2

voice-class sip profiles 1

dtmf-relay sip-notify sip-kpml rtp-nte cisco-rtp

!

dial-peer voice 1 voip

destination-pattern [3-5]...

session target ipv4:172.16.32.3

!

!

sip-ua

credentials username RgV51xhS53 password XXXXXXXXXX realm jfk-primary.voicepulse.com

authentication username RgV51xhS53 password XXXXXXXXXXXXXX realm jfk-primary.voicepulse.com

retry invite 2

retry register 10

retry options 1

timers connect 100

registrar dns:jfk-primary.voicepulse.com expires 3600

sip-server dns:jfk-primary.voicepulse.com

host-registrar

!

!

Hi Carlos,

Glad to hear it worked

add this for translate any called number to 4208

conf t

voice translation-rule 1

rule 1 /.*/ /4208/

voice translation-profile test

translate called 1

then under incoming dial-peers from SP add "translation-profile incoming test"

B.R/Haitham

Please Rate ...

`Thanks...but I dont think I have an incoming dial-peer for my SP...I only created one for the trunk between my CUCM and my CUBE...how can the router tell the diference...because if i apply the translation-profile to THAT dial-peer voice 4....then it will translate ALL calls??

Im still having problems with my Inbound calls...its being stucked in a Loop!!

anyone? please?