Re: Contact: Transfer?
"M. Ranganathan" <[email protected]>
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Organization | NIST Advanced Networking Technologies Division |
| Message-ID | <[email protected]> |
Its odd that anybody should rely on the Display Name for anything. In any case, in your example below, "Transfer" is the Display Name part of the contact address. Please look up the javadoc for : javax.sip.Header.Contact.getAddress() and javax.sip.address.Address.setDisplayName() Regards Ranga On Wed, 2006-09-20 at 12:59 -0400, [email protected] wrote: > In doing some interop testing we've found that various stacks (Asterisk > being the most notable) seem to be expecting the Contact header in a 302 > Moved Temporarily message to be of the following form: > > Contact: Transfer <sipuri> > > I've looked through the Jain docs and I can't see any obvious way to get > that 'Transfer' keyword into the Contact record our code is building. > (I also can't find any references to this whole 'Transfer' thing through > Google, but that's another story.) > > Do I need to subclass Contact and write my own toString, or am I just > missing something in the docs? (I'm new to Jain and java, so that could > easily be the case!) > > Has anyone else run into this 'Transfer' thing? > > --David > _______________________________________________ > nist-sip mailing list > [email protected] > http://www-x.antd.nist.gov/mailman/listinfo/nist-sip