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.