Skip to content

Instantly share code, notes, and snippets.

@cxreg
Created April 19, 2013 07:17
Show Gist options
  • Save cxreg/5418654 to your computer and use it in GitHub Desktop.
Save cxreg/5418654 to your computer and use it in GitHub Desktop.
SIPp scenario to trigger modesl unicode parser bug
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
How I invoked this test:
sipp 10.104.11.81 -p 2048 -sf repro.sipp -m 1 -nd -nr
-->
<scenario name="utf8 in caller id">
<send>
<![CDATA[
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.104.11.81:2048
From: "s÷p" <sip:[email protected]>;tag=aslkdjj
To: test <sip:[email protected]>
Call-ID: [call_id]
Cseq: 1 INVITE
Contact: sip:[email protected]
Max-Forwards: 70
Content-Type: application/sdp
Content-Length: 375
v=0
o=root 198470105 198470105 IN IP4 67.183.137.188
s=call
c=IN IP4 67.183.137.188
t=0 0
m=audio 56556 RTP/AVP 0 8 9 99 3 18 4 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:99 G726-32/8000
a=rtpmap:3 GSM/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
]]>
</send>
</scenario>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment