[OpenSIPS-Users] OpenSIPS 1.6.3 / Solaris 10 / nathelper problem

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Dec 13 15:06:09 CET 2010


Hi Marty,

That is really odd....I know cases where opensips with rtpproxy are used 
on Solaris, but without this problem :(

Short 2 questions:
    - what revision of opensips are you using  (opensips -V)
    - do you do any nh_reload before getting that error?

Regards,
Bogdan


Marty Lee wrote:
> I've not got to the bottom of what's causing the error, but have now tried gcc4
> on it with the same results, and tried to compile it with Sun Studio; this compiled,
> but is giving weird runtime link errors.
>
> So; I've exploded out the iovec structure into a simple char* buffer and am just
> using plain 'write' to send the command to the rtpproxy process - success.
>
> Must be a Solaris specific problem with the way OpenSIPS creates the FD's to the
> proxy process amongst the threads.
>
> Anyway - I'm moving forward again - just need to work out why the rtpproxy
> process returns 'port 0' in the reply. A voyage of discovery :-)
>
> Can any of the developers see a reason why exploding the iovec structure into
> a simple buffer is going to give me problems in the future? Can't see this being
> a heavily performance centric bit of the code - the media path is probably the
> important bit. Looks as if using iovec and writev is just an easy way to
> code up multiple arguments to pass to the proxy process.
>
> Lastly, if anyone is interested in the patch, let me know where to send it.
>
> m
>
>
> -----
> Marty Lee                         e: marty at maui-systems.co.uk
> Technical Director                v: +44 845 869 2661
> Maui Systems Ltd                  f: +44 871 433 8922
> Scotland, UK                      w: http://www.maui-systems.co.uk
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro




More information about the Users mailing list