183 Message


#1

hi,

my asterisk box is working as transit between two gateways. i want to stop 183 message being relayed from one gateway to other gateway on unsuccessful calls. in the below traces you can find the the sip 183 message is being relayed from destination gateway to source gateway. i want to stop that message from being relayed to source gateway. please suggest is it possible or not?

|Time | 195.225.36.140 | 213.232.120.132 |
| | | 83.170.98.242 |
|0.000 | Request: OPTIONS si | |SIP: Request: OPTIONS sip:83.170.98.242
| |(5060) ------------------> (5060) | |
|0.000 | Status: 200 OK | |SIP: Status: 200 OK
| |(5060) <------------------ (5060) | |
|60.039 | Request: OPTIONS si | |SIP: Request: OPTIONS sip:83.170.98.242
| |(5060) ------------------> (5060) | |
|60.039 | Status: 200 OK | |SIP: Status: 200 OK
| |(5060) <------------------ (5060) | |
|82.293 | | Request: INVITE sip |SIP/SDP: Request: INVITE sip:93782055709@83.170.98.242, with session description
| | |(5060) <------------------ (5060) |
|82.294 | | Status: 100 Trying |SIP: Status: 100 Trying
| | |(5060) ------------------> (5060) |
|82.294 | Request: INVITE sip | |SIP/SDP: Request: INVITE sip:93782055709@195.225.36.140, with session description
| |(5060) <------------------ (5060) | |
|82.336 | Status: 100 Trying | |SIP: Status: 100 Trying
| |(5060) ------------------> (5060) | |
|82.336 | Status: 183 Session | |SIP/SDP: Status: 183 Session Progress, with session description
| |(5060) ------------------> (5060) | |
|82.336 | | Status: 183 Session |SIP/SDP: Status: 183 Session Progress, with session description
| | |(5060) ------------------> (5060) |
|87.729 | Status: 480 Tempora | |SIP: Status: 480 Temporarily unavailable
| |(5060) ------------------> (5060) | |
|87.730 | Request: ACK sip:93 | |SIP: Request: ACK sip:93782055709@195.225.36.140
| |(5060) <------------------ (5060) | |
|87.730 | | Status: 480 Tempora |SIP: Status: 480 Temporarily unavailable
| | |(5060) ------------------> (5060) |
|87.732 | | Request: ACK sip:93 |SIP: Request: ACK sip:93782055709@83.170.98.242
| | |(5060) <------------------ (5060) |
|111.175 | | Request: INVITE sip |SIP/SDP: Request: INVITE sip:93782055709@83.170.98.242, with session description
| | |(5060) <------------------ (5060) |
|111.176 | | Status: 100 Trying |SIP: Status: 100 Trying
| | |(5060) ------------------> (5060) |
|111.176 | Request: INVITE sip | |SIP/SDP: Request: INVITE sip:93782055709@195.225.36.140, with session description
| |(5060) <------------------ (5060) | |
|111.218 | Status: 100 Trying | |SIP: Status: 100 Trying
| |(5060) ------------------> (5060) | |
|111.218 | Status: 183 Session | |SIP/SDP: Status: 183 Session Progress, with session description
| |(5060) ------------------> (5060) | |
|111.218 | | Status: 183 Session |SIP/SDP: Status: 183 Session Progress, with session description
| | |(5060) ------------------> (5060) |
|116.817 | Status: 480 Tempora | |SIP: Status: 480 Temporarily unavailable
| |(5060) ------------------> (5060) | |
|116.817 | Request: ACK sip:93 | |SIP: Request: ACK sip:93782055709@195.225.36.140
| |(5060) <------------------ (5060) | |
|116.817 | | Status: 480 Tempora |SIP: Status: 480 Temporarily unavailable
| | |(5060) ------------------> (5060) |
|116.822 | | Request: ACK sip:93 |SIP: Request: ACK sip:93782055709@83.170.98.242
| | |(5060) <------------------ (5060) |
|120.077 | Request: OPTIONS si | |SIP: Request: OPTIONS sip:83.170.98.242
| |(5060) ------------------> (5060) | |
|120.077 | Status: 200 OK | |SIP: Status: 200 OK
| |(5060) <------------------ (5060) | |
|180.116 | Request: OPTIONS si | |SIP: Request: OPTIONS sip:83.170.98.242
| |(5060) ------------------> (5060) | |
|180.116 | Status: 200 OK | |SIP: Status: 200 OK
| |(5060) <------------------ (5060) | |
|240.154 | Request: OPTIONS si | |SIP: Request: OPTIONS sip:83.170.98.242
| |(5060) ------------------> (5060) | |
|240.154 | Status: 200 OK | |SIP: Status: 200 OK
| |(5060) <------------------ (5060) | |
|300.192 | Request: OPTIONS si | |SIP: Request: OPTIONS sip:83.170.98.242
| |(5060) ------------------> (5060) | |
|300.192 | Status: 200 OK | |SIP: Status: 200 OK
| |(5060) <------------------ (5060) | |

Thanks

Tanveer


#2

I believe that ceased to be the case no later than 1.6.1.0, for the Dial application.


#3

could you explain a little bit more?


#4

My mistake. It went in for 1.6.2, but that still means that it is in all supported versions.

svn.digium.com/svn/asterisk/bran … PGRADE.txt:

From 1.6.1 to 1.6.2:

  • SIP no longer sends the 183 progress message for early media by
    default. Applications requiring early media should use the
    progress() dialplan app to generate the progress message.