Regresion from 5.8.4 to 5.8.6
Ihor Olkhovskyi via sr-users <[email protected]>
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <CAJTkRNuqpT-=F=46ZY0k9rgQTkyLrea_Ak4fK7vzdYTc1r6sDw@mail.gmail.com> |
Not sure where the bug is, just noticed when playing on local development Kamailio installation, that simple rewrite of $fu start to act funky. Initial From field in a packet is: From: sip:[email protected] ;tag=83017fca-9fe4-493e-9e66-406034482628 In the code I'm having a statement $fu = "sip:" + $avp(callerID) + "@localhost.localdomain"; Resulting From field on 5.8.4 looks like From: sip:[email protected] ;tag=83017fca-9fe4-493e-9e66-406034482628 Note the 2 spaces after From, but it's ok, I guess, no other changes which is fine. But exact the same config file on 5.8.6 giving this: From: <sip:[email protected]>sip:[email protected] ;tag=83017fca-9fe4-493e-9e66-406034482628 Which is not correct SIP URI. I'm not sure when the issue was introduced, but that's what I've found. If will have a bit more time, will try to investigate deeper, maybe just to warn about possible bugs with the versions greater than 5.8.4 (have not tested 5.8.5) -- Best regards, Ihor (Igor) __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!