RouteHeader question

"Francisco Javier Tellez Vaquero" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Hi all,
I see if you try to create a RouteHeader with more than one address, you 
obtain this exception:

Header h = SIPMessageParser.headerFactory.createHeader("Route", 
"sip:[email protected]:6000;lr,sip:[email protected]:6001;lr");

Exception in thread "main" java.text.ParseException: Only singleton allowed 
Route:sip:[email protected]:6000;lr,sip:[email protected]:6000;lr
	at 
gov.nist.javax.sip.header.HeaderFactoryImpl.createHeader(HeaderFactoryImpl.java:1101)


If you try to add several RouteHeaders, only the last one applies.


Does it mean it's not possible to put more than one address in 
RouteHeader???


Regards,
Fran.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.