@voipsdk/react-native-voipcloud 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (644) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +55 -9
  3. package/android/build.gradle +14 -8
  4. package/ios/VoipCloud.mm +214 -28
  5. package/ios/VoipCloud.xcframework/Info.plist +48 -0
  6. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/activesock.h +598 -0
  7. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/addr_resolv.h +189 -0
  8. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/array.h +95 -0
  9. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/assert.h +84 -0
  10. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/assert.h +36 -0
  11. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_armcc.h +57 -0
  12. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_clang.h +64 -0
  13. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_codew.h +55 -0
  14. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_gcc.h +79 -0
  15. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_gcce.h +54 -0
  16. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_msvc.h +87 -0
  17. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_mwcc.h +55 -0
  18. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/ctype.h +44 -0
  19. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/errno.h +44 -0
  20. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/high_precision.h +87 -0
  21. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/limits.h +66 -0
  22. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_alpha.h +35 -0
  23. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_armv4.h +38 -0
  24. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_auto.h +60 -0
  25. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_auto.h.in +59 -0
  26. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_i386.h +34 -0
  27. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_m68k.h +34 -0
  28. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_powerpc.h +35 -0
  29. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_sparc.h +34 -0
  30. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_x86_64.h +35 -0
  31. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/malloc.h +33 -0
  32. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_auto.h +245 -0
  33. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_auto.h.in +244 -0
  34. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_darwinos.h +141 -0
  35. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_linux.h +130 -0
  36. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_palmos.h +118 -0
  37. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_rtems.h +138 -0
  38. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_sunos.h +131 -0
  39. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_symbian.h +166 -0
  40. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_win32.h +148 -0
  41. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_win32_wince.h +145 -0
  42. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_winphone8.h +149 -0
  43. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_winuwp.h +149 -0
  44. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/rand.h +55 -0
  45. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/setjmp.h +49 -0
  46. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/size_t.h +31 -0
  47. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/socket.h +223 -0
  48. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/stdarg.h +31 -0
  49. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/stdfileio.h +31 -0
  50. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/string.h +178 -0
  51. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/time.h +41 -0
  52. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config.h +1537 -0
  53. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config_site.h +22 -0
  54. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config_site_sample.h +485 -0
  55. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config_site_test.h +11 -0
  56. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ctype.h +174 -0
  57. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/doxygen.h +995 -0
  58. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/errno.h +593 -0
  59. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/except.h +420 -0
  60. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/fifobuf.h +43 -0
  61. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/file_access.h +108 -0
  62. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/file_io.h +183 -0
  63. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/guid.h +119 -0
  64. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/hash.h +253 -0
  65. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ioqueue.h +955 -0
  66. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ip_helper.h +152 -0
  67. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/limits.h +57 -0
  68. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/list.h +268 -0
  69. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/list_i.h +120 -0
  70. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/lock.h +453 -0
  71. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/log.h +487 -0
  72. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/math.h +203 -0
  73. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/os.h +1536 -0
  74. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool.h +918 -0
  75. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool_alt.h +212 -0
  76. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool_buf.h +104 -0
  77. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool_i.h +131 -0
  78. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/rand.h +65 -0
  79. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/rbtree.h +215 -0
  80. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/sock.h +1566 -0
  81. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/sock_qos.h +429 -0
  82. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/sock_select.h +151 -0
  83. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ssl_sock.h +1508 -0
  84. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/string.h +963 -0
  85. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/string_i.h +406 -0
  86. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/timer.h +386 -0
  87. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/types.h +594 -0
  88. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/unicode.h +140 -0
  89. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/file.hpp +187 -0
  90. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/hash.hpp +155 -0
  91. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/list.hpp +351 -0
  92. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/lock.hpp +148 -0
  93. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/os.hpp +869 -0
  94. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/pool.hpp +278 -0
  95. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/proactor.hpp +514 -0
  96. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/scanner.hpp +245 -0
  97. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/sock.hpp +443 -0
  98. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/string.hpp +467 -0
  99. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/timer.hpp +197 -0
  100. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/tree.hpp +128 -0
  101. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/types.hpp +174 -0
  102. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib++.hpp +34 -0
  103. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/base64.h +91 -0
  104. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli.h +530 -0
  105. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli_console.h +116 -0
  106. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli_imp.h +207 -0
  107. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli_telnet.h +167 -0
  108. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/config.h +373 -0
  109. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/crc32.h +95 -0
  110. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/dns.h +460 -0
  111. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/dns_server.h +116 -0
  112. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/errno.h +455 -0
  113. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/getopt.h +144 -0
  114. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/hmac_md5.h +108 -0
  115. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/hmac_sha1.h +106 -0
  116. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/http_client.h +493 -0
  117. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/json.h +227 -0
  118. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/md5.h +73 -0
  119. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/pcap.h +195 -0
  120. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/resolver.h +515 -0
  121. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/scanner.h +553 -0
  122. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/scanner_cis_bitwise.h +96 -0
  123. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/scanner_cis_uint.h +83 -0
  124. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/sha1.h +79 -0
  125. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/srv_resolver.h +221 -0
  126. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/string.h +101 -0
  127. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/stun_simple.h +288 -0
  128. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/types.h +94 -0
  129. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/xml.h +248 -0
  130. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util.h +75 -0
  131. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib.h +62 -0
  132. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/alaw_ulaw.h +212 -0
  133. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/audiodev.h +761 -0
  134. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/avi.h +201 -0
  135. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/avi_stream.h +195 -0
  136. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/bidirectional.h +66 -0
  137. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/circbuf.h +436 -0
  138. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/clock.h +338 -0
  139. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/codec.h +1192 -0
  140. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/conference.h +599 -0
  141. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/config.h +1713 -0
  142. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/config_auto.h +43 -0
  143. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/config_auto.h.in +42 -0
  144. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/converter.h +386 -0
  145. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/delaybuf.h +175 -0
  146. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/doxygen.h +243 -0
  147. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/echo.h +420 -0
  148. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/echo_port.h +73 -0
  149. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/endpoint.h +389 -0
  150. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/errno.h +693 -0
  151. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/event.h +493 -0
  152. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/format.h +821 -0
  153. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/frame.h +331 -0
  154. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/g711.h +88 -0
  155. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/jbuf.h +484 -0
  156. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/master_port.h +198 -0
  157. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/mem_port.h +241 -0
  158. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/null_port.h +69 -0
  159. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/plc.h +114 -0
  160. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/port.h +565 -0
  161. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/resample.h +199 -0
  162. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtcp.h +511 -0
  163. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtcp_fb.h +487 -0
  164. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtcp_xr.h +477 -0
  165. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtp.h +457 -0
  166. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sdp.h +830 -0
  167. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sdp_neg.h +822 -0
  168. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/session.h +435 -0
  169. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/signatures.h +217 -0
  170. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/silencedet.h +199 -0
  171. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sound.h +353 -0
  172. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sound_port.h +397 -0
  173. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/splitcomb.h +142 -0
  174. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/stereo.h +203 -0
  175. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/stream.h +541 -0
  176. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/stream_common.h +123 -0
  177. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/symbian_sound_aps.h +47 -0
  178. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/tonegen.h +302 -0
  179. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport.h +1069 -0
  180. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_adapter_sample.h +75 -0
  181. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_ice.h +458 -0
  182. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_loop.h +158 -0
  183. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_srtp.h +579 -0
  184. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_udp.h +161 -0
  185. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/types.h +345 -0
  186. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_codec.h +896 -0
  187. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_codec_util.h +194 -0
  188. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_conf.h +310 -0
  189. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_port.h +269 -0
  190. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_stream.h +514 -0
  191. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_tee.h +141 -0
  192. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/videodev.h +859 -0
  193. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wav_playlist.h +131 -0
  194. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wav_port.h +342 -0
  195. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wave.h +183 -0
  196. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wsola.h +218 -0
  197. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/audiodev.h +110 -0
  198. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/audiodev_imp.h +187 -0
  199. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/audiotest.h +115 -0
  200. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/config.h +525 -0
  201. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/errno.h +227 -0
  202. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/amr_helper.h +1236 -0
  203. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/amr_sdp_match.h +60 -0
  204. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/and_aud_mediacodec.h +131 -0
  205. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/and_vid_mediacodec.h +77 -0
  206. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/audio_codecs.h +97 -0
  207. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/bcg729.h +120 -0
  208. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/config.h +720 -0
  209. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/config_auto.h +104 -0
  210. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/config_auto.h.in +103 -0
  211. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/ffmpeg_vid_codecs.h +66 -0
  212. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/g722.h +103 -0
  213. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/g7221.h +164 -0
  214. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/g7221_sdp_match.h +58 -0
  215. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/gsm.h +86 -0
  216. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/h263_packetizer.h +145 -0
  217. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/h264_packetizer.h +163 -0
  218. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/ilbc.h +118 -0
  219. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/ipp_codecs.h +321 -0
  220. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/l16.h +83 -0
  221. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/opencore_amr.h +145 -0
  222. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/openh264.h +68 -0
  223. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/opus.h +160 -0
  224. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/passthrough.h +276 -0
  225. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/silk.h +126 -0
  226. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/speex.h +149 -0
  227. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/types.h +145 -0
  228. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/vid_toolbox.h +70 -0
  229. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/vpx.h +68 -0
  230. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/vpx_packetizer.h +123 -0
  231. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec.h +47 -0
  232. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/avi_dev.h +139 -0
  233. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/config.h +326 -0
  234. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/errno.h +158 -0
  235. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/opengl_dev.h +52 -0
  236. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/videodev.h +119 -0
  237. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/videodev_imp.h +229 -0
  238. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia.h +81 -0
  239. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia_audiodev.h +32 -0
  240. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia_videodev.h +30 -0
  241. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/config.h +596 -0
  242. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/errno.h +225 -0
  243. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/ice_session.h +1122 -0
  244. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/ice_strans.h +1112 -0
  245. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/nat_detect.h +233 -0
  246. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_auth.h +456 -0
  247. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_config.h +135 -0
  248. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_msg.h +1856 -0
  249. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_session.h +763 -0
  250. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_sock.h +496 -0
  251. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_transaction.h +291 -0
  252. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/turn_session.h +968 -0
  253. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/turn_sock.h +673 -0
  254. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/types.h +75 -0
  255. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/upnp.h +147 -0
  256. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath.h +46 -0
  257. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/print_util.h +166 -0
  258. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth.h +637 -0
  259. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth_aka.h +212 -0
  260. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth_msg.h +269 -0
  261. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth_parser.h +74 -0
  262. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_autoconf.h +39 -0
  263. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_autoconf.h.in +38 -0
  264. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_config.h +1545 -0
  265. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_dialog.h +935 -0
  266. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_endpoint.h +715 -0
  267. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_errno.h +544 -0
  268. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_event.h +230 -0
  269. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_module.h +221 -0
  270. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_msg.h +2134 -0
  271. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_multipart.h +276 -0
  272. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_parser.h +465 -0
  273. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_private.h +31 -0
  274. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_resolve.h +347 -0
  275. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_tel_uri.h +83 -0
  276. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transaction.h +542 -0
  277. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport.h +1672 -0
  278. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_loop.h +146 -0
  279. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_tcp.h +300 -0
  280. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_tls.h +642 -0
  281. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_udp.h +389 -0
  282. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_types.h +265 -0
  283. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_ua_layer.h +159 -0
  284. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_uri.h +470 -0
  285. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_util.h +888 -0
  286. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/errno.h +117 -0
  287. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/evsub.h +561 -0
  288. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/evsub_msg.h +119 -0
  289. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/iscomposing.h +137 -0
  290. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/mwi.h +211 -0
  291. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/pidf.h +177 -0
  292. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/presence.h +416 -0
  293. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/publish.h +350 -0
  294. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/rpid.h +150 -0
  295. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/types.h +30 -0
  296. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/xpidf.h +137 -0
  297. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_100rel.h +244 -0
  298. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_inv.h +1224 -0
  299. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_regc.h +497 -0
  300. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_replaces.h +303 -0
  301. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_timer.h +274 -0
  302. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_xfer.h +207 -0
  303. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip.h +61 -0
  304. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip_auth.h +37 -0
  305. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip_simple.h +45 -0
  306. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip_ua.h +31 -0
  307. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua-lib/pjsua.h +8899 -0
  308. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua-lib/pjsua_internal.h +989 -0
  309. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua.h +1 -0
  310. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/account.hpp +2123 -0
  311. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/call.hpp +2253 -0
  312. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/config.hpp +72 -0
  313. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/doxygen.hpp +48 -0
  314. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/endpoint.hpp +2160 -0
  315. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/json.hpp +115 -0
  316. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/media.hpp +2748 -0
  317. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/persistent.hpp +715 -0
  318. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/presence.hpp +368 -0
  319. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/siptypes.hpp +1013 -0
  320. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/types.hpp +283 -0
  321. package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2.hpp +28 -0
  322. package/ios/VoipCloud.xcframework/ios-arm64/libVoipCloud.a +0 -0
  323. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/activesock.h +598 -0
  324. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/addr_resolv.h +189 -0
  325. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/array.h +95 -0
  326. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/assert.h +84 -0
  327. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/assert.h +36 -0
  328. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_armcc.h +57 -0
  329. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_clang.h +64 -0
  330. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_codew.h +55 -0
  331. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_gcc.h +79 -0
  332. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_gcce.h +54 -0
  333. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_msvc.h +87 -0
  334. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_mwcc.h +55 -0
  335. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/ctype.h +44 -0
  336. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/errno.h +44 -0
  337. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/high_precision.h +87 -0
  338. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/limits.h +66 -0
  339. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_alpha.h +35 -0
  340. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_armv4.h +38 -0
  341. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_auto.h +60 -0
  342. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_auto.h.in +59 -0
  343. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_i386.h +34 -0
  344. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_m68k.h +34 -0
  345. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_powerpc.h +35 -0
  346. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_sparc.h +34 -0
  347. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_x86_64.h +35 -0
  348. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/malloc.h +33 -0
  349. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_auto.h +245 -0
  350. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_auto.h.in +244 -0
  351. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_darwinos.h +141 -0
  352. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_linux.h +130 -0
  353. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_palmos.h +118 -0
  354. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_rtems.h +138 -0
  355. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_sunos.h +131 -0
  356. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_symbian.h +166 -0
  357. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_win32.h +148 -0
  358. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_win32_wince.h +145 -0
  359. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_winphone8.h +149 -0
  360. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_winuwp.h +149 -0
  361. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/rand.h +55 -0
  362. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/setjmp.h +49 -0
  363. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/size_t.h +31 -0
  364. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/socket.h +223 -0
  365. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/stdarg.h +31 -0
  366. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/stdfileio.h +31 -0
  367. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/string.h +178 -0
  368. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/time.h +41 -0
  369. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config.h +1537 -0
  370. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config_site.h +22 -0
  371. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config_site_sample.h +485 -0
  372. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config_site_test.h +11 -0
  373. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ctype.h +174 -0
  374. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/doxygen.h +995 -0
  375. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/errno.h +593 -0
  376. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/except.h +420 -0
  377. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/fifobuf.h +43 -0
  378. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/file_access.h +108 -0
  379. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/file_io.h +183 -0
  380. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/guid.h +119 -0
  381. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/hash.h +253 -0
  382. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ioqueue.h +955 -0
  383. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ip_helper.h +152 -0
  384. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/limits.h +57 -0
  385. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/list.h +268 -0
  386. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/list_i.h +120 -0
  387. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/lock.h +453 -0
  388. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/log.h +487 -0
  389. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/math.h +203 -0
  390. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/os.h +1536 -0
  391. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool.h +918 -0
  392. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool_alt.h +212 -0
  393. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool_buf.h +104 -0
  394. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool_i.h +131 -0
  395. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/rand.h +65 -0
  396. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/rbtree.h +215 -0
  397. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/sock.h +1566 -0
  398. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/sock_qos.h +429 -0
  399. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/sock_select.h +151 -0
  400. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ssl_sock.h +1508 -0
  401. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/string.h +963 -0
  402. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/string_i.h +406 -0
  403. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/timer.h +386 -0
  404. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/types.h +594 -0
  405. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/unicode.h +140 -0
  406. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/file.hpp +187 -0
  407. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/hash.hpp +155 -0
  408. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/list.hpp +351 -0
  409. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/lock.hpp +148 -0
  410. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/os.hpp +869 -0
  411. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/pool.hpp +278 -0
  412. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/proactor.hpp +514 -0
  413. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/scanner.hpp +245 -0
  414. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/sock.hpp +443 -0
  415. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/string.hpp +467 -0
  416. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/timer.hpp +197 -0
  417. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/tree.hpp +128 -0
  418. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/types.hpp +174 -0
  419. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib++.hpp +34 -0
  420. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/base64.h +91 -0
  421. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli.h +530 -0
  422. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli_console.h +116 -0
  423. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli_imp.h +207 -0
  424. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli_telnet.h +167 -0
  425. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/config.h +373 -0
  426. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/crc32.h +95 -0
  427. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/dns.h +460 -0
  428. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/dns_server.h +116 -0
  429. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/errno.h +455 -0
  430. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/getopt.h +144 -0
  431. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/hmac_md5.h +108 -0
  432. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/hmac_sha1.h +106 -0
  433. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/http_client.h +493 -0
  434. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/json.h +227 -0
  435. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/md5.h +73 -0
  436. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/pcap.h +195 -0
  437. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/resolver.h +515 -0
  438. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/scanner.h +553 -0
  439. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/scanner_cis_bitwise.h +96 -0
  440. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/scanner_cis_uint.h +83 -0
  441. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/sha1.h +79 -0
  442. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/srv_resolver.h +221 -0
  443. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/string.h +101 -0
  444. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/stun_simple.h +288 -0
  445. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/types.h +94 -0
  446. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/xml.h +248 -0
  447. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util.h +75 -0
  448. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib.h +62 -0
  449. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/alaw_ulaw.h +212 -0
  450. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/audiodev.h +761 -0
  451. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/avi.h +201 -0
  452. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/avi_stream.h +195 -0
  453. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/bidirectional.h +66 -0
  454. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/circbuf.h +436 -0
  455. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/clock.h +338 -0
  456. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/codec.h +1192 -0
  457. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/conference.h +599 -0
  458. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/config.h +1713 -0
  459. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/config_auto.h +43 -0
  460. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/config_auto.h.in +42 -0
  461. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/converter.h +386 -0
  462. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/delaybuf.h +175 -0
  463. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/doxygen.h +243 -0
  464. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/echo.h +420 -0
  465. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/echo_port.h +73 -0
  466. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/endpoint.h +389 -0
  467. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/errno.h +693 -0
  468. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/event.h +493 -0
  469. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/format.h +821 -0
  470. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/frame.h +331 -0
  471. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/g711.h +88 -0
  472. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/jbuf.h +484 -0
  473. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/master_port.h +198 -0
  474. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/mem_port.h +241 -0
  475. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/null_port.h +69 -0
  476. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/plc.h +114 -0
  477. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/port.h +565 -0
  478. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/resample.h +199 -0
  479. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtcp.h +511 -0
  480. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtcp_fb.h +487 -0
  481. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtcp_xr.h +477 -0
  482. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtp.h +457 -0
  483. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sdp.h +830 -0
  484. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sdp_neg.h +822 -0
  485. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/session.h +435 -0
  486. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/signatures.h +217 -0
  487. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/silencedet.h +199 -0
  488. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sound.h +353 -0
  489. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sound_port.h +397 -0
  490. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/splitcomb.h +142 -0
  491. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/stereo.h +203 -0
  492. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/stream.h +541 -0
  493. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/stream_common.h +123 -0
  494. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/symbian_sound_aps.h +47 -0
  495. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/tonegen.h +302 -0
  496. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport.h +1069 -0
  497. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_adapter_sample.h +75 -0
  498. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_ice.h +458 -0
  499. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_loop.h +158 -0
  500. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_srtp.h +579 -0
  501. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_udp.h +161 -0
  502. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/types.h +345 -0
  503. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_codec.h +896 -0
  504. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_codec_util.h +194 -0
  505. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_conf.h +310 -0
  506. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_port.h +269 -0
  507. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_stream.h +514 -0
  508. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_tee.h +141 -0
  509. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/videodev.h +859 -0
  510. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wav_playlist.h +131 -0
  511. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wav_port.h +342 -0
  512. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wave.h +183 -0
  513. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wsola.h +218 -0
  514. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/audiodev.h +110 -0
  515. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/audiodev_imp.h +187 -0
  516. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/audiotest.h +115 -0
  517. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/config.h +525 -0
  518. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/errno.h +227 -0
  519. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/amr_helper.h +1236 -0
  520. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/amr_sdp_match.h +60 -0
  521. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/and_aud_mediacodec.h +131 -0
  522. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/and_vid_mediacodec.h +77 -0
  523. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/audio_codecs.h +97 -0
  524. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/bcg729.h +120 -0
  525. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/config.h +720 -0
  526. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/config_auto.h +104 -0
  527. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/config_auto.h.in +103 -0
  528. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/ffmpeg_vid_codecs.h +66 -0
  529. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/g722.h +103 -0
  530. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/g7221.h +164 -0
  531. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/g7221_sdp_match.h +58 -0
  532. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/gsm.h +86 -0
  533. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/h263_packetizer.h +145 -0
  534. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/h264_packetizer.h +163 -0
  535. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/ilbc.h +118 -0
  536. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/ipp_codecs.h +321 -0
  537. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/l16.h +83 -0
  538. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/opencore_amr.h +145 -0
  539. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/openh264.h +68 -0
  540. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/opus.h +160 -0
  541. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/passthrough.h +276 -0
  542. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/silk.h +126 -0
  543. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/speex.h +149 -0
  544. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/types.h +145 -0
  545. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/vid_toolbox.h +70 -0
  546. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/vpx.h +68 -0
  547. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/vpx_packetizer.h +123 -0
  548. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec.h +47 -0
  549. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/avi_dev.h +139 -0
  550. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/config.h +326 -0
  551. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/errno.h +158 -0
  552. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/opengl_dev.h +52 -0
  553. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/videodev.h +119 -0
  554. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/videodev_imp.h +229 -0
  555. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia.h +81 -0
  556. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia_audiodev.h +32 -0
  557. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia_videodev.h +30 -0
  558. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/config.h +596 -0
  559. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/errno.h +225 -0
  560. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/ice_session.h +1122 -0
  561. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/ice_strans.h +1112 -0
  562. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/nat_detect.h +233 -0
  563. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_auth.h +456 -0
  564. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_config.h +135 -0
  565. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_msg.h +1856 -0
  566. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_session.h +763 -0
  567. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_sock.h +496 -0
  568. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_transaction.h +291 -0
  569. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/turn_session.h +968 -0
  570. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/turn_sock.h +673 -0
  571. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/types.h +75 -0
  572. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/upnp.h +147 -0
  573. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath.h +46 -0
  574. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/print_util.h +166 -0
  575. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth.h +637 -0
  576. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth_aka.h +212 -0
  577. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth_msg.h +269 -0
  578. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth_parser.h +74 -0
  579. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_autoconf.h +39 -0
  580. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_autoconf.h.in +38 -0
  581. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_config.h +1545 -0
  582. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_dialog.h +935 -0
  583. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_endpoint.h +715 -0
  584. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_errno.h +544 -0
  585. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_event.h +230 -0
  586. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_module.h +221 -0
  587. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_msg.h +2134 -0
  588. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_multipart.h +276 -0
  589. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_parser.h +465 -0
  590. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_private.h +31 -0
  591. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_resolve.h +347 -0
  592. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_tel_uri.h +83 -0
  593. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transaction.h +542 -0
  594. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport.h +1672 -0
  595. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_loop.h +146 -0
  596. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_tcp.h +300 -0
  597. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_tls.h +642 -0
  598. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_udp.h +389 -0
  599. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_types.h +265 -0
  600. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_ua_layer.h +159 -0
  601. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_uri.h +470 -0
  602. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_util.h +888 -0
  603. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/errno.h +117 -0
  604. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/evsub.h +561 -0
  605. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/evsub_msg.h +119 -0
  606. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/iscomposing.h +137 -0
  607. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/mwi.h +211 -0
  608. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/pidf.h +177 -0
  609. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/presence.h +416 -0
  610. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/publish.h +350 -0
  611. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/rpid.h +150 -0
  612. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/types.h +30 -0
  613. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/xpidf.h +137 -0
  614. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_100rel.h +244 -0
  615. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_inv.h +1224 -0
  616. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_regc.h +497 -0
  617. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_replaces.h +303 -0
  618. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_timer.h +274 -0
  619. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_xfer.h +207 -0
  620. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip.h +61 -0
  621. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip_auth.h +37 -0
  622. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip_simple.h +45 -0
  623. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip_ua.h +31 -0
  624. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua-lib/pjsua.h +8899 -0
  625. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua-lib/pjsua_internal.h +989 -0
  626. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua.h +1 -0
  627. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/account.hpp +2123 -0
  628. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/call.hpp +2253 -0
  629. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/config.hpp +72 -0
  630. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/doxygen.hpp +48 -0
  631. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/endpoint.hpp +2160 -0
  632. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/json.hpp +115 -0
  633. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/media.hpp +2748 -0
  634. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/persistent.hpp +715 -0
  635. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/presence.hpp +368 -0
  636. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/siptypes.hpp +1013 -0
  637. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/types.hpp +283 -0
  638. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2.hpp +28 -0
  639. package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/libVoipCloud.a +0 -0
  640. package/ios/VoipCloudEngine.h +62 -0
  641. package/ios/VoipCloudEngine.mm +571 -0
  642. package/package.json +4 -3
  643. package/react-native-voipcloud.podspec +27 -1
  644. package/react-native.config.js +22 -0
@@ -0,0 +1,1224 @@
1
+ /*
2
+ * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
3
+ * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
4
+ *
5
+ * This program is free software; you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation; either version 2 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program; if not, write to the Free Software
17
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
+ */
19
+ #ifndef __SIP_INVITE_SESSION_H__
20
+ #define __SIP_INVITE_SESSION_H__
21
+
22
+ /**
23
+ * @file sip_inv.h
24
+ * @brief INVITE sessions
25
+ */
26
+
27
+
28
+ #include <pjsip/sip_dialog.h>
29
+ #include <pjmedia/sdp_neg.h>
30
+
31
+
32
+ /**
33
+ * @defgroup PJSIP_HIGH_UA User Agent Library
34
+ * @brief Mid-level User Agent Library.
35
+ *
36
+ * This is the high level user agent library, which consists of:
37
+ * - @ref PJSIP_INV, to encapsulate INVITE sessions and SDP
38
+ * negotiation in the session,
39
+ * - @ref PJSUA_REGC, high level client registration API, and
40
+ * - @ref PJSUA_XFER.
41
+ *
42
+ * More detailed information is explained in
43
+ * <A HREF="/docs.htm">PJSIP Developer's Guide</A>
44
+ * PDF document, and readers are encouraged to read the document to
45
+ * get the concept behind dialog, dialog usages, and INVITE sessions.
46
+ *
47
+ * The User Agent Library is implemented in <b>pjsip-ua</b> static
48
+ * library.
49
+ */
50
+
51
+ /**
52
+ * @defgroup PJSIP_INV INVITE Session
53
+ * @ingroup PJSIP_HIGH_UA
54
+ * @brief Provides INVITE session management.
55
+ * @{
56
+ *
57
+ * The INVITE session uses the @ref PJSIP_DIALOG framework to manage
58
+ * the underlying dialog, and is one type of usages that can use
59
+ * a particular dialog instance (other usages are event subscription,
60
+ * discussed in @ref PJSIP_EVENT_NOT). The INVITE session manages
61
+ * the life-time of the session, and also manages the SDP negotiation.
62
+ *
63
+ * Application must link with <b>pjsip-ua</b> static library to use this API.
64
+ *
65
+ * More detailed information is explained in
66
+ * <A HREF="/docs.htm">PJSIP Developer's Guide</A>
67
+ * PDF document, and readers are encouraged to read the document to
68
+ * get the concept behind dialog, dialog usages, and INVITE sessions.
69
+ *
70
+ * The INVITE session does NOT manage media. If application wants to
71
+ * use API that encapsulates both signaling and media in a very easy
72
+ * to use API, it can use @ref PJSUA_LIB for this purpose.
73
+ */
74
+
75
+ PJ_BEGIN_DECL
76
+
77
+
78
+ /**
79
+ * @see pjsip_inv_session
80
+ */
81
+ typedef struct pjsip_inv_session pjsip_inv_session;
82
+
83
+
84
+ /**
85
+ * This enumeration describes invite session state.
86
+ */
87
+ typedef enum pjsip_inv_state
88
+ {
89
+ PJSIP_INV_STATE_NULL, /**< Before INVITE is sent or received */
90
+ PJSIP_INV_STATE_CALLING, /**< After INVITE is sent */
91
+ PJSIP_INV_STATE_INCOMING, /**< After INVITE is received. */
92
+ PJSIP_INV_STATE_EARLY, /**< After response with To tag. */
93
+ PJSIP_INV_STATE_CONNECTING, /**< After 2xx is sent/received. */
94
+ PJSIP_INV_STATE_CONFIRMED, /**< After ACK is sent/received. */
95
+ PJSIP_INV_STATE_DISCONNECTED, /**< Session is terminated. */
96
+ } pjsip_inv_state;
97
+
98
+ /**
99
+ * Structure to hold parameters when calling the callback
100
+ * on_rx_offer2().
101
+ */
102
+ struct pjsip_inv_on_rx_offer_cb_param
103
+ {
104
+ const pjmedia_sdp_session *offer; /**< Remote offer. */
105
+ const pjsip_rx_data *rdata; /**< The received request. */
106
+ };
107
+
108
+
109
+ /**
110
+ * This structure contains callbacks to be registered by application to
111
+ * receive notifications from the framework about various events in
112
+ * the invite session.
113
+ */
114
+ typedef struct pjsip_inv_callback
115
+ {
116
+ /**
117
+ * This callback is called when the invite sesion state has changed.
118
+ * Application should inspect the session state (inv_sess->state) to get
119
+ * the current state of the session.
120
+ *
121
+ * This callback is mandatory.
122
+ *
123
+ * @param inv The invite session.
124
+ * @param e The event which has caused the invite session's
125
+ * state to change.
126
+ */
127
+ void (*on_state_changed)(pjsip_inv_session *inv, pjsip_event *e);
128
+
129
+ /**
130
+ * This callback is called when the invite usage module has created
131
+ * a new dialog and invite because of forked outgoing request.
132
+ *
133
+ * Currently the invite session does not create a new dialog in
134
+ * forking scenario, so this callback will never be invoked.
135
+ *
136
+ * @param inv The new invite session.
137
+ * @param e The event which has caused the dialog to fork.
138
+ * The type of this event can be either
139
+ * PJSIP_EVENT_RX_MSG or PJSIP_EVENT_RX_200_MSG.
140
+ */
141
+ void (*on_new_session)(pjsip_inv_session *inv, pjsip_event *e);
142
+
143
+ /**
144
+ * This callback is called whenever any transactions within the session
145
+ * has changed their state. Application MAY implement this callback,
146
+ * e.g. to monitor the progress of an outgoing request, or to send
147
+ * response to unhandled incoming request (such as INFO).
148
+ *
149
+ * This callback is optional.
150
+ *
151
+ * @param inv The invite session.
152
+ * @param tsx The transaction, which state has changed.
153
+ * @param e The event which has caused the transation state's
154
+ * to change.
155
+ */
156
+ void (*on_tsx_state_changed)(pjsip_inv_session *inv,
157
+ pjsip_transaction *tsx,
158
+ pjsip_event *e);
159
+
160
+ /**
161
+ * This callback is called when the invite session has received
162
+ * new offer from peer. Application can inspect the remote offer
163
+ * in "offer", and set the SDP answer with #pjsip_inv_set_sdp_answer().
164
+ * When the application sends a SIP message to send the answer,
165
+ * this SDP answer will be negotiated with the offer, and the result
166
+ * will be sent with the SIP message.
167
+ *
168
+ * Note: if callback #on_rx_offer2() is implemented, this callback will
169
+ * not be called.
170
+ *
171
+ * @param inv The invite session.
172
+ * @param offer Remote offer.
173
+ */
174
+ void (*on_rx_offer)(pjsip_inv_session *inv,
175
+ const pjmedia_sdp_session *offer);
176
+
177
+ /**
178
+ * This callback is called when the invite session has received
179
+ * new offer from peer. Variant of #on_rx_offer() callback.
180
+ *
181
+ * @param inv The invite session.
182
+ * @param param The callback parameters.
183
+ */
184
+ void (*on_rx_offer2)(pjsip_inv_session *inv,
185
+ struct pjsip_inv_on_rx_offer_cb_param *param);
186
+
187
+ /**
188
+ * This callback is optional, and is called when the invite session has
189
+ * received a re-INVITE from the peer. It will be called after
190
+ * on_rx_offer() callback and works only for re-INVITEs. It allows more
191
+ * fine-grained control over the response to a re-INVITE, e.g. sending
192
+ * a provisional response first. Application can return PJ_SUCCESS and
193
+ * send a reply using the function #pjsip_inv_initial_answer() or
194
+ * #pjsip_inv_answer(), as with the initial INVITE. If application
195
+ * returns non-PJ_SUCCESS, it needs to set the SDP answer with
196
+ * #pjsip_inv_set_sdp_answer() and the re-INVITE will be answered
197
+ * automatically.
198
+ *
199
+ * Remarks: Application may need to monitor on_tsx_state_changed()
200
+ * callback to check whether the re-INVITE is already answered
201
+ * automatically with 487 due to being cancelled.
202
+ *
203
+ * @param inv The invite session.
204
+ * @param offer Remote offer.
205
+ * @param rdata The received re-INVITE request.
206
+ *
207
+ * @return - PJ_SUCCESS: application will answer the re-INVITE
208
+ * manually
209
+ * - non-PJ_SUCCESS: answer the re-INVITE automatically
210
+ * using the SDP set via #pjsip_inv_set_sdp_answer()
211
+ */
212
+ pj_status_t (*on_rx_reinvite)(pjsip_inv_session *inv,
213
+ const pjmedia_sdp_session *offer,
214
+ pjsip_rx_data *rdata);
215
+
216
+ /**
217
+ * This callback is optional, and it is used to ask the application
218
+ * to create a fresh offer, when the invite session has received
219
+ * re-INVITE without offer. This offer then will be sent in the
220
+ * 200/OK response to the re-INVITE request.
221
+ *
222
+ * If application doesn't implement this callback, the invite session
223
+ * will send the currently active SDP as the offer.
224
+ *
225
+ * @param inv The invite session.
226
+ * @param p_offer Pointer to receive the SDP offer created by
227
+ * application.
228
+ */
229
+ void (*on_create_offer)(pjsip_inv_session *inv,
230
+ pjmedia_sdp_session **p_offer);
231
+
232
+ /**
233
+ * This callback is called after SDP offer/answer session has completed.
234
+ * The status argument specifies the status of the offer/answer,
235
+ * i.e. whether the SDP answer is valid or the negotiation result
236
+ * as returned by pjmedia_sdp_neg_negotiate().
237
+ *
238
+ * This callback is optional (from the point of view of the framework),
239
+ * but all useful applications normally need to implement this callback.
240
+ *
241
+ * @param inv The invite session.
242
+ * @param status The negotiation status.
243
+ */
244
+ void (*on_media_update)(pjsip_inv_session *inv_ses,
245
+ pj_status_t status);
246
+
247
+ /**
248
+ * This callback is called when the framework needs to send
249
+ * ACK request after it receives incoming 2xx response for
250
+ * INVITE. It allows application to manually handle the
251
+ * transmission of ACK request, which is required by some 3PCC
252
+ * scenarios. If this callback is not implemented, the framework
253
+ * will handle the ACK transmission automatically.
254
+ *
255
+ * When this callback is overridden, application may delay the
256
+ * sending of the ACK request (for example, when it needs to
257
+ * wait for answer from the other call leg, in 3PCC scenarios).
258
+ *
259
+ * Application MUST create the ACK request using pjsip_inv_create_ack()
260
+ * and send it using pjsip_inv_send_msg().
261
+ *
262
+ * Once it has sent the ACK request, the framework will keep
263
+ * this ACK request in the cache. Subsequent receipt of 2xx response
264
+ * will not cause this callback to be called (but see exception below),
265
+ * and instead automatic retransmission of this ACK request from
266
+ * the cache will be done by the framework.
267
+ * Exception: if app has created the ACK but has not sent it,
268
+ * while it receives a retransmission of 2xx response, this callback
269
+ * will be called again.
270
+ *
271
+ * This callback is optional.
272
+ */
273
+ void (*on_send_ack)(pjsip_inv_session *inv, pjsip_rx_data *rdata);
274
+
275
+ /**
276
+ * This callback is called when the session is about to resend the
277
+ * INVITE request to the specified target, following the previously
278
+ * received redirection response.
279
+ *
280
+ * Application may accept the redirection to the specified target
281
+ * (the default behavior if this callback is implemented), reject
282
+ * this target only and make the session continue to try the next
283
+ * target in the list if such target exists, stop the whole
284
+ * redirection process altogether and cause the session to be
285
+ * disconnected, or defer the decision to ask for user confirmation.
286
+ *
287
+ * This callback is optional. If this callback is not implemented,
288
+ * the default behavior is to NOT follow the redirection response.
289
+ *
290
+ * @param inv The invite session.
291
+ * @param target The current target to be tried.
292
+ * @param e The event that caused this callback to be called.
293
+ * This could be the receipt of 3xx response, or
294
+ * 4xx/5xx response received for the INVITE sent to
295
+ * subsequent targets, or NULL if this callback is
296
+ * called from within #pjsip_inv_process_redirect()
297
+ * context.
298
+ *
299
+ * @return Action to be performed for the target. Set this
300
+ * parameter to one of the value below:
301
+ * - PJSIP_REDIRECT_ACCEPT: immediately accept the
302
+ * redirection to this target. When set, the
303
+ * session will immediately resend INVITE request
304
+ * to the target after this callback returns.
305
+ * - PJSIP_REDIRECT_REJECT: immediately reject this
306
+ * target. The session will continue retrying with
307
+ * next target if present, or disconnect the call
308
+ * if there is no more target to try.
309
+ * - PJSIP_REDIRECT_STOP: stop the whole redirection
310
+ * process and immediately disconnect the call. The
311
+ * on_state_changed() callback will be called with
312
+ * PJSIP_INV_STATE_DISCONNECTED state immediately
313
+ * after this callback returns.
314
+ * - PJSIP_REDIRECT_PENDING: set to this value if
315
+ * no decision can be made immediately (for example
316
+ * to request confirmation from user). Application
317
+ * then MUST call #pjsip_inv_process_redirect()
318
+ * to either accept or reject the redirection upon
319
+ * getting user decision.
320
+ */
321
+ pjsip_redirect_op (*on_redirected)(pjsip_inv_session *inv,
322
+ const pjsip_uri *target,
323
+ const pjsip_event *e);
324
+
325
+ } pjsip_inv_callback;
326
+
327
+
328
+
329
+ /**
330
+ * This enumeration shows various options that can be applied to a session.
331
+ * The bitmask combination of these options need to be specified when
332
+ * creating a session. After the dialog is established (including early),
333
+ * the options member of #pjsip_inv_session shows which capabilities are
334
+ * common in both endpoints.
335
+ */
336
+ enum pjsip_inv_option
337
+ {
338
+ /**
339
+ * Indicate support for reliable provisional response extension
340
+ */
341
+ PJSIP_INV_SUPPORT_100REL = 1,
342
+
343
+ /**
344
+ * Indicate support for session timer extension.
345
+ */
346
+ PJSIP_INV_SUPPORT_TIMER = 2,
347
+
348
+ /**
349
+ * Indicate support for UPDATE method. This is automatically implied
350
+ * when creating outgoing dialog. After the dialog is established,
351
+ * the options member of #pjsip_inv_session shows whether peer supports
352
+ * this method as well.
353
+ */
354
+ PJSIP_INV_SUPPORT_UPDATE = 4,
355
+
356
+ /**
357
+ * Indicate support for ICE
358
+ */
359
+ PJSIP_INV_SUPPORT_ICE = 8,
360
+
361
+ /**
362
+ * Require ICE support.
363
+ */
364
+ PJSIP_INV_REQUIRE_ICE = 16,
365
+
366
+ /**
367
+ * Require reliable provisional response extension.
368
+ */
369
+ PJSIP_INV_REQUIRE_100REL = 32,
370
+
371
+ /**
372
+ * Require session timer extension.
373
+ */
374
+ PJSIP_INV_REQUIRE_TIMER = 64,
375
+
376
+ /**
377
+ * Session timer extension will always be used even when peer doesn't
378
+ * support/want session timer.
379
+ */
380
+ PJSIP_INV_ALWAYS_USE_TIMER = 128,
381
+
382
+ /**
383
+ * Indicate support for trickle ICE
384
+ */
385
+ PJSIP_INV_SUPPORT_TRICKLE_ICE = 256,
386
+
387
+ /**
388
+ * Require trickle ICE support.
389
+ */
390
+ PJSIP_INV_REQUIRE_TRICKLE_ICE = 512,
391
+
392
+ };
393
+
394
+ /* Forward declaration of Session Timers */
395
+ struct pjsip_timer;
396
+
397
+ /**
398
+ * This structure describes the invite session.
399
+ *
400
+ * Note regarding the invite session's pools. The inv_sess used to have
401
+ * only one pool, which is just a pointer to the dialog's pool. Ticket
402
+ * https://github.com/pjsip/pjproject/issues/877 has found that the memory
403
+ * usage will grow considerably everytime re-INVITE or UPDATE is
404
+ * performed.
405
+ *
406
+ * Ticket #877 then created two more memory pools for the inv_sess, so
407
+ * now we have three memory pools:
408
+ * - pool: to be used to allocate long term data for the session
409
+ * - pool_prov and pool_active: this is a flip-flop pools to be used
410
+ * interchangably during re-INVITE and UPDATE. pool_prov is
411
+ * "provisional" pool, used to allocate SDP offer or answer for
412
+ * the re-INVITE and UPDATE. Once SDP negotiation is done, the
413
+ * provisional pool will be made as the active pool, then the
414
+ * existing active pool will be reset, to release the memory
415
+ * back to the OS. So these pool's lifetime is synchronized to
416
+ * the SDP offer-answer negotiation.
417
+ *
418
+ * Higher level application such as PJSUA-LIB has been modified to
419
+ * make use of these flip-flop pools, i.e. by creating media objects
420
+ * from the provisional pool rather than from the long term pool.
421
+ *
422
+ * Other applications that want to use these pools must understand
423
+ * that the flip-flop pool's lifetimes are synchronized to the
424
+ * SDP offer-answer negotiation.
425
+ *
426
+ * The lifetime of this session is controlled by the reference counter in this
427
+ * structure, which is manipulated by calling #pjsip_inv_add_ref and
428
+ * #pjsip_inv_dec_ref. When the reference counter has reached zero, then
429
+ * this session will be destroyed.
430
+ */
431
+ struct pjsip_inv_session
432
+ {
433
+ char obj_name[PJ_MAX_OBJ_NAME]; /**< Log identification */
434
+ pj_pool_t *pool; /**< Long term pool. */
435
+ pj_pool_t *pool_prov; /**< Provisional pool */
436
+ pj_pool_t *pool_active; /**< Active/current pool*/
437
+ pjsip_inv_state state; /**< Invite sess state. */
438
+ pj_bool_t cancelling; /**< CANCEL requested */
439
+ pj_bool_t pending_cancel; /**< Wait to send CANCEL*/
440
+ pjsip_tx_data *pending_bye; /**< BYE to send later */
441
+ pjsip_status_code cause; /**< Disconnect cause. */
442
+ pj_str_t cause_text; /**< Cause text. */
443
+ pj_bool_t notify; /**< Internal. */
444
+ pj_bool_t sdp_done_early_rel; /**< Nego done in early
445
+ med was reliable? */
446
+ unsigned cb_called; /**< Cb has been called */
447
+ pjsip_dialog *dlg; /**< Underlying dialog. */
448
+ pjsip_role_e role; /**< Invite role. */
449
+ unsigned options; /**< Options in use. */
450
+ pjmedia_sdp_neg *neg; /**< Negotiator. */
451
+ unsigned sdp_neg_flags; /**< SDP neg flags. */
452
+ pjsip_transaction *invite_tsx; /**< 1st invite tsx. */
453
+ pjsip_tx_data *invite_req; /**< Saved invite req */
454
+ pjsip_tx_data *last_answer; /**< Last INVITE resp. */
455
+ pjsip_tx_data *last_ack; /**< Last ACK request */
456
+ pj_int32_t last_ack_cseq; /**< CSeq of last ACK */
457
+ void *mod_data[PJSIP_MAX_MODULE];/**< Modules data. */
458
+ struct pjsip_timer *timer; /**< Session Timers. */
459
+ pj_bool_t following_fork; /**< Internal, following
460
+ forked media? */
461
+ pj_atomic_t *ref_cnt; /**< Reference counter. */
462
+ pj_bool_t updated_sdp_answer; /**< SDP answer just been
463
+ updated? */
464
+ };
465
+
466
+
467
+ /**
468
+ * This structure represents SDP information in a pjsip_(rx|tx)_data. Application
469
+ * retrieve this information by calling #pjsip_get_sdp_info(). This
470
+ * mechanism supports multipart message body.
471
+ */
472
+ typedef struct pjsip_sdp_info
473
+ {
474
+ /**
475
+ * Pointer and length of the text body in the incoming message. If
476
+ * the pointer is NULL, it means the message does not contain SDP
477
+ * body.
478
+ */
479
+ pj_str_t body;
480
+
481
+ /**
482
+ * This will contain non-zero if an invalid SDP body is found in the
483
+ * message.
484
+ */
485
+ pj_status_t sdp_err;
486
+
487
+ /**
488
+ * A parsed and validated SDP body.
489
+ */
490
+ pjmedia_sdp_session *sdp;
491
+
492
+ } pjsip_sdp_info;
493
+
494
+ /**
495
+ * For backwards compatibility and completeness,
496
+ * pjsip_rdata_sdp_info and pjsip_tdata_sdp_info
497
+ * are typedef'd to pjsip_sdp_info.
498
+ */
499
+ typedef pjsip_sdp_info pjsip_rdata_sdp_info;
500
+
501
+ /**
502
+ * For backwards compatibility and completeness,
503
+ * pjsip_rdata_sdp_info and pjsip_tdata_sdp_info
504
+ * are typedef'd to pjsip_sdp_info.
505
+ */
506
+ typedef pjsip_sdp_info pjsip_tdata_sdp_info;
507
+
508
+
509
+ /**
510
+ * Initialize the invite usage module and register it to the endpoint.
511
+ * The callback argument contains pointer to functions to be called on
512
+ * occurences of events in invite sessions.
513
+ *
514
+ * @param endpt The endpoint instance.
515
+ * @param cb Callback structure.
516
+ *
517
+ * @return PJ_SUCCESS on success, or the appropriate error code.
518
+ */
519
+ PJ_DECL(pj_status_t) pjsip_inv_usage_init(pjsip_endpoint *endpt,
520
+ const pjsip_inv_callback *cb);
521
+
522
+ /**
523
+ * Get the INVITE usage module instance.
524
+ *
525
+ * @return PJ_SUCCESS on success, or the appropriate error code.
526
+ */
527
+ PJ_DECL(pjsip_module*) pjsip_inv_usage_instance(void);
528
+
529
+
530
+ /**
531
+ * Dump user agent contents (e.g. all dialogs).
532
+ */
533
+ PJ_DECL(void) pjsip_inv_usage_dump(void);
534
+
535
+
536
+ /**
537
+ * Create UAC invite session for the specified dialog in dlg.
538
+ *
539
+ * @param dlg The dialog which will be used by this invite session.
540
+ * @param local_sdp If application has determined its media capability,
541
+ * it can specify the SDP here. Otherwise it can leave
542
+ * this to NULL, if app wishes to specify the SDP at
543
+ * a later time using the API pjsip_inv_set_local_sdp(),
544
+ * or if it wants to let remote UAS specify an offer.
545
+ * @param options The options argument is bitmask combination of SIP
546
+ * features in pjsip_inv_option enumeration.
547
+ * @param p_inv On successful return, the invite session will be put
548
+ * in this argument.
549
+ *
550
+ * @return The function will return PJ_SUCCESS if it can create
551
+ * the session. Otherwise the appropriate error status
552
+ * will be returned on failure.
553
+ */
554
+ PJ_DECL(pj_status_t) pjsip_inv_create_uac(pjsip_dialog *dlg,
555
+ const pjmedia_sdp_session *local_sdp,
556
+ unsigned options,
557
+ pjsip_inv_session **p_inv);
558
+
559
+
560
+ /**
561
+ * Application SHOULD call this function upon receiving the initial INVITE
562
+ * request in rdata before creating the invite session (or even dialog),
563
+ * to verify that the invite session can handle the INVITE request.
564
+ * This function verifies that local endpoint is capable to handle required
565
+ * SIP extensions in the request (i.e. Require header) and also the media,
566
+ * if media description is present in the request.
567
+ *
568
+ * @param rdata The incoming INVITE request.
569
+ *
570
+ * @param options Upon calling this function, the options argument
571
+ * MUST contain the desired SIP extensions to be
572
+ * applied to the session. Upon return, this argument
573
+ * will contain the SIP extension that will be applied
574
+ * to the session, after considering the Supported,
575
+ * Require, and Allow headers in the request.
576
+ *
577
+ * @param sdp If local media capability has been determined,
578
+ * and if application wishes to verify that it can
579
+ * handle the media offer in the incoming INVITE
580
+ * request, it SHOULD specify its local media capability
581
+ * in this argument.
582
+ * If it is not specified, media verification will not
583
+ * be performed by this function.
584
+ *
585
+ * @param dlg If tdata is not NULL, application needs to specify
586
+ * how to create the response. Either dlg or endpt
587
+ * argument MUST be specified, with dlg argument takes
588
+ * precedence when both are specified.
589
+ *
590
+ * If a dialog has been created prior to calling this
591
+ * function, then it MUST be specified in dlg argument.
592
+ * Otherwise application MUST specify the endpt argument
593
+ * (this is useful e.g. when application wants to send
594
+ * the response statelessly).
595
+ *
596
+ * @param endpt If tdata is not NULL, application needs to specify
597
+ * how to create the response. Either dlg or endpt
598
+ * argument MUST be specified, with dlg argument takes
599
+ * precedence when both are specified.
600
+ *
601
+ * @param tdata If this argument is not NULL, this function will
602
+ * create the appropriate non-2xx final response message
603
+ * when the verification fails.
604
+ *
605
+ * @return If everything has been negotiated successfully,
606
+ * the function will return PJ_SUCCESS. Otherwise it
607
+ * will return the reason of the failure as the return
608
+ * code.
609
+ *
610
+ * This function is capable to create the appropriate
611
+ * response message when the verification has failed.
612
+ * If tdata is specified, then a non-2xx final response
613
+ * will be created and put in this argument upon return,
614
+ * when the verification has failed.
615
+ *
616
+ * If a dialog has been created prior to calling this
617
+ * function, then it MUST be specified in dlg argument.
618
+ * Otherwise application MUST specify the endpt argument
619
+ * (this is useful e.g. when application wants to send
620
+ * the response statelessly).
621
+ *
622
+ * @see pjsip_inv_verify_request2()
623
+ */
624
+ PJ_DECL(pj_status_t) pjsip_inv_verify_request( pjsip_rx_data *rdata,
625
+ unsigned *options,
626
+ const pjmedia_sdp_session *sdp,
627
+ pjsip_dialog *dlg,
628
+ pjsip_endpoint *endpt,
629
+ pjsip_tx_data **tdata);
630
+
631
+ /**
632
+ * Variant of #pjsip_inv_verify_request() which allows application to specify
633
+ * the parsed SDP in the \a offer argument. This is useful to avoid having to
634
+ * re-parse the SDP in the incoming request.
635
+ *
636
+ * @see pjsip_inv_verify_request()
637
+ */
638
+ PJ_DECL(pj_status_t) pjsip_inv_verify_request2( pjsip_rx_data *rdata,
639
+ unsigned *options,
640
+ const pjmedia_sdp_session *offer,
641
+ const pjmedia_sdp_session *answer,
642
+ pjsip_dialog *dlg,
643
+ pjsip_endpoint *endpt,
644
+ pjsip_tx_data **tdata);
645
+
646
+ /**
647
+ * Variant of #pjsip_inv_verify_request() which allows application not to
648
+ * specify the rdata (i.e. pass NULL as the rdata parameter) and specify
649
+ * the parsed SDP in the \a offer argument and a temporary pool in the
650
+ * \a tmp_pool argument.
651
+ * This is useful if application no longer has access to the rdata.
652
+ *
653
+ * @see pjsip_inv_verify_request()
654
+ */
655
+ PJ_DECL(pj_status_t) pjsip_inv_verify_request3( pjsip_rx_data *rdata,
656
+ pj_pool_t *tmp_pool,
657
+ unsigned *options,
658
+ const pjmedia_sdp_session *offer,
659
+ const pjmedia_sdp_session *answer,
660
+ pjsip_dialog *dlg,
661
+ pjsip_endpoint *endpt,
662
+ pjsip_tx_data **tdata);
663
+
664
+
665
+ /**
666
+ * Create UAS invite session for the specified dialog in dlg. Application
667
+ * SHOULD call the verification function before calling this function,
668
+ * to ensure that it can create the session successfully.
669
+ *
670
+ * @param dlg The dialog to be used.
671
+ * @param rdata Application MUST specify the received INVITE request
672
+ * in rdata. The invite session needs to inspect the
673
+ * received request to see if the request contains
674
+ * features that it supports.
675
+ * @param local_sdp If application has determined its media capability,
676
+ * it can specify this capability in this argument.
677
+ * If SDP is received in the initial INVITE, the UAS
678
+ * capability specified in this argument doesn't have to
679
+ * match the received offer; the SDP negotiator is able
680
+ * to rearrange the media lines in the answer so that it
681
+ * matches the offer.
682
+ * @param options The options argument is bitmask combination of SIP
683
+ * features in pjsip_inv_option enumeration.
684
+ * @param p_inv Pointer to receive the newly created invite session.
685
+ *
686
+ * @return On successful, the invite session will be put in
687
+ * p_inv argument and the function will return PJ_SUCCESS.
688
+ * Otherwise the appropriate error status will be returned
689
+ * on failure.
690
+ */
691
+ PJ_DECL(pj_status_t) pjsip_inv_create_uas(pjsip_dialog *dlg,
692
+ pjsip_rx_data *rdata,
693
+ const pjmedia_sdp_session *local_sdp,
694
+ unsigned options,
695
+ pjsip_inv_session **p_inv);
696
+
697
+
698
+ /**
699
+ * Add reference counter to the INVITE session. The reference counter controls
700
+ * the life time of the session, ie. when the counter reaches zero, then it
701
+ * will be destroyed.
702
+ *
703
+ * @param inv The INVITE session.
704
+ * @return PJ_SUCCESS if the INVITE session reference counter
705
+ * was increased.
706
+ */
707
+ PJ_DECL(pj_status_t) pjsip_inv_add_ref( pjsip_inv_session *inv );
708
+
709
+ /**
710
+ * Decrement reference counter of the INVITE session.
711
+ * When the session is no longer used, it will be destroyed and
712
+ * caller is informed with PJ_EGONE return status.
713
+ *
714
+ * @param inv The INVITE session.
715
+ * @return PJ_SUCCESS if the INVITE session reference counter
716
+ * was decreased. A status PJ_EGONE will be returned to
717
+ * inform that session is destroyed.
718
+ */
719
+ PJ_DECL(pj_status_t) pjsip_inv_dec_ref( pjsip_inv_session *inv );
720
+
721
+
722
+ /**
723
+ * Forcefully terminate and destroy INVITE session, regardless of
724
+ * the state of the session. Note that this function should only be used
725
+ * when there is failure in the INVITE session creation. After the
726
+ * invite session has been created and initialized, normally application
727
+ * SHOULD use #pjsip_inv_end_session() to end the INVITE session instead.
728
+ *
729
+ * Note also that this function may terminate the underlying dialog, if
730
+ * there are no other sessions in the dialog.
731
+ *
732
+ * @param inv The invite session.
733
+ * @param st_code Status code for the reason of the termination.
734
+ * @param notify If set to non-zero, then on_state_changed()
735
+ * callback will be called.
736
+ *
737
+ * @return PJ_SUCCESS if the INVITE session has been
738
+ * terminated.
739
+ */
740
+ PJ_DECL(pj_status_t) pjsip_inv_terminate( pjsip_inv_session *inv,
741
+ int st_code,
742
+ pj_bool_t notify );
743
+
744
+
745
+ /**
746
+ * Restart UAC session and prepare the session for a new initial INVITE.
747
+ * This function can be called for example when the application wants to
748
+ * follow redirection response with a new call reusing this session so
749
+ * that the new call will have the same Call-ID and From headers. After
750
+ * the session is restarted, application may create and send a new INVITE
751
+ * request.
752
+ *
753
+ * @param inv The invite session.
754
+ * @param new_offer Should be set to PJ_TRUE since the application will
755
+ * restart the session.
756
+ *
757
+ * @return PJ_SUCCESS on successful operation.
758
+ */
759
+ PJ_DECL(pj_status_t) pjsip_inv_uac_restart(pjsip_inv_session *inv,
760
+ pj_bool_t new_offer);
761
+
762
+
763
+ /**
764
+ * Accept or reject redirection response. Application MUST call this function
765
+ * after it signaled PJSIP_REDIRECT_PENDING in the \a on_redirected()
766
+ * callback, to notify the invite session whether to accept or reject the
767
+ * redirection to the current target. Application can use the combination of
768
+ * PJSIP_REDIRECT_PENDING command in \a on_redirected() callback and this
769
+ * function to ask for user permission before redirecting the call.
770
+ *
771
+ * Note that if the application chooses to reject or stop redirection (by
772
+ * using PJSIP_REDIRECT_REJECT or PJSIP_REDIRECT_STOP respectively), the
773
+ * session disconnection callback will be called before this function returns.
774
+ * And if the application rejects the target, the \a on_redirected() callback
775
+ * may also be called before this function returns if there is another target
776
+ * to try.
777
+ *
778
+ * @param inv The invite session.
779
+ * @param cmd Redirection operation. The semantic of this argument
780
+ * is similar to the description in the \a on_redirected()
781
+ * callback, except that the PJSIP_REDIRECT_PENDING is
782
+ * not accepted here.
783
+ * @param e Should be set to NULL.
784
+ *
785
+ * @return PJ_SUCCESS on successful operation.
786
+ */
787
+ PJ_DECL(pj_status_t) pjsip_inv_process_redirect(pjsip_inv_session *inv,
788
+ pjsip_redirect_op cmd,
789
+ pjsip_event *e);
790
+
791
+
792
+ /**
793
+ * Create the initial INVITE request for this session. This function can only
794
+ * be called for UAC session. If local media capability is specified when
795
+ * the invite session was created, then this function will put an SDP offer
796
+ * in the outgoing INVITE request. Otherwise the outgoing request will not
797
+ * contain SDP body.
798
+ *
799
+ * @param inv The UAC invite session.
800
+ * @param p_tdata The initial INVITE request will be put in this
801
+ * argument if it can be created successfully.
802
+ *
803
+ * @return PJ_SUCCESS if the INVITE request can be created.
804
+ */
805
+ PJ_DECL(pj_status_t) pjsip_inv_invite( pjsip_inv_session *inv,
806
+ pjsip_tx_data **p_tdata );
807
+
808
+
809
+ /**
810
+ * Create the initial response message for the incoming INVITE request in
811
+ * rdata with status code st_code and optional status text st_text. Use
812
+ * #pjsip_inv_answer() to create subsequent response message.
813
+ *
814
+ * When this function returning non-PJ_SUCCESS, it may be caused by an
815
+ * unacceptable INVITE request. In such cases the function will generate
816
+ * an appropriate answer in p_tdata,
817
+ * e.g: when session timer header Session-Expires is too low,
818
+ * the generated answer will include Min-SE header.
819
+ * If the generated answer is not sent, it must be destroyed.
820
+ * i.e: using #pjsip_tx_data_dec_ref(), to avoid resource leak.
821
+ *
822
+ * @param inv The UAS invite session.
823
+ * @param rdata The incoming request message.
824
+ * @param st_code The st_code contains the status code to be sent,
825
+ * which may be a provisional or final response.
826
+ * @param st_text If custom status text is desired, application can
827
+ * specify the text in st_text; otherwise if this
828
+ * argument is NULL, default status text will be used.
829
+ * @param sdp If application has specified its media capability
830
+ * during creation of UAS invite session, the sdp
831
+ * argument MUST be NULL. This is because application
832
+ * can not perform more than one SDP offer/answer session
833
+ * in a single INVITE transaction.
834
+ * If application has not specified its media capability
835
+ * during creation of UAS invite session, it MAY or MUST
836
+ * specify its capability in sdp argument,
837
+ * depending whether st_code indicates a 2xx final
838
+ * response.
839
+ * @param p_tdata Pointer to receive the response message created by
840
+ * this function.
841
+ *
842
+ * @return PJ_SUCCESS if response message was created
843
+ * successfully.
844
+ */
845
+ PJ_DECL(pj_status_t) pjsip_inv_initial_answer( pjsip_inv_session *inv,
846
+ pjsip_rx_data *rdata,
847
+ int st_code,
848
+ const pj_str_t *st_text,
849
+ const pjmedia_sdp_session *sdp,
850
+ pjsip_tx_data **p_tdata);
851
+
852
+ /**
853
+ * Create a response message to an INVITE request.
854
+ *
855
+ * @param inv The UAS invite session.
856
+ * @param st_code The st_code contains the status code to be sent,
857
+ * which may be a provisional or final response.
858
+ * @param st_text If custom status text is desired, application can
859
+ * specify the text in st_text; otherwise if this
860
+ * argument is NULL, default status text will be used.
861
+ * @param local_sdp If application has specified its media capability
862
+ * during creation of UAS invite session, the local_sdp
863
+ * argument MUST be NULL. This is because application
864
+ * can not perform more than one SDP offer/answer session
865
+ * in a single INVITE transaction.
866
+ * If application has not specified its media capability
867
+ * during creation of UAS invite session, it MAY or MUST
868
+ * specify its capability in local_sdp argument,
869
+ * depending whether st_code indicates a 2xx final
870
+ * response.
871
+ * @param p_tdata Pointer to receive the response message created by
872
+ * this function.
873
+ *
874
+ * @return PJ_SUCCESS if response message was created
875
+ * successfully.
876
+ */
877
+ PJ_DECL(pj_status_t) pjsip_inv_answer( pjsip_inv_session *inv,
878
+ int st_code,
879
+ const pj_str_t *st_text,
880
+ const pjmedia_sdp_session *local_sdp,
881
+ pjsip_tx_data **p_tdata );
882
+
883
+
884
+ /**
885
+ * Set local offer or answer depending on negotiator state (it may also
886
+ * create a negotiator if it doesn't exist yet).
887
+ *
888
+ * @param inv The invite session.
889
+ * @param sdp The SDP description which will be set as
890
+ * an offer/answer to remote.
891
+ *
892
+ * @return PJ_SUCCESS if local offer/answer can be accepted by
893
+ * SDP negotiator.
894
+ */
895
+ PJ_DECL(pj_status_t) pjsip_inv_set_local_sdp(pjsip_inv_session *inv,
896
+ const pjmedia_sdp_session *sdp );
897
+
898
+
899
+ /**
900
+ * Set local answer to respond to remote SDP offer, to be carried by
901
+ * subsequent response (or request).
902
+ *
903
+ * @param inv The invite session.
904
+ * @param sdp The SDP description which will be set as answer
905
+ * to remote.
906
+ *
907
+ * @return PJ_SUCCESS if local answer can be accepted by
908
+ * SDP negotiator.
909
+ */
910
+ PJ_DECL(pj_status_t) pjsip_inv_set_sdp_answer(pjsip_inv_session *inv,
911
+ const pjmedia_sdp_session *sdp );
912
+
913
+
914
+ /**
915
+ * Create a SIP message to initiate invite session termination. Depending on
916
+ * the state of the session, this function may return CANCEL request,
917
+ * a non-2xx final response, a BYE request, or even no request.
918
+ *
919
+ * For UAS, if the session has not answered the incoming INVITE, this function
920
+ * creates the non-2xx final response with the specified status code in
921
+ * \a st_code and optional status text in \a st_text.
922
+ *
923
+ * For UAC, if the original INVITE has not been answered with a final
924
+ * response, the behavior depends on whether provisional response has been
925
+ * received. If provisional response has been received, this function will
926
+ * create CANCEL request. If no provisional response has been received, the
927
+ * function will not create CANCEL request (the function will return
928
+ * PJ_SUCCESS but the \a p_tdata will contain NULL) because we cannot send
929
+ * CANCEL before receiving provisional response. If then a provisional
930
+ * response is received, the invite session will send CANCEL automatically.
931
+ *
932
+ * For both UAC and UAS, if the INVITE session has been answered with final
933
+ * response, a BYE request will be created.
934
+ *
935
+ * @param inv The invite session.
936
+ * @param st_code Status code to be used for terminating the session.
937
+ * @param st_text Optional status text.
938
+ * @param p_tdata Pointer to receive the message to be created. Note
939
+ * that it's possible to receive NULL here while the
940
+ * function returns PJ_SUCCESS, see the description.
941
+ *
942
+ * @return PJ_SUCCESS if termination is initiated.
943
+ */
944
+ PJ_DECL(pj_status_t) pjsip_inv_end_session( pjsip_inv_session *inv,
945
+ int st_code,
946
+ const pj_str_t *st_text,
947
+ pjsip_tx_data **p_tdata );
948
+
949
+
950
+ /**
951
+ * Create a CANCEL request for an ongoing re-INVITE transaction. If no
952
+ * provisional response has been received, the function will not create
953
+ * CANCEL request (the function will return PJ_SUCCESS but the \a p_tdata
954
+ * will contain NULL) because we cannot send CANCEL before receiving
955
+ * provisional response. If then a provisional response is received,
956
+ * the invite session will send CANCEL automatically.
957
+ *
958
+ * @param inv The invite session.
959
+ * @param p_tdata Pointer to receive the message to be created. Note
960
+ * that it's possible to receive NULL here while the
961
+ * function returns PJ_SUCCESS, see the description.
962
+ *
963
+ * @return PJ_SUCCESS if termination is initiated.
964
+ */
965
+ PJ_DECL(pj_status_t) pjsip_inv_cancel_reinvite( pjsip_inv_session *inv,
966
+ pjsip_tx_data **p_tdata );
967
+
968
+
969
+ /**
970
+ * Create a re-INVITE request.
971
+ *
972
+ * @param inv The invite session.
973
+ * @param new_contact If application wants to update its local contact and
974
+ * inform peer to perform target refresh with a new
975
+ * contact, it can specify the new contact in this
976
+ * argument; otherwise this argument must be NULL.
977
+ * @param new_offer Application MAY initiate a new SDP offer/answer
978
+ * session in the request when there is no pending
979
+ * answer to be sent or received. It can detect this
980
+ * condition by observing the state of the SDP
981
+ * negotiator of the invite session. If new offer
982
+ * should be sent to remote, the offer must be specified
983
+ * in this argument, otherwise it must be NULL.
984
+ * @param p_tdata Pointer to receive the re-INVITE request message to
985
+ * be created.
986
+ *
987
+ * @return PJ_SUCCESS if a re-INVITE request with the specified
988
+ * characteristics (e.g. to contain new offer) can be
989
+ * created.
990
+ */
991
+ PJ_DECL(pj_status_t) pjsip_inv_reinvite(pjsip_inv_session *inv,
992
+ const pj_str_t *new_contact,
993
+ const pjmedia_sdp_session *new_offer,
994
+ pjsip_tx_data **p_tdata );
995
+
996
+
997
+
998
+ /**
999
+ * Create an UPDATE request to initiate new SDP offer.
1000
+ *
1001
+ * @param inv The invite session.
1002
+ * @param new_contact If application wants to update its local contact
1003
+ * and inform peer to perform target refresh with a new
1004
+ * contact, it can specify the new contact in this
1005
+ * argument; otherwise this argument must be NULL.
1006
+ * @param offer Offer to be sent to remote. This argument is
1007
+ * mandatory.
1008
+ * @param p_tdata Pointer to receive the UPDATE request message to
1009
+ * be created.
1010
+ *
1011
+ * @return PJ_SUCCESS if a UPDATE request with the specified
1012
+ * characteristics (e.g. to contain new offer) can be
1013
+ * created.
1014
+ */
1015
+ PJ_DECL(pj_status_t) pjsip_inv_update ( pjsip_inv_session *inv,
1016
+ const pj_str_t *new_contact,
1017
+ const pjmedia_sdp_session *offer,
1018
+ pjsip_tx_data **p_tdata );
1019
+
1020
+
1021
+ /**
1022
+ * Create an ACK request. Normally ACK request transmission is handled
1023
+ * by the framework. Application only needs to use this function if it
1024
+ * handles the ACK transmission manually, by overriding \a on_send_ack()
1025
+ * callback in #pjsip_inv_callback.
1026
+ *
1027
+ * Note that if the invite session has a pending offer to be answered
1028
+ * (for example when the last 2xx response to INVITE contains an offer),
1029
+ * application MUST have set the SDP answer with #pjsip_inv_set_sdp_answer()
1030
+ * prior to creating the ACK request. In this case, the ACK request
1031
+ * will be added with SDP message body.
1032
+ *
1033
+ * @param inv The invite session.
1034
+ * @param cseq Mandatory argument to specify the CSeq of the
1035
+ * ACK request. This value MUST match the value
1036
+ * of the INVITE transaction to be acknowledged.
1037
+ * @param p_tdata Pointer to receive the ACK request message to
1038
+ * be created.
1039
+ *
1040
+ * @return PJ_SUCCESS if ACK request has been created.
1041
+ */
1042
+ PJ_DECL(pj_status_t) pjsip_inv_create_ack(pjsip_inv_session *inv,
1043
+ int cseq,
1044
+ pjsip_tx_data **p_tdata);
1045
+
1046
+
1047
+ /**
1048
+ * Send request or response message in tdata.
1049
+ *
1050
+ * @param inv The invite session.
1051
+ * @param tdata The message to be sent.
1052
+ *
1053
+ * @return PJ_SUCCESS if transaction can be initiated
1054
+ * successfully to send this message. Note that the
1055
+ * actual final state of the transaction itself will
1056
+ * be reported later, in on_tsx_state_changed()
1057
+ * callback.
1058
+ */
1059
+ PJ_DECL(pj_status_t) pjsip_inv_send_msg(pjsip_inv_session *inv,
1060
+ pjsip_tx_data *tdata);
1061
+
1062
+
1063
+ /**
1064
+ * Get the invite session for the dialog, if any.
1065
+ *
1066
+ * @param dlg The dialog which invite session is being queried.
1067
+ *
1068
+ * @return The invite session instance which has been
1069
+ * associated with this dialog, or NULL.
1070
+ */
1071
+ PJ_DECL(pjsip_inv_session*) pjsip_dlg_get_inv_session(pjsip_dialog *dlg);
1072
+
1073
+ /**
1074
+ * Get the invite session instance associated with transaction tsx, if any.
1075
+ *
1076
+ * @param tsx The transaction, which invite session is being
1077
+ * queried.
1078
+ *
1079
+ * @return The invite session instance which has been
1080
+ * associated with this transaction, or NULL.
1081
+ */
1082
+ PJ_DECL(pjsip_inv_session*) pjsip_tsx_get_inv_session(pjsip_transaction *tsx);
1083
+
1084
+
1085
+ /**
1086
+ * Get state names for INVITE session state.
1087
+ *
1088
+ * @param state The invite state.
1089
+ *
1090
+ * @return String describing the state.
1091
+ */
1092
+ PJ_DECL(const char *) pjsip_inv_state_name(pjsip_inv_state state);
1093
+
1094
+
1095
+ /**
1096
+ * This is a utility function to create SIP body for SDP content.
1097
+ *
1098
+ * @param pool Pool to allocate memory.
1099
+ * @param sdp SDP session to be put in the SIP message body.
1100
+ * @param p_body Pointer to receive SIP message body containing
1101
+ * the SDP session.
1102
+ *
1103
+ * @return PJ_SUCCESS on success.
1104
+ */
1105
+ PJ_DECL(pj_status_t) pjsip_create_sdp_body(pj_pool_t *pool,
1106
+ pjmedia_sdp_session *sdp,
1107
+ pjsip_msg_body **p_body);
1108
+
1109
+ /**
1110
+ * This is a utility function to create a multipart body with the
1111
+ * SIP body as the first part.
1112
+ *
1113
+ * @param pool Pool to allocate memory.
1114
+ * @param sdp SDP session to be put in the SIP message body.
1115
+ * @param p_body Pointer to receive SIP message body containing
1116
+ * the SDP session.
1117
+ *
1118
+ * @return PJ_SUCCESS on success.
1119
+ */
1120
+ PJ_DECL(pj_status_t) pjsip_create_multipart_sdp_body( pj_pool_t *pool,
1121
+ pjmedia_sdp_session *sdp,
1122
+ pjsip_msg_body **p_body);
1123
+
1124
+ /**
1125
+ * Retrieve SDP information from a message body. Application should
1126
+ * prefer to use this function rather than parsing the SDP manually since
1127
+ * this function supports multipart message body.
1128
+ *
1129
+ * This function will only parse the SDP once, the first time it is called
1130
+ * on the same message. Subsequent call on the same message will just pick
1131
+ * up the already parsed SDP from the message.
1132
+ *
1133
+ * @param pool Pool to allocate memory.
1134
+ * @param body The message body.
1135
+ * @param msg_media_type From the rdata or tdata Content-Type header, if available.
1136
+ * If NULL, the content_type from the body will be used.
1137
+ * @param search_media_type The media type to search for.
1138
+ * If NULL, "application/sdp" will be used.
1139
+ *
1140
+ * @return The SDP info.
1141
+ */
1142
+ PJ_DECL(pjsip_sdp_info*) pjsip_get_sdp_info(pj_pool_t *pool,
1143
+ pjsip_msg_body *body,
1144
+ pjsip_media_type *msg_media_type,
1145
+ const pjsip_media_type *search_media_type);
1146
+
1147
+ /**
1148
+ * Retrieve SDP information from an incoming message. Application should
1149
+ * prefer to use this function rather than parsing the SDP manually since
1150
+ * this function supports multipart message body.
1151
+ *
1152
+ * This function will only parse the SDP once, the first time it is called
1153
+ * on the same message. Subsequent call on the same message will just pick
1154
+ * up the already parsed SDP from the message.
1155
+ *
1156
+ * @param rdata The incoming message.
1157
+ *
1158
+ * @return The SDP info.
1159
+ */
1160
+ PJ_DECL(pjsip_rdata_sdp_info*) pjsip_rdata_get_sdp_info(pjsip_rx_data *rdata);
1161
+
1162
+
1163
+ /**
1164
+ * Retrieve SDP information from an incoming message. Application should
1165
+ * prefer to use this function rather than parsing the SDP manually since
1166
+ * this function supports multipart message body.
1167
+ *
1168
+ * This function will only parse the SDP once, the first time it is called
1169
+ * on the same message. Subsequent call on the same message will just pick
1170
+ * up the already parsed SDP from the message.
1171
+ *
1172
+ * @param rdata The incoming message.
1173
+ * @param search_media_type The SDP media type to search for.
1174
+ * If NULL, "application/sdp" will be used.
1175
+ *
1176
+ * @return The SDP info.
1177
+ */
1178
+ PJ_DECL(pjsip_rdata_sdp_info*) pjsip_rdata_get_sdp_info2(
1179
+ pjsip_rx_data *rdata,
1180
+ const pjsip_media_type *search_media_type);
1181
+
1182
+ /**
1183
+ * Retrieve SDP information from an outgoing message. Application should
1184
+ * prefer to use this function rather than parsing the SDP manually since
1185
+ * this function supports multipart message body.
1186
+ *
1187
+ * This function will only parse the SDP once, the first time it is called
1188
+ * on the same message. Subsequent call on the same message will just pick
1189
+ * up the already parsed SDP from the message.
1190
+ *
1191
+ * @param tdata The outgoing message.
1192
+ *
1193
+ * @return The SDP info.
1194
+ */
1195
+ PJ_DECL(pjsip_tdata_sdp_info*) pjsip_tdata_get_sdp_info(pjsip_tx_data *tdata);
1196
+
1197
+ /**
1198
+ * Retrieve SDP information from an outgoing message. Application should
1199
+ * prefer to use this function rather than parsing the SDP manually since
1200
+ * this function supports multipart message body.
1201
+ *
1202
+ * This function will only parse the SDP once, the first time it is called
1203
+ * on the same message. Subsequent call on the same message will just pick
1204
+ * up the already parsed SDP from the message.
1205
+ *
1206
+ * @param tdata The outgoing message.
1207
+ * @param search_media_type The SDP media type to search for.
1208
+ * If NULL, "application/sdp" will be used.
1209
+ *
1210
+ * @return The SDP info.
1211
+ */
1212
+ PJ_DECL(pjsip_tdata_sdp_info*) pjsip_tdata_get_sdp_info2(
1213
+ pjsip_tx_data *tdata,
1214
+ const pjsip_media_type *search_media_type);
1215
+
1216
+
1217
+ PJ_END_DECL
1218
+
1219
+ /**
1220
+ * @}
1221
+ */
1222
+
1223
+
1224
+ #endif /* __SIP_INVITE_SESSION_H__ */