Eyepea / aiosip

SIP support for AsyncIO (DEPRECATED)
Apache License 2.0
83 stars 43 forks source link

To tag in Trying response #131

Open soloma83 opened 6 years ago

soloma83 commented 6 years ago

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.