[Freeswitch-dev] Using Unicode SIP MESSAGE

Ron McLeod ron.fs at mcleodnet.com
Sun Jul 8 14:56:13 EDT 2007


Has anyone on the list looked at text messaging to SIP UA using Unicode
rather than ASCII?


I have an application that will interface FreeSWITCH to a Chinese PBX using
SIP and will require text messaging support.  The PBX currently does not
support the MESSAGE method so there is some flexibility in the details of
the interface, but I would like to keep it as interoperable as possible.  It
seems like UTF-8 encoding is commonly used with SMTP and HTTP -- I assume
that would follow for SIP as well.


It should be as simple as this:

MESSAGE sip:9997252000 at 192.168.100.133:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.100.2:5060;rport;branch=z9hG4bK890156501
From: "Dispatcher" <sip:9990000000 at 192.168.100.2:5060>;tag=1425782651
To: <sip:9997252000 at 192.168.100.133:5060>
Call-ID: 2285408318 at 192.168.100.2:5060
CSeq: 1000 MESSAGE
Max-Forwards: 70
User-Agent: Message Dispatch System
Content-Type: text/plain; charset=UTF-8
Content-Length: 9

æ¥æ¬èª


Thanks,
Ron






More information about the Freeswitch-dev mailing list