• PUDN用户
    了解作者
  • C/C++
    开发工具
  • 3.9MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 186
    下载次数
  • 2005-09-29 10:28
    上传日期
一个开源的sip协议栈,在vc6.0下编译通过,无警告。
libosip2-2.2.1.rar
内容介绍
# valid cases with escaped characters # "\"\""abb" <sip:j.doe:secret@big.com;transport=tcp> "\""\"" <sip:j.doe:secret@big.com;transport=tcp> "\\" <sip:j.doe:secret@big.com;transport=tcp> "\\\\" <sip:j.doe:secret@big.com;transport=tcp> "\\\\\\\\" <sip:j.doe:secret@big.com;transport=tcp> "\"\"" <sip:j.doe:secret@big.com;transport=tcp> "q\\\\" <sip:j.doe:secret@big.com;transport=tcp> "j.doe\\\\" <sip:j.doe:secret@big.com;transport=tcp> "j.doe\\\"" <sip:j.doe:secret@big.com;transport=tcp> "j.doe\\"<sip:j.doe@big.com?subject=project> "j.doe\""<sip:j.doe@big.com?subject=project> "+1\"234"<sip:+1234@ipworld3700.com;user=phone> # # invalid cases with escaped characters # "\" <sip:j.doe:secret@big.com;transport=tcp> "\\\" <sip:j.doe:secret@big.com;transport=tcp> ""\"" <sip:j.doe:secret@big.com;transport=tcp> "\\\\\\\" <sip:j.doe:secret@big.com;transport=tcp> # "j.doe\\\" <sip:j.doe:secret@big.com;transport=tcp> "a\" <sip:j.doe:secret@big.com;transport=tcp> "a\\\" <sip:j.doe:secret@big.com;transport=tcp> "a"\"" <sip:j.doe:secret@big.com;transport=tcp> "a\\\\\\\" <sip:j.doe:secret@big.com;transport=tcp> "j.doe\\\" <sip:j.doe:secret@big.com;transport=tcp> # "\ab" <sip:j.doe:secret@big.com;transport=tcp> "\\\ab" <sip:j.doe:secret@big.com;transport=tcp> ""\"ab" <sip:j.doe:secret@big.com;transport=tcp> # "a\"\a"" <sip:j.doe:secret@big.com;transport=tcp> "a\"\a"a" <sip:j.doe:secret@big.com;transport=tcp> "a\"\\"a" <sip:j.doe:secret@big.com;transport=tcp> "a\"\"a" <sip:j.doe:secret@big.com;transport=tcp> # sip:j.doe@big.com;tag=34ytr34.2;tag2=34ytr34.2 sip:j.doe@big.com;tag=34ytr34.2;tag2=34ytr34.2;lr sip:j.doe@big.com;lr # # from with tags and url without brackets # sip:j.doe@big.com;tag=34ytr34.2 sip:+1-212-555-1212:1234@gateway.com;tag=34ytr34.2 sip:1212@gateway.com;tag=34ytr34.2 sip:alice@10.1.2.3;tag=34ytr34.2 sip:alice@example.com;tag=34ytr34.2 sip:alice%40example.com@gateway.com;tag=34ytr34.2 # # url without url-parameter (from parameter can be present) # sip:j.doe@big.com sip:j.doe@big.com sip:j.doe:secret@big.com sip:j.doe@big.com sip:+1-212-555-1212:1234@gateway.com sip:1212@gateway.com sip:alice@10.1.2.3 sip:alice@example.com sip:alice%40example.com@gateway.com sip:alice@registrar.com sip:alice@registrar.com:5080 sip:+1234@po4x80.com sip:+1254353534@0.cxcsqn.qscr4n.suisacro.fr sip:MDU@1.kn_5.tn_1.suisacro.fr # # Valid from fields without display names and brackets # <sip:j.doe@big.com> <sip:j.doe@big.com;maddr=239.255.255.1;ttl=15> <sip:j.doe:secret@big.com;transport=tcp> <sip:j.doe@big.com?subject=project> <sip:+1-212-555-1212:1234@gateway.com;user=phone> <sip:1212@gateway.com> <sip:alice@10.1.2.3> <sip:alice@example.com> <sip:alice%40example.com@gateway.com> <sip:alice@registrar.com;method=REGISTER> <sip:alice@registrar.com:5080;method=REGISTER?subject=project&retry-after=3600> <sip:+1234@po4x80.com;user=phone> <sip:+1234@po4x80.com;user=phone?require=com.po4x80.call-bonheur&Proxy-Require=com.po4x80.call-malheur> <sip:+1254353534@0.cdsn.sdc_.suisacro.fr;user=phone?Require=com.po4x80.y-rgbell.po4x80.artolatic-haka-off> <sip:MDU@1.kn_5.tn_1.suisacro.fr;user=ip> # # Valid from fields without display names as token (not quoted strings) # alice<sip:alice@10.1.2.3> jack<sip:1212@gateway.com> j.doe <sip:j.doe@big.com;maddr=239.255.255.1;ttl=15> user<sip:+1-212-555-1212:1234@gateway.com;user=phone>;tag=54 Alice <sip:alice@example.com>;tag=34ez2 Alice<sip:alice%40example.com@gateway.com>;tag=345erye66 A<sip:alice@registrar.com;method=REGISTER> a <sip:alice@registrar.com:5080;method=REGISTER?subject=project&retry-after=3600> # # Valid from fields with display names as quoted strings # "j.doe" <sip:j.doe@big.com> "+1234"<sip:+1234@ipworld3700.com;user=phone> "user"<sip:+1-212-555-1212:1234@gateway.com;user=phone>;tag=54 "Alice" <sip:alice@example.com>;tag=34ez2 "Alice"<sip:alice%40example.com@gateway.com>;tag=345erye66 "A"<sip:alice@registrar.com;method=REGISTER> "a" <sip:alice@registrar.com:5080;method=REGISTER?subject=project&retry-after=3600> # # valid cases with utf8 # "µi²éù^r@§è£¤" <sip:j.doe:secret@big.com;transport=tcp> "æþøð¢ðß" <sip:j.doe:secret@big.com;transport=tcp> "»¢ðnß·" <sip:j.doe:secret@big.com;transport=tcp> "¶Ð߫صÞ"<sip:j.doe@big.com?subject=project> "¶:?=@?Ð;߫صÞ"<sip:j.doe@big.com?subject=project> "¶:;?=@?Ð;߫صÞ"<sip:j.doe@big.com?subject=project> "<sip:j.doe@big.com?subject=project>"<sip:j.doe@big.com?subject=project> "\" \\qsd"<sip:j.doe@big.com?subject=project> # # valid case with a nasty bracket... # "jack<4>\\" <sip:jack@2;method=NOTIFY?subject=spamming> # # Are those URLs correct??? but How can they be parsed??? # .... <sip:j.doe@big.com;to[to?r+s=foo:&.bar;qs=dr$/def> <sip:j.d;oe:secret?@big.com;to[to?r+s=foo:&.bar;qsd=r$/def> <sip:j.+d$=o\?;e:secr&=+$,@big.com;to[to?r+s=foo:&.ba=r;qsdr$/def> # #some bad cases # si <si> zer:alice@example.com <zer:alice@example.com> <sip:@@qsd;sqde_'> sip:@@qsd;sqde_' <sip:;qsde> sip:;qsde <sip:2?subject=spamming> #
评论
    相关推荐
    • SIP协议.rar
      SIP学习资料与SIP真实环境下抓的数据包,供参考
    • sip协议详解 中文版.zip
      sip协议详解,网上都没有目录,我自己添加的目录
    • SIP协议题库.rar
      sip 协议题库,有关于sip的一些基本的基础知识,考试或者面试等专业
    • sip协议源码
      java 实现的sip 协议源码,实现基本的register及invite,bye
    • VC++ 实现 sip协议
      VC++ 实现 sip协议 软件,很不错啊!
    • Sip协议java
      关于sip协议通信的,对初学者绝对有用,可以自己对着代码看看。学到不少东西的
    • sip协议介绍
      sip协议精讲,RFC3261中文及英文介绍3份文档,sip是用于服务器和客户端之间的通信协议。
    • SIP协议场景生成器
      http://www.iptel.org/~sipsc/IPTel提供了一款用Perl写的SIP协议场景生成器,能够以html方式生成SIP呼叫流或SIP场景数据包。下载解压缩后,可以浏览sip_scenario.v1.2.7\generated_files下的那些html文件,也可以...
    • SIP协议格式详解
      SIP协议格式详解和Android的P2P通信。
    • sip协议资料
      包括SIP的RFC文档,及一些中文资料(据说是华为内部培训用的)