[OpenSER-Users] uac_replace_from and CANCEL

Andreas Granig agranig at sipwise.com
Wed Mar 12 11:55:53 CET 2008


Hi,

No, I don't, it's just dropped. But I just saw that the Thread "Is it a 
bug? TM module is sending CANCEL request regardless what the script do 
with the From Header since 1.3.0" describes the same problem. Let's 
continue discussion there.

Andreas

Patrick Miccio wrote:
> hi,
> 
> For once the RFC seems to be pretty strict in this matter ;)
> I have been creating sipp scenarios lately, the RFC describes exactly the behaviour I have encountered.
> 
> Further down it mentions the following:
> 
>    If the UAS did not find a matching transaction for the CANCEL
>    according to the procedure above, it SHOULD respond to the CANCEL
>    with a 481 (Call Leg/Transaction Does Not Exist).
> 
> are you getting that back?
> 
> 
> cheers,
> 
> Patrick.
> 
> 
>> Hi,
>>
>> I hit another problem with a Cisco PGW in combination with CANCEL, and
>> I'm not sure which fault it is. If I do uac_replace_from in the INVITE,
>> the From-Header is altered somehow and sent to the PGW. So if A calls B
>> where B is a PGW, the From from A to OpenSER is for example
>> sip:a at somedomain and from OpenSER to B it's sip:other-a at somedomain.
>>
>> If the call is cancelled, the From-header isn't altered, so the From
>> from A to OpenSER is sip:a at somedomain and from OpenSER to B it's
>> sip:a at somedomain as well.
>>
>> Now the PGW seems to ignore this CANCEL, and I guess it's because of the
>> different From-usernames, since it works if I don't do any uac_replace_from.
>>
>> RFC3261 says in §9.1:
>> The Request-URI, Call-ID, To, the numeric part of CSeq, and From header
>> fields in the CANCEL request MUST be identical to those in the
>> request being cancelled, including tags.
>>
>> So is it correct behavior of the PGW because the From header in the
>> CANCEL is different from the From header in the INVITE? Should OpenSER
>> alter the From in the CANCEL as well? Or should the PGW just check the
>>  From tags, but not the From URI?
>>
>> Andreas
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.openser.org
>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
> 
> This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation.
> Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna
> 
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users




More information about the sr-users mailing list