[Serdev] [Tracker] Resolved: (SER-222) record_route_preset creates invalid header

Michal Matyska (JIRA) tracker at iptel.org
Wed Jan 31 18:55:07 UTC 2007


     [ http://tracker.iptel.org/browse/SER-222?page=all ]

Michal Matyska resolved SER-222.
--------------------------------

    Fix Version/s: Ottendorf
       Resolution: Fixed
         Assignee: Michal Matyska

mma         2007/01/31 19:52:48 CET

  SER CVS Repository

  Modified files:
    modules/rr           record.c 
  Log:
  Change of the function parameter from str* to fparam_t* was not reflected in the typecasts.
  
  Closes SER-222
  
  Revision  Changes    Path
  1.19      +11 -4     sip_router/modules/rr/record.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/rr/record.c.diff?r1=1.18&r2=1.19

> record_route_preset creates invalid header
> ------------------------------------------
>
>                 Key: SER-222
>                 URL: http://tracker.iptel.org/browse/SER-222
>             Project: SER
>          Issue Type: Bug
>          Components: Record Routing
>    Affects Versions: Ottendorf
>         Environment: CVS head
>            Reporter: Michal Matyska
>         Assigned To: Michal Matyska
>             Fix For: Ottendorf
>
>
> simple script:
> route{
>   record_route_preset("xyz.com;param=1;foo=bar");
>   forward("192.168.0.88",5060);
>   drop;
> }
> Network capture shows, that the forwarded request has wrong record-route header. It contains just the first two letters from the parameter of the record_route_preset function call.
> tshark:
> ...
> Session Initiation Protocol
>     Request-Line: MESSAGE sip:+420100200300 at test.com SIP/2.0
>     Message Header
>         Record-Route: <sip:xy;ftag=1;lr>
>         Via: SIP/2.0/UDP 192.168.0.233;branch=z9hG4bKd7dd.aaef3356.0
>         Via: SIP/2.0/UDP 127.0.0.1:5079;rport=5079
>         From: MSGC <sip:+420100200400 at test.com>;tag=1
>         To: MSGS <sip:+420100200300 at test.com>
>         .....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.iptel.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Serdev mailing list