2007/7/12, Fabio Margarido <[EMAIL PROTECTED]>: > I need my application to support the cpc parameter described in > draft-mahy-iptel-cpc-06 ( > http://tools.ietf.org/wg/iptel/draft-mahy-iptel-cpc-06.txt > ), so I'll receive messages with headers like: > > From: <sip:123456789;[EMAIL PROTECTED];user=phone>;tag=12341234 > > I believe the 'user' parameter will be parsed and put in the url parameters > of the From header structure, right? > But what about the 'cpc' parameter? Do i have to manually parse the user > part of the url to get it?
Unfortunately, yes, you have. There is function url_param() that can be used to extract the parameter from url_user string, however. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel