Advertisement
Guest User

Untitled

a guest
May 24th, 2012
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. Segfault:
  2. <?xml version="1.0"?>
  3. <scenario id="soundfile" name="play soundfile" param="2" type="script">
  4. <init>
  5. <bridge>
  6. <server>
  7. <id>server1</id>
  8. </server>
  9. <client>
  10. <id>client2</id>
  11. <type>message</type>
  12. <destination>
  13. <value type="param">1</value>
  14. </destination>
  15. </client>
  16. <lifetime>100</lifetime>
  17. </bridge>
  18.  
  19. <state>1</state>
  20. </init>
  21.  
  22. <rules>
  23. <request>
  24. <bye>
  25. <rule id="1">
  26. <condition>
  27. <state>1</state>
  28. <sender>
  29. <type>client</type>
  30. <id>client2</id>
  31. </sender>
  32. </condition>
  33. <action>
  34. <send_reply>
  35. <code>200</code>
  36. <reason>OK</reason>
  37. </send_reply>
  38. <delete_entity/>
  39. <bridge>
  40. <server>
  41. <id>server1</id>
  42. </server>
  43. <client>
  44. <id>client3</id>
  45. <destination>
  46. <value type="param">2</value>
  47. </destination>
  48. </client>
  49. </bridge>
  50. <state>2</state>
  51. </action>
  52. </rule>
  53. </bye>
  54. </request>
  55. </rules>
  56. </scenario>
  57.  
  58. No more segfault:
  59. <?xml version="1.0"?>
  60. <scenario id="soundfile" name="play soundfile" param="2" type="script">
  61. <init>
  62. <bridge>
  63. <server>
  64. <id>server1</id>
  65. </server>
  66. <client>
  67. <id>client2</id>
  68. <type>message</type>
  69. <destination>
  70. <value type="param">1</value>
  71. </destination>
  72. </client>
  73. <lifetime>100</lifetime>
  74. </bridge>
  75.  
  76. <state>1</state>
  77. </init>
  78.  
  79. <rules>
  80. <request>
  81. <bye>
  82. <rule id="1">
  83. <condition>
  84. <state>1</state>
  85. <sender>
  86. <type>client</type>
  87. <id>client2</id>
  88. </sender>
  89. </condition>
  90. <action>
  91. <send_reply>
  92. <code>200</code>
  93. <reason>OK</reason>
  94. </send_reply>
  95. <delete_entity/>
  96. <bridge>
  97. <client>
  98. <id>server1</id>
  99. </client>
  100. <client>
  101. <id>client3</id>
  102. <destination>
  103. <value type="param">2</value>
  104. </destination>
  105. </client>
  106. </bridge>
  107. <state>2</state>
  108. </action>
  109. </rule>
  110. </bye>
  111. </request>
  112. </rules>
  113. </scenario>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement