cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1222
Views
5
Helpful
7
Replies

Help with error-code-override max-conn

Patux
Level 1
Level 1
 

Hello

I'm in a router 3925 with version :  c3900-universalk9-mz.SPA.152-4.M4.bin.
Cisco IOS Software, C3900 Software (C3900-UNIVERSALK9-M), Version 15.2(4)M4, RELEASE SOFTWARE (fc2)

I have configurated a dial peer with max-con 120, but the sip trunk is for 180 channels.  

 

dial-peer voice 230 voip
description Incoming-Teleconsultas
max-conn 120
session protocol sipv2
incoming called-number NUMBER
dtmf-relay rtp-nte
codec g711alaw
no vad

 

 

When the calls excedd the 120 the nexts calls respond with "503 Service Unavailable"  But i need to answer with a "486 Busy Here" 

I try to use:  error-code-override max-conn but dont have this option.

 

AS-3925(conf-serv-sip)#error-code-override ?
cac-bandwidth Status code to be sent for max-bandwidth CAC
call Configure call parameters
options-keepalive Status code to be sent for options keepalive

AS-3925(conf-serv-sip)#error-code-override max-conn ?
% Unrecognized command
AS-3925(conf-serv-sip)#error-code-override

 

Can anyone helpme?

thanks 

1 Accepted Solution

Accepted Solutions

Anthony Holloway
Cisco Employee
Cisco Employee

According to the documentation, it looks like you'll need to upgrade to 15.4

 

Feature Name

Releases

Feature Information

Configurable SIP Error Codes

15.4(1)T

The Configurable SIP Error Codes feature describes how Cisco Unified Border Element provides support for configurable SIP Error codes to override or modify Session Initiation Protocol (SIP) error response codes.

The following commands were introduced or modified: sip-header SIP-StatusLine

View solution in original post

7 Replies 7

Patux
Level 1
Level 1

does anyone had the same problem?

Anthony Holloway
Cisco Employee
Cisco Employee

According to the documentation, it looks like you'll need to upgrade to 15.4

 

Feature Name

Releases

Feature Information

Configurable SIP Error Codes

15.4(1)T

The Configurable SIP Error Codes feature describes how Cisco Unified Border Element provides support for configurable SIP Error codes to override or modify Session Initiation Protocol (SIP) error response codes.

The following commands were introduced or modified: sip-header SIP-StatusLine

Hello! Thanks so much for your answer, i  haven't seen it. 

Ill try it first!! 

Let you know!!

Have a nice day

maharris
Level 5
Level 5

This can get a little squirrely, but you can try using a sip profile.  I have used this to change messaging from one leg to another (changing a response to a message that came in on provider side, went out to cucm, response came back from cucm, this profile translated the response going out to provider).

I applied it on the incoming dial peer from the provider.  These are all of the random things I was successful in changing in my lab.  I am not sure how this would behave on messages generated by the router itself, you could try it first on the inbound peer, then apply globally if that didn't do it.  Both worked for messages THROUGH the router, and inbound dial peer is less intrusive.

 

voice class sip-profiles 444
 response 100 method INVITE sip-header SIP-StatusLine modify "Trying" "Tryingtest"
 response 200 method BYE sip-header SIP-StatusLine modify "OK" "BYEOK"
 response 200 method BYE sip-header Reason modify "cause=16" "cause=99"
 response 404 sip-header SIP-StatusLine modify "404" "400"
 response 404 sip-header Reason remove

Thanks for your answer, i'll try it and let you know.
Have a nice day

I'd advise against using SIP profiles, when the feature you're after is much cleaner and within your reach. Just upgrade the IOS and be done with it. maharris even said "This can get a little squirrely..." I agree with him.

Her, but you are right  ; )

I should have signed my name on my post!

 

Mary Beth

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: