Script Selection Based On SIP Language Preference
The “Accept-language” header field of a first Session Initiative Protocol (SIP) message identifies the preferred language of a first party to a communication, a database correlates languages with writing scripts, and the correlation is used to populate the “P-Asserted-Identity”, “From”, or “Contact” header field of a second SIP message with the name of a second party to the communication expressed in the writing script of the first party's preferred language.
1 . A method comprising:
determining, from content of a first field of a received first Session Initiation Protocol (SIP) message, a preferred language;
selecting a writing script that corresponds to the determined preferred language; and
sending a second SIP message carrying, in a second field, information expressed in the selected writing script.
2 . The method of claim 1 wherein:
the first field comprises an “Accept-language” field, and the second field comprises one of a “P-Asserted-Identity”, “From”, and “Contact” field.
3 . The method of claim 1 wherein:
determining comprises
receiving the first SIP message from a first party to a communication, and
determining the preferred language of the first party; and
sending comprises
sending the second SIP message to the first party, wherein the information comprises and identifier of a second party to the communication.
4 . The method of claim 3 further comprising:
displaying,
in the selected writing script, the identifier of the second party to the first party.
5 . The method of claim 4 wherein:
the identifier comprises a name of the second party.
6 . The method of claim 1 wherein:
selecting comprises
determining the writing script from contents of a database that correlates writing scripts with languages.
7 . A method comprising:
sending a first Session Initiation Protocol (SIP) message having a
first field whose contents identify a preferred language;
in response, receiving a second SIP message carrying, in a second field, information expressed in a writing script that corresponds to the preferred language; and
displaying the information expressed in the writing script.
8 . The method of claim 7 further comprising:
selecting, on a basis of the preferred language identified by the
sent SIP message, the writing script that corresponds to the preferred language.
9 . The method of claim 7 wherein:
the first field comprises an “Accept-language” field, and
the second field comprises one of a “P-Asserted-Identify”, “From”, and “Contact” field.
10 . The method of claim 7 wherein:
sending comprises
sending the first SIP message to a second party to a communication, wherein the content of the first field identifies a preferred language of a first party to the communication;
receiving comprises
receiving the second SIP message from the second party, wherein the second field carries an identifier of the second party; and
displaying comprises
displaying the identifier expressed in the writing script to the first party.
11 . A computer-readable medium comprising instructions which, when executed by a computer, perform the method of one of claims 1 - 10 .
12 . An apparatus comprising:
a source of information correlating writing scripts with languages;
an input and output for receiving and sending Session Initiation Protocol (SIP) messages; and
an entity responsive to receipt of a first SIP message for determining, from contents of a first field of the first SIP message, a preferred language, for determining from the source of information a writing script that corresponds to the preferred language, and for sending a second SIP message carrying, in a second field, information expressed in the determined writing script.
13 . The apparatus of claim 12 wherein:
the first field comprises an “Accept-language” field, and
the second field comprises one of a “P-Asserted-Identity”, “From”, and “Contact” field.
14 . The apparatus of claim 12 wherein:
the information comprises an identifier of a second party to a communication expressed in a writing script that corresponds to a preferred language of a first party to the communication.
15 . The apparatus of claim 14 wherein:
the identifier comprises a name of the second party for displaying to the first party.