#257 Allow avps as a parameters in rtpproxy

trunk
closed-accepted
modules (179)
5
2013-01-28
2013-01-11
Peter Lemenkov
No

This is a copy of an original commit from your nasty twin's Git repository. It allows rtpproxy_offer/rtpproxy_answer to accept variables.

I'm using a generic functions - fixup_spve_null, fixup_spve_spve, so please review it. I suppose that no additional fixup_free function is required here, right?

Discussion

  • Hi Peter,

    Thanks for the patch - I had to do some changes as there was an error in your patch ; fixup_get_svalue() returns a STR value, while the params for force_rtp_proxy() are CHAR* . Simply doing str->s is not enough as that string is not null terminated. I made a fix on that, so please test my code and let me know if all cases do work as expected.

    Regards,
    Bogdan

     
    • assigned_to: nobody --> bogdan_iancu
    • milestone: --> trunk
    • status: open --> open-accepted
     
    • status: open-accepted --> closed-accepted