Hi, I need some help traversing sip_addr_s.a_params in a received From header. We want to save all the params in the From header to our own internal array. I want to confirm I'm stopping my search on the 'right' place.
If my From header is like this: From: sipp <sip:[EMAIL PROTECTED]:5062>;tag=1;param1=myparam1;param2=myparam2 I can see in memory of my debugger 3 consecutive NULL terminated strings for the From header's sip_addr_s.a_params[0]. After the 3rd NULL terminator, I see a 0x0A. I'm guess this is the 0x0A that terminates my From header string? Is the \n the 'right' thing to be terminating my search to make sure I've looped through all the parameters? Thanks -Dave The information contained in this message, including attachments, may contain privileged and/or confidential information that is intended to be delivered only to the person(s) identified above. If you are not the intended recipient(s), or the person responsible for delivering this message to the intended recipient(s), Airbiquity Inc. requests that you immediately notify the sender and asks that you do not read the message or its attachments and that you delete them without copying or sending them to anyone else. Any review, reliance or distribution by others not intended as recipients or forwarding without express permission is strictly prohibited. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel