aiosip icon indicating copy to clipboard operation
aiosip copied to clipboard

To tag in Trying response

Open soloma83 opened this issue 6 years ago • 0 comments

https://github.com/Eyepea/aiosip/blob/37f0abd7395c59d88cab83b316fbd1dc35ecaffa/aiosip/dialog.py#L68

Hello all. This line must be changed to self.to_details['params']['tag'] = msg.to_details['params'].get('tag')

RFC3261 8.2.6.2 Headers and Tags

the UAS MUST add a tag to the To header field in the response (with the exception of the 100 (Trying) response, in which a tag MAY be present)

Thank you.

soloma83 avatar Oct 05 '18 04:10 soloma83