[asterisk-dev] 'prematuremedia = yes' causes odd behavior on SNOM360 with early media.

Kevin P. Fleming kpfleming at digium.com
Fri Jul 1 16:06:55 CDT 2011


On 07/01/2011 03:55 PM, Jonathan Rose wrote:
>
>
> I was tracking an issue reported by Steve Pitts against an issue which
> involves chan_sip's premature media filter which was added in a commit
> by oej some time ago, and I was looking for an opinion...  here's the
> scenario.
>
> User calls in to Asterisk from basically any SIP phone.
>
> Phone to Asterisk: INVITE
> Asterisk to Phone: 401 Unauthorized
> Phone to Asterisk: ACK
> Phone to Asterisk: INVITE (with credentials)
> Asterisk to Phone: 100 Trying
> Phone to Asterisk: ACK

This better not be what is actually happening... ACK is only sent to 
acknowledge final responses, not provisional responses. If the phone is 
really sending an ACK, then Asterisk should be ignoring it, as it's not 
valid at that point in the SIP dialog.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list