[Devel] CVS commitlog: sip-server/modules/tm mi.c

Juha Heinanen jh at tutpro.com
Wed Dec 13 20:11:13 CET 2006


Bogdan-Andrei Iancu writes:

 > the changes are here:
 > 
 >   Syntax of "t_uac_dlg" (as lines):
 > 
 > 	(old version)			(new version)	
 > 	method				method
 > 	RURI				RURI
 > 	NEXT_HOP?|socket?		NEXT_HOP?
 > 	new_headers*			socket?
 > 	\n				new_headers?
 >         Body*			[Body]
 > 	.
 > 
 >   Legend:
 > 	* can be multiple lines
 > 	? if empty value, the line contains only the '.' char
 > 	[] can completely miss
 > 	in new version, for multiple lines values (like new_headers and body) a quoted string can be used (inline '"' must be escaped)

does this mean that in new version the string that is given as the only
parameter to xml-rpc request consists of 5 or 6 lines (depending if Body
exists or not) separated by newline chars, where NEXT_HOP, socket and
new_headers lines may consist of . char only if the line would otherwise
be empty?  new_headers and Body, in turn, are strings starting and
ending with " char and where lines are separated by newline chars?

i tried, but got back "Too few or too many arguments" error.  a concrete
example would be highly appreciated.

why is . char needed to tell that a line is empty?

-- juha



More information about the Devel mailing list