cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7406
Views
42
Helpful
34
Replies

UC500 SIP Trunk

davidfield
Level 3
Level 3

Hello All,

Apologies in advance for the long winded post. helping with the config woudl be awesome, but I'm not expecitng that and some concise links would be aprreciated.

I've been asked to setup a SIP trunk on the office UC540.   Using CCA I thought it would not be a problem, but suffice it to say that when I applied the settings through CCA it broke a lot of stuff that one of the other guys had been doing through CLI - He has left so need to work out on my own.

In summary we have a SIP account with a provider and I've been doing a lot of reading but confusion has set in.  Can anyone point me to a good CLI example of the following:

- Setup of SIP trunk

- Dial Peers.  In summary I need to be able to press say 8....... to get a Line through SIP and 9...... to get a line through FXO

- An example of how to Map SIP DDI's to internal Extensions.

This is what I have from the Provider:

Number of Channels: 4
IP Address: 178.AA.42.156

SIP signalling gateway address: 88.BB.61.195

- UDP port 5060 egress/ingress to 88.BB.61.195 (IPDC SIP signalling gateways).
- All UDP ports between 6000 - 40000 egress/ingress to 88.BB.61.196 (IPDC Media gateway) Omission of this setting will result in one-way speech

DDI 02034478900- 02034478910

From what I can gather they haven't provided a Username/password and are authenticating my use of the service via my source IP so I assume something like as follows:

Internal Extensions are 2000-2100

voice translation-profile PROVIDER

translate calling 2010

translate called 2011

translate redirect-called 2011

dial-peer voice 888 voip

description SIP to Provider

translation-profile outgoing PROVIDER

preference 1

destination-pattern [8]...

rtp payload-type comfort-noise 13

session protocol sipv2

session target ipv4:88.BB.61.195

session transport udp

voice-class codec 2

dtmf-relay rtp-nte

fax-relay ecm disable

no vad

I assume I have to create a copy of above for every destination pattern that is present for the FXO to go out the SIP when preceeding 8 is pressed.

No idea on how to map the DDI's to an internal extension.

Am I missing anything?

I should also mention there is another SIP trunk to another UC520 over a VPN.  This is what gets messed up when I use the CCA.

Thanks in advance

Dave

34 Replies 34

Ok..So you have some dsp resoruces, I will see if we can squeeze something out of it for this..

I need to go away for about 1hr...When I come back I will tell you the next things we will do..

It wont affect inbound calls to ordinary extension..but you need to configure your dial-peer from your  provider and to your phones to use either g711alwa or g729

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

David,

Ok configure this...

sccp ccm group 1

  associate profile 2 register softwareMTP

!

dspfarm profile 2 mtp

codec g711ulaw

maximum sessions software 100

associate application SCCP

!

telephony-service

  sdspfarm tag 2 softwareMTP

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

I forgot you also need to configure this...

dial-peer voice 3000 voip

codec g711alaw

Then do a test call for me again and send debug ccsip messages

and show sccp connection

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

When I call I get disconnect tone.  CCSIP and latest config attached

UC520London#sh sccp connections

Total number of active session(s) 0, and connection(s) 0

Not sure if much help but see below diagram of setup

The MTP is in a shut down state..

configure this:

dspfarm profile 2 mtp

no shut

after you have done that..

Send me a "show sccp"

Then test again

send me the debugs

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Sorry I did'd know I had to no shut it.

Dialed again and getting disconnect tone.

UC520London#

UC520London#sh sccp

SCCP Admin State: UP

Gateway Local Interface: Loopback0

IPv4 Address: 10.44.3.2

Port Number: 2000

IP Precedence: 5

User Masked Codec list: None

Call Manager: 10.44.2.1, Port Number: 2000

Priority: N/A, Version: 4.0, Identifier: 1

Trustpoint: N/A

Conferencing Oper State: ACTIVE - Cause Code: NONE

Active Call Manager: 10.44.2.1, Port Number: 2000

TCP Link Status: CONNECTED, Profile Identifier: 1

Reported Max Streams: 64, Reported Max OOS Streams: 0

Supported Codec: g711alaw, Maximum Packetization Period: 30

Supported Codec: g711ulaw, Maximum Packetization Period: 30

Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30

Supported Codec: rfc2833 pass-thru, Maximum Packetization Period: 30

Supported Codec: inband-dtmf to rfc2833 conversion, Maximum Packetization Period: 30

TLS : ENABLED

UC520London#

UC520London#

044982: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

INVITE sip:02036678903@10.44.1.254;user=phone SIP/2.0

Max-Forwards: 69

Session-Expires: 3600;refresher=uac

Min-SE: 600

Supported: timer, 100rel

To: <02036678903>

From: <07825372765>;tag=3567622128-439762

P-Asserted-Identity: <07825372765>

Call-ID: 2121383-3567622128-439754@MSX27.gammatelecom.com

CSeq: 1 INVITE

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK0b70409a195c42fa4f04b85b9df5249a

Contact: <07825372765>

Content-Type: application/sdp

Accept: application/sdp

Content-Length: 290

v=0

o=MSX27 355458055228728827 1 IN IP4 88.215.61.195

s=sip call

c=IN IP4 88.215.61.196

t=0 0

m=audio 21216 RTP/AVP 8 18 101

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no;mr=0;mg=0;jmdelay=no;mrmods=

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=sendrecv

044983: //35828/A24D41A7B244/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK0b70409a195c42fa4f04b85b9df5249a

From: <07825372765>;tag=3567622128-439762

To: <02036678903>

Date: Sat, 19 Jan 2013 22:08:48 gmt

Call-ID: 2121383-3567622128-439754@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Content-Length: 0

044984: //35828/A24D41A7B244/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 503 Service Unavailable

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK0b70409a195c42fa4f04b85b9df5249a

From: <07825372765>;tag=3567622128-439762

To: <02036678903>;tag=3F51C8A0-F4E

Date: Sat, 19 Jan 2013 22:08:48 gmt

Call-ID: 2121383-3567622128-439754@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Reason: Q.850;cause=47

Content-Length: 0

044985: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

ACK sip:02036678903@10.121.30.4;user=phone SIP/2.0

Max-Forwards: 70

To: <02036678903>;tag=3F51C8A0-F4E

From: <07825372765>;tag=3567622128-439762

Call-ID: 2121383-3567622128-439754@MSX27.gammatelecom.com

CSeq: 1 ACK

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK0b70409a195c42fa4f04b85b9df5249a

Contact: <07825372765>

P-Charging-Vector: icid-value=00001JQKoA;icid-generated-at=10.121.0.0;orig-ioi=tes001-tss-tra.gamma.uktel.org.uk

Content-Length: 0

044986: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

INVITE sip:02036678903@10.44.1.254;user=phone SIP/2.0

Max-Forwards: 69

Session-Expires: 3600;refresher=uac

Min-SE: 600

Supported: timer, 100rel

To: <02036678903>

From: <07825372765>;tag=3567622128-545450

P-Asserted-Identity: <07825372765>

Call-ID: 2121384-3567622128-545441@MSX27.gammatelecom.com

CSeq: 1 INVITE

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK89660c1be1f8b349ca133c8e0c917882

Contact: <07825372765>

Content-Type: application/sdp

Accept: application/sdp

Content-Length: 290

v=0

o=MSX27 358638608674559765 1 IN IP4 88.215.61.195

s=sip call

c=IN IP4 88.215.61.196

t=0 0

m=audio 21218 RTP/AVP 8 18 101

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no;mr=0;mg=0;jmdelay=no;mrmods=

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=sendrecv

044987: //35831/A25C8358B24B/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK89660c1be1f8b349ca133c8e0c917882

From: <07825372765>;tag=3567622128-545450

To: <02036678903>

Date: Sat, 19 Jan 2013 22:08:48 gmt

Call-ID: 2121384-3567622128-545441@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Content-Length: 0

044988: //35831/A25C8358B24B/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 503 Service Unavailable

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK89660c1be1f8b349ca133c8e0c917882

From: <07825372765>;tag=3567622128-545450

To: <02036678903>;tag=3F51C904-F42

Date: Sat, 19 Jan 2013 22:08:48 gmt

Call-ID: 2121384-3567622128-545441@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Reason: Q.850;cause=47

Content-Length: 0

044989: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

ACK sip:02036678903@10.121.30.4;user=phone SIP/2.0

Max-Forwards: 70

To: <02036678903>;tag=3F51C904-F42

From: <07825372765>;tag=3567622128-545450

Call-ID: 2121384-3567622128-545441@MSX27.gammatelecom.com

CSeq: 1 ACK

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK89660c1be1f8b349ca133c8e0c917882

Contact: <07825372765>

P-Charging-Vector: icid-value=00001JQKoA;icid-generated-at=10.121.0.0;orig-ioi=tes001-tss-tra.gamma.uktel.org.uk

Content-Length: 0

044990: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

INVITE sip:02036678903@10.44.1.254;user=phone SIP/2.0

Max-Forwards: 69

Session-Expires: 3600;refresher=uac

Min-SE: 600

Supported: timer, 100rel

To: <02036678903>

From: <07825372765>;tag=3567622128-643619

P-Asserted-Identity: <07825372765>

Call-ID: 2121385-3567622128-643612@MSX27.gammatelecom.com

CSeq: 1 INVITE

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK09ab921560f7f7c106483f5c1d1dce8a

Contact: <07825372765>

Content-Type: application/sdp

Accept: application/sdp

Content-Length: 291

v=0

o=MSX27 3588305549775032230 1 IN IP4 88.215.61.195

s=sip call

c=IN IP4 88.215.61.196

t=0 0

m=audio 21220 RTP/AVP 8 18 101

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no;mr=0;mg=0;jmdelay=no;mrmods=

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=sendrecv

044991: //35834/A26C61C9B252/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK09ab921560f7f7c106483f5c1d1dce8a

From: <07825372765>;tag=3567622128-643619

To: <02036678903>

Date: Sat, 19 Jan 2013 22:08:48 gmt

Call-ID: 2121385-3567622128-643612@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Content-Length: 0

044992: //35834/A26C61C9B252/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 503 Service Unavailable

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK09ab921560f7f7c106483f5c1d1dce8a

From: <07825372765>;tag=3567622128-643619

To: <02036678903>;tag=3F51C96C-1A44

Date: Sat, 19 Jan 2013 22:08:48 gmt

Call-ID: 2121385-3567622128-643612@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Reason: Q.850;cause=47

Content-Length: 0

044993: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

ACK sip:02036678903@10.121.30.4;user=phone SIP/2.0

Max-Forwards: 70

To: <02036678903>;tag=3F51C96C-1A44

From: <07825372765>;tag=3567622128-643619

Call-ID: 2121385-3567622128-643612@MSX27.gammatelecom.com

CSeq: 1 ACK

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK09ab921560f7f7c106483f5c1d1dce8a

Contact: <07825372765>

P-Charging-Vector: icid-value=00001JQKoA;icid-generated-at=10.121.0.0;orig-ioi=tes001-tss-tra.gamma.uktel.org.uk

Content-Length: 0

044994: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

INVITE sip:02036678903@10.44.1.254;user=phone SIP/2.0

Max-Forwards: 69

Session-Expires: 3600;refresher=uac

Min-SE: 600

Supported: timer, 100rel

To: <02036678903>

From: <07825372765>;tag=3567622130-481072

P-Asserted-Identity: <07825372765>

Call-ID: 2121386-3567622130-481064@MSX27.gammatelecom.com

CSeq: 1 INVITE

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK68bea6d1ab9578fa2be06597f5a43728

Contact: <07825372765>

Content-Type: application/sdp

Accept: application/sdp

Content-Length: 291

v=0

o=MSX27 8020201706511619257 1 IN IP4 88.215.61.195

s=sip call

c=IN IP4 88.215.61.196

t=0 0

m=audio 21222 RTP/AVP 8 18 101

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no;mr=0;mg=0;jmdelay=no;mrmods=

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=sendrecv

044995: //35837/A38352E2B259/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK68bea6d1ab9578fa2be06597f5a43728

From: <07825372765>;tag=3567622130-481072

To: <02036678903>

Date: Sat, 19 Jan 2013 22:08:50 gmt

Call-ID: 2121386-3567622130-481064@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Content-Length: 0

044996: //35837/A38352E2B259/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 503 Service Unavailable

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK68bea6d1ab9578fa2be06597f5a43728

From: <07825372765>;tag=3567622130-481072

To: <02036678903>;tag=3F51D090-2041

Date: Sat, 19 Jan 2013 22:08:50 gmt

Call-ID: 2121386-3567622130-481064@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Reason: Q.850;cause=47

Content-Length: 0

044997: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

ACK sip:02036678903@10.121.30.4;user=phone SIP/2.0

Max-Forwards: 70

To: <02036678903>;tag=3F51D090-2041

From: <07825372765>;tag=3567622130-481072

Call-ID: 2121386-3567622130-481064@MSX27.gammatelecom.com

CSeq: 1 ACK

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK68bea6d1ab9578fa2be06597f5a43728

Contact: <07825372765>

P-Charging-Vector: icid-value=00001msYr-;icid-generated-at=10.120.0.0;orig-ioi=tes001-tss-pst.gamma.uktel.org.uk

Content-Length: 0

044998: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

INVITE sip:02036678903@10.44.1.254;user=phone SIP/2.0

Max-Forwards: 69

Session-Expires: 3600;refresher=uac

Min-SE: 600

Supported: timer, 100rel

To: <02036678903>

From: <07825372765>;tag=3567622130-581202

P-Asserted-Identity: <07825372765>

Call-ID: 2121387-3567622130-581194@MSX27.gammatelecom.com

CSeq: 1 INVITE

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKbe53d23ce3232a3a0a8337709740ee1b

Contact: <07825372765>

Content-Type: application/sdp

Accept: application/sdp

Content-Length: 291

v=0

o=MSX27 8052300632320625016 1 IN IP4 88.215.61.195

s=sip call

c=IN IP4 88.215.61.196

t=0 0

m=audio 21224 RTP/AVP 8 18 101

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no;mr=0;mg=0;jmdelay=no;mrmods=

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=sendrecv

044999: //35840/A39469A3B260/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKbe53d23ce3232a3a0a8337709740ee1b

From: <07825372765>;tag=3567622130-581202

To: <02036678903>

Date: Sat, 19 Jan 2013 22:08:50 gmt

Call-ID: 2121387-3567622130-581194@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Content-Length: 0

045000: //35840/A39469A3B260/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 503 Service Unavailable

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKbe53d23ce3232a3a0a8337709740ee1b

From: <07825372765>;tag=3567622130-581202

To: <02036678903>;tag=3F51D100-3EB

Date: Sat, 19 Jan 2013 22:08:50 gmt

Call-ID: 2121387-3567622130-581194@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Reason: Q.850;cause=47

Content-Length: 0

045001: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

ACK sip:02036678903@10.121.30.4;user=phone SIP/2.0

Max-Forwards: 70

To: <02036678903>;tag=3F51D100-3EB

From: <07825372765>;tag=3567622130-581202

Call-ID: 2121387-3567622130-581194@MSX27.gammatelecom.com

CSeq: 1 ACK

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKbe53d23ce3232a3a0a8337709740ee1b

Contact: <07825372765>

P-Charging-Vector: icid-value=00001msYr-;icid-generated-at=10.120.0.0;orig-ioi=tes001-tss-pst.gamma.uktel.org.uk

Content-Length: 0

045002: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

INVITE sip:02036678903@10.44.1.254;user=phone SIP/2.0

Max-Forwards: 69

Session-Expires: 3600;refresher=uac

Min-SE: 600

Supported: timer, 100rel

To: <02036678903>

From: <07825372765>;tag=3567622130-702495

P-Asserted-Identity: <07825372765>

Call-ID: 2121388-3567622130-702488@MSX27.gammatelecom.com

CSeq: 1 INVITE

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKd955f0405d1bd6214dbabcf49c6d54ba

Contact: <07825372765>

Content-Type: application/sdp

Accept: application/sdp

Content-Length: 291

v=0

o=MSX27 8018411111002326431 1 IN IP4 88.215.61.195

s=sip call

c=IN IP4 88.215.61.196

t=0 0

m=audio 21226 RTP/AVP 8 18 101

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no;mr=0;mg=0;jmdelay=no;mrmods=

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=sendrecv

045003: //35843/A3A9C614B267/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKd955f0405d1bd6214dbabcf49c6d54ba

From: <07825372765>;tag=3567622130-702495

To: <02036678903>

Date: Sat, 19 Jan 2013 22:08:50 gmt

Call-ID: 2121388-3567622130-702488@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Content-Length: 0

045004: //35843/A3A9C614B267/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 503 Service Unavailable

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKd955f0405d1bd6214dbabcf49c6d54ba

From: <07825372765>;tag=3567622130-702495

To: <02036678903>;tag=3F51D190-253F

Date: Sat, 19 Jan 2013 22:08:50 gmt

Call-ID: 2121388-3567622130-702488@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Reason: Q.850;cause=47

Content-Length: 0

045005: //35843/A3A9C614B267/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 503 Service Unavailable

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKd955f0405d1bd6214dbabcf49c6d54ba

From: <07825372765>;tag=3567622130-702495

To: <02036678903>;tag=3F51D190-253F

Date: Sat, 19 Jan 2013 22:08:50 gmt

Call-ID: 2121388-3567622130-702488@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Reason: Q.850;cause=47

Content-Length: 0

045006: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

ACK sip:02036678903@10.121.30.4;user=phone SIP/2.0

Max-Forwards: 70

To: <02036678903>;tag=3F51D190-253F

From: <07825372765>;tag=3567622130-702495

Call-ID: 2121388-3567622130-702488@MSX27.gammatelecom.com

CSeq: 1 ACK

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKd955f0405d1bd6214dbabcf49c6d54ba

Contact: <07825372765>

P-Charging-Vector: icid-value=00001msYr-;icid-generated-at=10.120.0.0;orig-ioi=tes001-tss-pst.gamma.uktel.org.uk

Content-Length: 0

045007: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

INVITE sip:02036678903@10.44.1.254;user=phone SIP/2.0

Max-Forwards: 69

Session-Expires: 3600;refresher=uac

Min-SE: 600

Supported: timer, 100rel

To: <02036678903>

From: <07825372765>;tag=3567622133-170126

P-Asserted-Identity: <07825372765>

Call-ID: 2121389-3567622133-170119@MSX27.gammatelecom.com

CSeq: 1 INVITE

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKe072e6590ee3eb8c1b4e6e93b2b90a8b

Contact: <07825372765>

Content-Type: application/sdp

Accept: application/sdp

Content-Length: 289

v=0

o=MSX27 80181301111256727 1 IN IP4 88.215.61.195

s=sip call

c=IN IP4 88.215.61.196

t=0 0

m=audio 21228 RTP/AVP 8 18 101

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no;mr=0;mg=0;jmdelay=no;mrmods=

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=sendrecv

045008: //35846/A51EB6F1B26E/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKe072e6590ee3eb8c1b4e6e93b2b90a8b

From: <07825372765>;tag=3567622133-170126

To: <02036678903>

Date: Sat, 19 Jan 2013 22:08:53 gmt

Call-ID: 2121389-3567622133-170119@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Content-Length: 0

045009: //35846/A51EB6F1B26E/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 503 Service Unavailable

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKe072e6590ee3eb8c1b4e6e93b2b90a8b

From: <07825372765>;tag=3567622133-170126

To: <02036678903>;tag=3F51DB18-1A78

Date: Sat, 19 Jan 2013 22:08:53 gmt

Call-ID: 2121389-3567622133-170119@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Reason: Q.850;cause=47

Content-Length: 0

045010: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

ACK sip:02036678903@10.121.30.4;user=phone SIP/2.0

Max-Forwards: 70

To: <02036678903>;tag=3F51DB18-1A78

From: <07825372765>;tag=3567622133-170126

Call-ID: 2121389-3567622133-170119@MSX27.gammatelecom.com

CSeq: 1 ACK

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKe072e6590ee3eb8c1b4e6e93b2b90a8b

Contact: <07825372765>

P-Charging-Vector: icid-value=00001msYrV;icid-generated-at=10.120.0.0;orig-ioi=tes001-tss-pst.gamma.uktel.org.uk

Content-Length: 0

045011: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

INVITE sip:02036678903@10.44.1.254;user=phone SIP/2.0

Max-Forwards: 69

Session-Expires: 3600;refresher=uac

Min-SE: 600

Supported: timer, 100rel

To: <02036678903>

From: <07825372765>;tag=3567622133-288974

P-Asserted-Identity: <07825372765>

Call-ID: 2121390-3567622133-288967@MSX27.gammatelecom.com

CSeq: 1 INVITE

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK1cdb2eae0e2210c668257623fcf698ef

Contact: <07825372765>

Content-Type: application/sdp

Accept: application/sdp

Content-Length: 291

v=0

o=MSX27 8020410203381330601 1 IN IP4 88.215.61.195

s=sip call

c=IN IP4 88.215.61.196

t=0 0

m=audio 21230 RTP/AVP 8 18 101

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no;mr=0;mg=0;jmdelay=no;mrmods=

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=sendrecv

045012: //35849/A5310734B275/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK1cdb2eae0e2210c668257623fcf698ef

From: <07825372765>;tag=3567622133-288974

To: <02036678903>

Date: Sat, 19 Jan 2013 22:08:53 gmt

Call-ID: 2121390-3567622133-288967@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Content-Length: 0

045013: //35849/A5310734B275/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 503 Service Unavailable

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK1cdb2eae0e2210c668257623fcf698ef

From: <07825372765>;tag=3567622133-288974

To: <02036678903>;tag=3F51DB94-1028

Date: Sat, 19 Jan 2013 22:08:53 gmt

Call-ID: 2121390-3567622133-288967@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Reason: Q.850;cause=47

Content-Length: 0

045014: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

ACK sip:02036678903@10.121.30.4;user=phone SIP/2.0

Max-Forwards: 70

To: <02036678903>;tag=3F51DB94-1028

From: <07825372765>;tag=3567622133-288974

Call-ID: 2121390-3567622133-288967@MSX27.gammatelecom.com

CSeq: 1 ACK

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bK1cdb2eae0e2210c668257623fcf698ef

Contact: <07825372765>

P-Charging-Vector: icid-value=00001msYrV;icid-generated-at=10.120.0.0;orig-ioi=tes001-tss-pst.gamma.uktel.org.uk

Content-Length: 0

045015: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

INVITE sip:02036678903@10.44.1.254;user=phone SIP/2.0

Max-Forwards: 69

Session-Expires: 3600;refresher=uac

Min-SE: 600

Supported: timer, 100rel

To: <02036678903>

From: <07825372765>;tag=3567622133-399850

P-Asserted-Identity: <07825372765>

Call-ID: 2121391-3567622133-399841@MSX27.gammatelecom.com

CSeq: 1 INVITE

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKa2997156d480d64e0a455c394f25799d

Contact: <07825372765>

Content-Type: application/sdp

Accept: application/sdp

Content-Length: 290

v=0

o=MSX27 805283639002410566 1 IN IP4 88.215.61.195

s=sip call

c=IN IP4 88.215.61.196

t=0 0

m=audio 21232 RTP/AVP 8 18 101

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no;mr=0;mg=0;jmdelay=no;mrmods=

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=sendrecv

045016: //35852/A543F305B27C/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKa2997156d480d64e0a455c394f25799d

From: <07825372765>;tag=3567622133-399850

To: <02036678903>

Date: Sat, 19 Jan 2013 22:08:53 gmt

Call-ID: 2121391-3567622133-399841@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Content-Length: 0

045017: //35852/A543F305B27C/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 503 Service Unavailable

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKa2997156d480d64e0a455c394f25799d

From: <07825372765>;tag=3567622133-399850

To: <02036678903>;tag=3F51DC10-877

Date: Sat, 19 Jan 2013 22:08:53 gmt

Call-ID: 2121391-3567622133-399841@MSX27.gammatelecom.com

CSeq: 1 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Reason: Q.850;cause=47

Content-Length: 0

045018: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

ACK sip:02036678903@10.121.30.4;user=phone SIP/2.0

Max-Forwards: 70

To: <02036678903>;tag=3F51DC10-877

From: <07825372765>;tag=3567622133-399850

Call-ID: 2121391-3567622133-399841@MSX27.gammatelecom.com

CSeq: 1 ACK

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

Via: SIP/2.0/UDP 88.215.61.195:5060;branch=z9hG4bKa2997156d480d64e0a455c394f25799d

Contact: <07825372765>

P-Charging-Vector: icid-value=00001msYrV;icid-generated-at=10.120.0.0;orig-ioi=tes001-tss-pst.gamma.uktel.org.uk

Content-Length: 0

The MTP is not showing as registered. Its not even showing at all..Can you try this..

dspfarm profile 1 conference

shutdown

dspfarm profile 2 mtp

no maximum sessions software 100

maximum sessions hardware 2

no shut

Then do a show sccp again..This is just to test

If you see mtp registered, do another test call...

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Looks like its up but still get disconnect tone inbound

UC520London#sh sccp

SCCP Admin State: UP

Gateway Local Interface: Loopback0

IPv4 Address: 10.44.3.2

Port Number: 2000

IP Precedence: 5

User Masked Codec list: None

Call Manager: 10.44.2.1, Port Number: 2000

Priority: N/A, Version: 4.0, Identifier: 1

Trustpoint: N/A

MTP Oper State: ACTIVE - Cause Code: NONE

Active Call Manager: 10.44.2.1, Port Number: 2000

TCP Link Status: CONNECTED, Profile Identifier: 2

Reported Max Streams: 4, Reported Max OOS Streams: 0

Supported Codec: g711ulaw, Maximum Packetization Period: 30

Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30

Supported Codec: rfc2833 pass-thru, Maximum Packetization Period: 30

Supported Codec: inband-dtmf to rfc2833 conversion, Maximum Packetization Period: 30

TLS : ENABLED

UC520London#

tried to restart DSPprofile 1 and got this

UC520London(config)#dspfarm profile 1 conference

UC520London(config-dspfarm-profile)#no shut

Enabling profile failed  due to insufficient CONFERENCING resources,

resources available to support 0 sessions; please  modify the

configuration and  retry

I think I'm going to do this another way.  Rather than have a SIP trunk DID going to the Auto Attendant I'll make the PSTN POTS line the auto attendant number. That negates the MTP requirement I believe.

Therefore I really just need to be able to get a SIP DID to ring an extension.  Unfortunately I'm not onsite so can't really test with a handset.

I really appreciate your help on this and can I ask 1 more favour?  Can you look at my config and tell me if there is anything I'm missing or should alter if I wanted to have the SIP number 02036678903 ring extension 2800?  I just need the ability to receive a call from the SIP trunk and answer on a handset.

If I can achieve that then I might have a workable setup.

Thanks in advance

Dave

To get this number to ring on extension 2800..

You need to change this config as follows..

voice translation-rule 4

rule 1 /^02036678903/ /2800/

Leave this dial-peer as it is..

dial-peer voice 3000 voip

description DDIRange

translation-profile incoming DDIRange_Called_4

session protocol sipv2

session target sip-server

incoming called-number 02036678903

dtmf-relay rtp-nte

codec g711alaw

no vad

By the way try and send me the logs when the MTP was active. Send debug ccsip messages

To enable your ocnference profile back, you need to disable the MTP

dspfarm profile 2 mtp

shut

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Thanks I'll try that and update the thread with new logs shortly.

Hello aokanlawon,

Mate you are awesome for helping me out.  As a result of your help I managed to  at least get the DDI range working to the internal extensions.

I'm going to have a play with the AutoAttendant and will post logs if I hit issues.

Thanks for your help.You are the man!!!


Dave

Hello aokanlawon or communitee,

Sorry to bring this thread up again but its somewhat related and I though you may have seen it before.  Can you advise why my SIP DDI's wont forward?  Basically a extension with a SIP DDI is put on forward the call wont connect.  I can see it forwarding in the CCSIP messages to the desintation number.  When the forward is not present the call goes throguh to the original desination without issue.

I setup the following scenario

Currently 2805 forwarded to 2810

voice translation-rule 4

rule 1 /^02070787756/ /2805/

ephone-dn  80  octo-line

number 2805 no-reg primary

label HouseManager

description HouseMgr 2805

name House Manager

mobility

call-forward all 2810

When Call comes in on DDI 02070787756 I can see the SIP messages translation to 2810. But then it says service unavailable.

I tried enabiling the MTP as per our attempts above thinking I may need to proxy the call but this made no difference.

dspfarm profile 2 mtp

codec g711ulaw

maximum sessions hardware 2

associate application SCCP

Regards

David