[cisco-voip] sending sip 403 Forbidden msg upon reception of ISDN DISCONNECT msg

daniele visaggio visaggio.daniele at gmail.com
Fri Dec 12 06:38:08 EST 2014


Hi,

I have a cisco voice-gateway (SIP to ISDN), model 2811 with
c2800nm-spservicesk9-mz.124-24.T8.bin ios.

Scenario:

1) dial from sip client an outside pstn number (my mobile phone).
2) I do not answer the call, instead I tear it down, hitting the red button
during ringing.

This what I get on the voice gateway (debug isdn q931 + debug ccsip
messages):

#############

Dec 12 *11:04:18*.681 CET: ISDN BR0/1/0 Q931: *RX <- DISCONNECT* pd = 8
callref = 0x84
    Cause i = 0x8095 - Call rejected
    Progress Ind i = 0x8288 - In-band info or appropriate now available
    Display i = 'OCCUPATO'
VGTestDiData#

Dec 12 *11:04:49*.374 CET: ISDN BR0/1/0 Q931: *RX <- RELEASE* pd = 8
callref = 0x84
    Cause i = 0x8095 - Call rejected
    Cause i = 0x82E6333036 - Recovery on timer expiry
    Display i = 'OCCUPATO'
Dec 12 11:04:49.378 CET: ISDN BR0/1/0 Q931: TX -> RELEASE_COMP pd = 8
callref = 0x04
....
Dec 12 *11:04:49*.410 CET: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
*SIP/2.0 403 Forbidden*
Via: SIP/2.0/UDP 10.98.67.97:5060
;branch=z9hG4bK-363631-262bf0ddaa74c7cced49a9f4d5fefb33
From: <sip:null at 10.130.124.120:5060>;tag=-1350970591
To: <sip:03456654741 at 10.130.124.120>;tag=21B0F200-1574
Date: Fri, 12 Dec 2014 10:04:09 GMT

#############

As you can see from logs, the pstn send DISCONNECT MSG and then wait 31
sec. before sending the RELEASE MSG to the vg.

Upon receiving the the RELEASE MSG, the gateway send 403 FORBIDDEN MSG to
the sip client.

My goal is to send the 403 FORBIDDEN MSG as soon as the gateway receives
the DISCONNECT MSG, in other words I don't want to wait 31 sec before
sending SIP 403.

Is this possible?

Thank you in advance,

Daniele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20141212/18af3ed6/attachment.html>


More information about the cisco-voip mailing list