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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

****Cisco CUBE SIP Port Change****

Hi,

My ITSP has requested that I send different port for a specific range of numbers:

Example:

When I dial -- 123456 It should be sent to sip port 5000

When I dial -- 6789 It should be sent to sip port 5001

I tried to change the port in the dial-peer

dial-peer voice 9 voip

description "TO Verizon"

destination-pattern 12345

session protocol sipv2

session target ipv4:192.168.1.100:5000

dial-peer voice 10 voip

description "TO Verizon"

destination-pattern 6789

session protocol sipv2

session target ipv4:192.168.1.100:5001

But No changes when I looked at the debug ccsip messages:

Sent:

INVITE sip:12345@192.168.1.100:5000 SIP/2.0

Via: SIP/2.0/UDP 172.29.26.238:5060;branch=z9hG4bK220B61D22

But I see the port 5060 ib the Via section, Can that be changed?

Instead of:

INVITE sip:12345@192.168.1.100:5000 SIP/2.0   (My Mistake)

Is it possible to change the sip port per dial-peer?

F.Y.I ---- The dial-peer point to the same SBC but on different ports.

Thanks.

Everyone's tags (5)
1 ACCEPTED SOLUTION

Accepted Solutions

****Cisco CUBE SIP Port Change****

But I see the port 5060 ib the Via section, Can that be changed?

Yes that can be changed using sip profile as you have to send different ports for different dial-peer.

voice class sip-profiles 1

request INVITE sip-header Via modify ":5060;" ":5000;"

And apply this to dial-peer 9

dial-peer voice 9 voip

voice-class sip profiles 1

Here is doc for sip profile-

https://supportforums.cisco.com/community/netpro/collaboration-voice-video/ip-telephony/blog/2013/05/28/cube-sip-profile-configuration-examples

Rate helpful post.

Thanks

Manish

5 REPLIES

****Cisco CUBE SIP Port Change****

It should work. Did you checked correct outgoing dial-peer match by enabling "debug voice ccapi inout" ?

Thanks

Manish

****Cisco CUBE SIP Port Change****

I checked.

ccapi inout:

   Guid=1CC0C300-0001-0000-1000-C4C00E02A30C, Outgoing Dial-peer=9

****Cisco CUBE SIP Port Change****

But I see the port 5060 ib the Via section, Can that be changed?

Yes that can be changed using sip profile as you have to send different ports for different dial-peer.

voice class sip-profiles 1

request INVITE sip-header Via modify ":5060;" ":5000;"

And apply this to dial-peer 9

dial-peer voice 9 voip

voice-class sip profiles 1

Here is doc for sip profile-

https://supportforums.cisco.com/community/netpro/collaboration-voice-video/ip-telephony/blog/2013/05/28/cube-sip-profile-configuration-examples

Rate helpful post.

Thanks

Manish

****Cisco CUBE SIP Port Change****

Thanks Manihs.

Is it possible to modify the port based on the caller id in the FROM section:

for example:

I only want user's that have 5XXX Range to modify there Via and INVITE header to port 5000

And

User with 6XXX to be modified to 5001 in both the Via and INVITE header.

thanks.

****Cisco CUBE SIP Port Change****

No option in SIP profile to match certain section of the message and replace on that criteria.

Rate all helpful post.

Thanks

Manish

1108
Views
0
Helpful
5
Replies