serfaq.xml 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
  4. <section id="serfaq" xmlns:xi="http://www.w3.org/2001/XInclude">
  5. <sectioninfo>
  6. <authorgroup>
  7. <editor>
  8. <firstname>Jan</firstname>
  9. <surname>Janak</surname>
  10. <email>[email protected]</email>
  11. </editor>
  12. </authorgroup>
  13. <revhistory>
  14. <revision>
  15. <revnumber>$Revision$</revnumber>
  16. <date>$Date$</date>
  17. </revision>
  18. </revhistory>
  19. <abstract>
  20. <para>
  21. A compilation of questions and answers from
  22. <email>[email protected]</email>, and <email>[email protected]</email> mailing
  23. lists.
  24. </para>
  25. </abstract>
  26. <copyright>
  27. <year>2003</year>
  28. <holder>FhG FOKUS</holder>
  29. </copyright>
  30. </sectioninfo>
  31. <title>Frequently Asked Questions</title>
  32. <qandaset>
  33. <qandaentry>
  34. <question>
  35. <simpara>
  36. Is it possible to use SER as a SIP user agent (both of User
  37. Agent Client (UAC) and User Agent Server (UASS)?
  38. </simpara>
  39. </question>
  40. <answer>
  41. <simpara>
  42. Not easily. SER has built-in some functions that allow to
  43. use it as user agent, but our primary goal is to develop a
  44. server so this is without guarantee and can even disappear
  45. in future versions.
  46. </simpara>
  47. </answer>
  48. </qandaentry>
  49. <qandaentry>
  50. <question>
  51. <simpara>
  52. Can SER work well together with some of the location server
  53. (e. g.LDAP or DNS) ?
  54. </simpara>
  55. </question>
  56. <answer>
  57. <simpara>
  58. SER's built-in location server uses
  59. in-<acronym>RAM</acronym> database for high performance and
  60. optionally MySQL for persistence. More database protocols
  61. may be supplied on contractual basis. As far as I know,
  62. <acronym>DNS</acronym> is not used in the industry for user
  63. location.
  64. </simpara>
  65. </answer>
  66. </qandaentry>
  67. <qandaentry>
  68. <question>
  69. <simpara>
  70. What is a proxy server ?
  71. </simpara>
  72. </question>
  73. <answer>
  74. <simpara>
  75. A proxy server is an entity that routes SIP messages. See
  76. SIP introduction which is part of the distribution.
  77. </simpara>
  78. </answer>
  79. </qandaentry>
  80. <qandaentry>
  81. <question>
  82. <simpara>
  83. What is the difference between proxy server and back to back
  84. user agent (B2BUA) ?
  85. </simpara>
  86. </question>
  87. <answer>
  88. <simpara>
  89. The main difference is that proxy servers are
  90. transaction-stateful, while B2BUAs are call stateful. That
  91. means proxy servers keep state only during SIP transactions
  92. (that is at the beginning and and of a call) and do not
  93. keep any state during the whole call.
  94. </simpara>
  95. <simpara>
  96. A B2BUA acts merely as connection of two or more user
  97. agents which are connected through some means. B2BUAs keep
  98. some state (usually some structures in the memory) during
  99. the whole call.
  100. </simpara>
  101. <para>
  102. This property gives B2BUA some interesting features that
  103. proxies don't have. For example B2BUA can tear down and
  104. existing call--proxies can't do that. On the other hand
  105. B2BUAs can easily become a bottleneck in terms of
  106. scalability.
  107. </para>
  108. </answer>
  109. </qandaentry>
  110. <qandaentry>
  111. <question>
  112. <simpara>
  113. So is SER proxy or B2BUA ? Can it terminate an existing
  114. call ?
  115. </simpara>
  116. </question>
  117. <answer>
  118. <simpara>
  119. SER is a proxy. I can't terminate existing call.
  120. </simpara>
  121. </answer>
  122. </qandaentry>
  123. <qandaentry>
  124. <question>
  125. <simpara>
  126. I'd like to know if SER supports <acronym>CPL</acronym> and
  127. servlets. Where can I find any documentation about this, or
  128. any link ?
  129. </simpara>
  130. </question>
  131. <answer>
  132. <simpara>
  133. Yes, <acronym>CPL</acronym> is supported through cpl
  134. module, the module needs an external <acronym>CPL</acronym>
  135. interpreter written in Java. A C version is under
  136. development. There is no support for Java servlets. The
  137. documentation can be found at <ulink
  138. url="http://iptel.org/ser/doc">http://iptel.org/ser/doc</ulink>.
  139. </simpara>
  140. </answer>
  141. </qandaentry>
  142. <qandaentry>
  143. <question>
  144. <simpara>
  145. I wanted to know whether &lt;PUT_YOUR_FAVOURITE_METHOD_HERE&gt; is supported
  146. by SER.
  147. </simpara>
  148. </question>
  149. <answer>
  150. <simpara>
  151. Proxy server are indifferent of non-INVITEs methods. &lt;METHOD&gt; works as
  152. good as BYE, INFO, and FOOBAR.
  153. </simpara>
  154. </answer>
  155. </qandaentry>
  156. <qandaentry>
  157. <question>
  158. <simpara>
  159. I was wondering if SER has been tested and is supported on FreeBSD ?
  160. </simpara>
  161. </question>
  162. <answer>
  163. <simpara>
  164. Yes.
  165. </simpara>
  166. </answer>
  167. </qandaentry>
  168. <qandaentry>
  169. <question>
  170. <simpara>
  171. Does SER support <acronym>TCP</acronym> ?
  172. </simpara>
  173. </question>
  174. <answer>
  175. <simpara>
  176. Yes.
  177. </simpara>
  178. </answer>
  179. </qandaentry>
  180. <qandaentry>
  181. <question>
  182. <simpara>
  183. I think I found a bug that should be fixed, what information should I send
  184. and where should I send it?
  185. </simpara>
  186. </question>
  187. <answer>
  188. <simpara>
  189. Please send us as much info as possible. We would like see the following:
  190. </simpara>
  191. <itemizedlist>
  192. <listitem>
  193. <simpara>SER version (ser -V).</simpara>
  194. </listitem>
  195. </itemizedlist>
  196. <itemizedlist>
  197. <listitem>
  198. <simpara>Configuration file.</simpara>
  199. </listitem>
  200. </itemizedlist>
  201. <itemizedlist>
  202. <listitem>
  203. <simpara>SIP message dumps.</simpara>
  204. </listitem>
  205. </itemizedlist>
  206. <itemizedlist>
  207. <listitem>
  208. <simpara>Coredump (if any, if not please generate it).</simpara>
  209. </listitem>
  210. </itemizedlist>
  211. <itemizedlist>
  212. <listitem>
  213. <simpara>Anything else you think might help us.</simpara>
  214. </listitem>
  215. </itemizedlist>
  216. <itemizedlist>
  217. <listitem>
  218. <simpara>The whole compiled source tree.</simpara>
  219. </listitem>
  220. </itemizedlist>
  221. <simpara>
  222. Please send it to <email>[email protected]</email>.
  223. </simpara>
  224. </answer>
  225. </qandaentry>
  226. <qandaentry>
  227. <question>
  228. <simpara>
  229. How does SER scale ?
  230. </simpara>
  231. <simpara>
  232. SER is able to handle thousands calls per second on a regular
  233. <acronym>PC</acronym>.
  234. </simpara>
  235. </question>
  236. </qandaentry>
  237. <qandaentry>
  238. <question>
  239. <simpara>
  240. I read <quote>Throughput thousands of calls per second
  241. (<acronym>CPS</acronym>) on a dual-<acronym>CPU</acronym>
  242. <acronym>PC</acronym></quote> on your webpage. How fast is it really ?
  243. </simpara>
  244. </question>
  245. <answer>
  246. <simpara>
  247. Last time we have checked ~4900cps on a dual Athlon MP2000.
  248. </simpara>
  249. <simpara>
  250. This was ser 0.8.9 running statefully (stateless is should be much faster),
  251. with 4 processes and 256 Mb shared mem. It was compiled with: STATS:Off,
  252. USE_IPV6, NO_DEBUG, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
  253. FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE
  254. 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 3040
  255. </simpara>
  256. </answer>
  257. </qandaentry>
  258. <qandaentry>
  259. <question>
  260. <simpara>
  261. Do you think that SER is suitable for a commercial environment in your opinion ?
  262. </simpara>
  263. </question>
  264. <answer>
  265. <simpara>
  266. Sure.
  267. </simpara>
  268. </answer>
  269. </qandaentry>
  270. <qandaentry>
  271. <question>
  272. <simpara>
  273. Do you have any recommendations on additional open source or developer
  274. community resources to round out my platform?
  275. </simpara>
  276. </question>
  277. <answer>
  278. <simpara>
  279. I'm a SER believer and think that other servers simply don't compare :) If
  280. you wish more detailed propaganda, check our website and if that is not
  281. enough I will send you some more.
  282. </simpara>
  283. </answer>
  284. </qandaentry>
  285. <qandaentry>
  286. <question>
  287. <simpara>
  288. Do you have any thoughts on how it compares in
  289. deployability and features to the Vovida stuff or other
  290. options ? Also, are there any issues I should be thinking
  291. of that would make a commercial venture with SER difficult
  292. (licensing, scaling, etc..)
  293. </simpara>
  294. </question>
  295. <answer>
  296. <simpara>
  297. SER is licensed under the GNU GPL. I would be surprised if
  298. any SIP server available today would scale a bit better--we
  299. spent lot of work on performance, achieved thousands of
  300. <acronym>CPS</acronym> on a <acronym>PC</acronym>--I guess
  301. it will take lot of time until your demand hits this
  302. capacity.
  303. </simpara>
  304. </answer>
  305. </qandaentry>
  306. <qandaentry>
  307. <question>
  308. <simpara>
  309. Does SER have the capability to automatically send an
  310. INVITE from one number to another?
  311. </simpara>
  312. </question>
  313. <answer>
  314. <simpara>
  315. Yes if the phones support REFER. There is an application
  316. called Click-To-Dial which can connect two phones.
  317. </simpara>
  318. </answer>
  319. </qandaentry>
  320. <qandaentry>
  321. <question>
  322. <simpara>
  323. Is it necessary to have a <acronym>DNS SVR</acronym> Resource Record, as
  324. mentioned in the ser-Howto guide for connecting to SER ?
  325. </simpara>
  326. </question>
  327. <answer>
  328. <simpara>
  329. No. It's nice to have it, but you can work around it
  330. setting a normal A record for your domain. The
  331. <acronym>SRV</acronym> lookup will fall back to normal A
  332. lookup.
  333. </simpara>
  334. </answer>
  335. </qandaentry>
  336. <qandaentry>
  337. <question>
  338. <simpara>
  339. What would you charge to help get us started?
  340. </simpara>
  341. </question>
  342. <answer>
  343. <simpara>
  344. See <ulink url="http://iptel.org/support">http://iptel.org/support</ulink>.
  345. </simpara>
  346. </answer>
  347. </qandaentry>
  348. <qandaentry>
  349. <question>
  350. <simpara>
  351. Are you going to provide integration support from SIP to H.323 and vice
  352. versa ?
  353. </simpara>
  354. </question>
  355. <answer>
  356. <simpara>
  357. No, we are not going to provide the integration.
  358. </simpara>
  359. </answer>
  360. </qandaentry>
  361. <qandaentry>
  362. <question>
  363. <simpara>
  364. I've gone thru the SER Admin's Guide and the module documentation
  365. (sip_router/modules/). Is there additional documentation on how to use the
  366. modules?
  367. </simpara>
  368. </question>
  369. <answer>
  370. <simpara>
  371. Each module has a doc subdirectory which contains complete documentation of
  372. the module in docbook format. <acronym>PS</acronym>, <acronym>PDF</acronym>
  373. and <acronym>HTML</acronym> renderings can be obtained through our web page,
  374. see <ulink url="http://iptel.org/ser/doc">http://iptel.org/ser/doc</ulink>.
  375. </simpara>
  376. </answer>
  377. </qandaentry>
  378. <qandaentry>
  379. <question>
  380. <simpara>
  381. What functions would I use in my ser.cfg to log <quote>missed calls</quote>?
  382. </simpara>
  383. </question>
  384. <answer>
  385. <simpara>
  386. FIXME.
  387. </simpara>
  388. </answer>
  389. </qandaentry>
  390. <qandaentry>
  391. <question>
  392. <simpara>
  393. Are there some additional requirements for using the acc.so module? Radius?
  394. I want to be able to view dialed calls from serweb.
  395. </simpara>
  396. </question>
  397. <answer>
  398. <simpara>
  399. FIXME.
  400. </simpara>
  401. </answer>
  402. </qandaentry>
  403. <qandaentry>
  404. <question>
  405. <simpara>
  406. Do you have any example configs that use nathelper?
  407. </simpara>
  408. </question>
  409. <answer>
  410. <simpara>
  411. FIXME.
  412. </simpara>
  413. </answer>
  414. </qandaentry>
  415. <qandaentry>
  416. <question>
  417. <simpara>
  418. Who are the people behind SER ?
  419. </simpara>
  420. </question>
  421. <answer>
  422. <simpara>
  423. FIXME.
  424. </simpara>
  425. </answer>
  426. </qandaentry>
  427. <qandaentry>
  428. <question>
  429. <simpara>
  430. How successful has nathelper been with <acronym>NAT</acronym>/firewall transversal?
  431. </simpara>
  432. </question>
  433. <answer>
  434. <simpara>
  435. I only know that users reported success with nathelper and ATAs.
  436. </simpara>
  437. </answer>
  438. </qandaentry>
  439. <qandaentry>
  440. <question>
  441. <simpara>
  442. Does ser support <acronym>LDAP</acronym> ?
  443. </simpara>
  444. </question>
  445. <answer>
  446. <simpara>
  447. FIXME.
  448. </simpara>
  449. </answer>
  450. </qandaentry>
  451. <qandaentry>
  452. <question>
  453. <simpara>
  454. Is it possible to get access to iptel's working copy of ser.cfg?
  455. </simpara>
  456. </question>
  457. <answer>
  458. <simpara>
  459. We no longer disclose our operational policy to the public audience. The
  460. configuration file is only available to our customers under <acronym>NDA</acronym>.
  461. </simpara>
  462. </answer>
  463. </qandaentry>
  464. <qandaentry>
  465. <question>
  466. <simpara>
  467. Can you send me detail for me to sign up for the commercial program. I would
  468. also like detail on your levels of support you offer (ie...paid support)?
  469. </simpara>
  470. </question>
  471. <answer>
  472. <simpara>
  473. See <ulink
  474. url="http://iptel.org/support/">http://iptel.org/support/</ulink>. Don't
  475. hesitate to approach us if you have any further questions.
  476. </simpara>
  477. </answer>
  478. </qandaentry>
  479. <qandaentry>
  480. <question>
  481. <simpara>
  482. I need a method to determine if a called URI has an account on the system.
  483. I found a function in the groups module,
  484. <function>is_user_in</function>. but haven't yet figured out how to use it.
  485. </simpara>
  486. </question>
  487. <answer>
  488. <simpara>
  489. The uri module's <function>does_uri_exist</function> is what you are seeking.
  490. </simpara>
  491. </answer>
  492. </qandaentry>
  493. <qandaentry>
  494. <question>
  495. <simpara>
  496. We have a question regarding usrloc: where are the active sessions
  497. being stored? We were not able to find any entries in MySQL.
  498. </simpara>
  499. </question>
  500. <answer>
  501. <simpara>
  502. SER has no notion of active session. SER is a
  503. transaction-stateful proxy, that means it knows about
  504. transactions (INVITE transaction, BYE transaction), but it
  505. keeps no state if there is no transaction active.
  506. </simpara>
  507. <simpara>
  508. That means, it keeps state when an INVITE comes and until a
  509. final response to the INVITE is sent. The same for BYE.
  510. </simpara>
  511. </answer>
  512. </qandaentry>
  513. <qandaentry>
  514. <question>
  515. <simpara>
  516. Has the timeout for re-registering at the UA to be the same as in the tm
  517. module mentioned in <filename>ser.cfg</filename> ?
  518. </simpara>
  519. </question>
  520. <answer>
  521. <simpara>
  522. No.
  523. </simpara>
  524. </answer>
  525. </qandaentry>
  526. <qandaentry>
  527. <question>
  528. <simpara>
  529. How do we deal with aliases? If for example uid=mic is
  530. authenticated, he is available with sip address
  531. sip:[email protected]. If I would want to be addressable with
  532. [email protected] how is this accomplished with ser
  533. ?
  534. </simpara>
  535. </question>
  536. <answer>
  537. <simpara>
  538. Aliases are tied to user location. It uses a special table
  539. which has the same structure as user location table and
  540. includes an entry for each alias. You do not have to do
  541. something special for that. You have to create this table
  542. and then you can use serctl to add aliases.
  543. </simpara>
  544. </answer>
  545. </qandaentry>
  546. <qandaentry>
  547. <question>
  548. <simpara>
  549. I would like to know if SER supports <acronym>IPv6</acronym>. If not, do
  550. you have any plans for it ? When ?
  551. </simpara>
  552. </question>
  553. <answer>
  554. <simpara>
  555. Yes, SER supports <acronym>IPv6</acronym>.
  556. </simpara>
  557. </answer>
  558. </qandaentry>
  559. <qandaentry>
  560. <question>
  561. <simpara>
  562. Is there any way to change the default log file to a special SER.log file ?
  563. </simpara>
  564. </question>
  565. <answer>
  566. <simpara>
  567. Try logging to stderr and redirecting it to a file:
  568. </simpara>
  569. <screen format="linespecific">
  570. ser -E 2>/tmp/ser.log
  571. </screen>
  572. <simpara>
  573. (by default ser logs to syslog)
  574. </simpara>
  575. </answer>
  576. </qandaentry>
  577. <qandaentry>
  578. <question>
  579. <simpara>
  580. Does anybody know anything about the P-Hint Header Field added from SER?
  581. </simpara>
  582. </question>
  583. <answer>
  584. <simpara>
  585. <ulink url="http://www.iptel.org/ser/doc/seruser-html/c638.html#AEN729">
  586. http://www.iptel.org/ser/doc/seruser-html/c638.html#AEN729
  587. </ulink>
  588. </simpara>
  589. </answer>
  590. </qandaentry>
  591. <qandaentry>
  592. <question>
  593. <simpara>
  594. When using the Jabber Gateway, some users get the following
  595. error from time to time:
  596. </simpara>
  597. <simpara>
  598. ERROR: Connection to Jabber server lost. You have to login
  599. to Jabber server again (join again the conferences that you
  600. were participating, too).
  601. </simpara>
  602. <simpara>
  603. sip_to_jabber_gateway says:
  604. </simpara>
  605. <simpara>
  606. INFO: Your are now offline in Jabber network. Thank you for
  607. using SIP-Jabber gateway.
  608. </simpara>
  609. <simpara>
  610. Do you know the reason why these messages appear and if it
  611. is possible to avoid them?
  612. </simpara>
  613. </question>
  614. <answer>
  615. <simpara>
  616. that usually occurs because Jabber server crashes or, for
  617. some unknown reasons, the <acronym>TCP</acronym> connection
  618. with jabber server is down. The second message is to inform
  619. the users that they are no more connected to Jabber
  620. network.
  621. </simpara>
  622. <simpara>
  623. There is no way to disable sending these messages. I may
  624. introduce a new parameter to enable/disable them. But I am
  625. not sure it is a good idea (users must be informed about
  626. the changes of the status).
  627. </simpara>
  628. </answer>
  629. </qandaentry>
  630. <qandaentry>
  631. <question>
  632. <simpara>
  633. I would like know if SER support also the transmission protocol
  634. <acronym>TCP</acronym>, or <acronym>TLS</acronym>.
  635. </simpara>
  636. </question>
  637. <answer>
  638. <simpara>
  639. Yes, SER supports <acronym>TCP</acronym>. <acronym>TLS</acronym> is work
  640. in progress.
  641. </simpara>
  642. </answer>
  643. </qandaentry>
  644. <qandaentry>
  645. <question>
  646. <simpara>
  647. I'm trying to rewrite the to domain, as in:
  648. </simpara>
  649. <simpara>
  650. To: &lt;sip:[email protected]&gt; ;user=phone.
  651. </simpara>
  652. <simpara>
  653. I can't find any rewrite* function to rewrite the
  654. to domain.
  655. </simpara>
  656. </question>
  657. <answer>
  658. <simpara>
  659. The proxy is not supposed to touch To or From URIs. Only Request-URI can
  660. be changed.
  661. </simpara>
  662. </answer>
  663. </qandaentry>
  664. <qandaentry>
  665. <question>
  666. <simpara>
  667. When the messenger sends a message for the jabber gateway the following
  668. error occurs:
  669. </simpara>
  670. <simpara>
  671. <quote>ERROR: Your message was not sent. You do not have permissions to use the
  672. gateway.</quote>
  673. </simpara>
  674. <simpara>
  675. What could be the problem here?
  676. </simpara>
  677. </question>
  678. <answer>
  679. <simpara>
  680. You have to create the database for SIMPLE2Jabber gateway and after that you
  681. have to associate SIP users with Jabber IDs.
  682. </simpara>
  683. <simpara>
  684. <ulink
  685. url="http://www.iptel.org/ser/doc/jabgw/xjab-manual.html#5._Admins_guide">
  686. http://www.iptel.org/ser/doc/jabgw/xjab-manual.html#5._Admins_guide
  687. </ulink>
  688. </simpara>
  689. </answer>
  690. </qandaentry>
  691. <qandaentry>
  692. <question>
  693. <simpara>
  694. Authentication doesn't work!!! Where am I wrong?
  695. </simpara>
  696. </question>
  697. <answer>
  698. <simpara>
  699. Windows Messenger needs same string both realm and
  700. SIP_DOMAIN, and it wants to reach this address oh your
  701. network.
  702. </simpara>
  703. </answer>
  704. </qandaentry>
  705. <qandaentry>
  706. <question>
  707. <simpara>
  708. I was wondering whether there is a ser module for
  709. <acronym>SIP-CGI</acronym>. Or whether there are attempts
  710. at creating one?
  711. </simpara>
  712. </question>
  713. <answer>
  714. <simpara>
  715. There is no <acronym>SIP-CGI</acronym> module for SER. The
  716. most similar, though much simpler, functionality is
  717. provided by the exec module.
  718. </simpara>
  719. </answer>
  720. </qandaentry>
  721. <qandaentry>
  722. <question>
  723. <simpara>
  724. How could I integrate SIP and H323 together?
  725. </simpara>
  726. </question>
  727. <answer>
  728. <simpara>
  729. You will need a SIP to H.323 gateway. SER is a SIP proxy
  730. only, it cannot act as H.323 gateway.
  731. </simpara>
  732. </answer>
  733. </qandaentry>
  734. <qandaentry>
  735. <question>
  736. <simpara>
  737. How can I contribute code ?
  738. </simpara>
  739. </question>
  740. <answer>
  741. <simpara>
  742. FIXME.
  743. </simpara>
  744. </answer>
  745. </qandaentry>
  746. <qandaentry>
  747. <question>
  748. <simpara>
  749. What, if anything, should the SER server do with a OPTIONS
  750. method?
  751. </simpara>
  752. </question>
  753. <answer>
  754. <simpara>
  755. FIXME.
  756. </simpara>
  757. </answer>
  758. </qandaentry>
  759. <qandaentry>
  760. <question>
  761. <simpara>
  762. What should I do to see the detailed debugs?
  763. </simpara>
  764. </question>
  765. <answer>
  766. <simpara>
  767. Set debug=9 in your config script.
  768. </simpara>
  769. </answer>
  770. </qandaentry>
  771. <qandaentry>
  772. <question>
  773. <simpara>
  774. Is it possible for SER to forward a call to another phone
  775. if the recipient does not answer?
  776. </simpara>
  777. </question>
  778. <answer>
  779. <simpara>
  780. This could be achieved with sequential forking (by trying
  781. contacts in decreasing q order), but sequential forking is
  782. not yet supported in SER.
  783. </simpara>
  784. </answer>
  785. </qandaentry>
  786. <qandaentry>
  787. <question>
  788. <simpara>
  789. Is it possible to configure SER so that it only has the
  790. latest registration?
  791. </simpara>
  792. </question>
  793. <answer>
  794. <simpara>
  795. FIXME.
  796. </simpara>
  797. </answer>
  798. </qandaentry>
  799. <qandaentry>
  800. <question>
  801. <simpara>
  802. mkdir: cannot create directory `/usr/local/etc/ser': Permission denied
  803. make: *** [/usr/local/etc/ser] Error 1
  804. </simpara>
  805. <simpara>
  806. what may be the error ?
  807. </simpara>
  808. </question>
  809. <answer>
  810. <simpara>
  811. You have no write permissions to the directory, try it again as root.
  812. </simpara>
  813. </answer>
  814. </qandaentry>
  815. <qandaentry>
  816. <question>
  817. <simpara>
  818. Can a proxy terminate a call ?
  819. </simpara>
  820. </question>
  821. <answer>
  822. <simpara>
  823. No, proxy cannot do that because it is transaction stateful only.
  824. </simpara>
  825. </answer>
  826. </qandaentry>
  827. <qandaentry>
  828. <question>
  829. <simpara>
  830. i want to know what accounting support is available using
  831. MySql. what settings need to be done? are any records
  832. generated and placed in the database? how do i access these
  833. records?
  834. </simpara>
  835. </question>
  836. <answer>
  837. <simpara>
  838. FIXME.
  839. </simpara>
  840. </answer>
  841. </qandaentry>
  842. <qandaentry>
  843. <question>
  844. <simpara>
  845. It seems that SER supports only strict routing. Please tell
  846. me if it supports loose routing. if yes, do i have to
  847. enable it somehow?
  848. </simpara>
  849. </question>
  850. <answer>
  851. <simpara>
  852. Yes, it does support loose routing as of 0.8.11, you don't have to enable it.
  853. </simpara>
  854. </answer>
  855. </qandaentry>
  856. <qandaentry>
  857. <question>
  858. <simpara>
  859. I need to know if currently generated call records can be
  860. put into MySql database. if yes, is there any tool
  861. available to view these records?
  862. </simpara>
  863. </question>
  864. <answer>
  865. <simpara>
  866. Serweb can do it.
  867. </simpara>
  868. </answer>
  869. </qandaentry>
  870. <qandaentry>
  871. <question>
  872. <simpara>
  873. If I want to use SER commercially do I need to purchase any
  874. license for the same, as long as I'm not going to charge
  875. the customer for the SIP service but only for the
  876. termination of calls.
  877. </simpara>
  878. </question>
  879. <answer>
  880. <simpara>
  881. SER is distributed under the GPL so you don't need to purchase any
  882. license, you can use it freely.
  883. </simpara>
  884. </answer>
  885. </qandaentry>
  886. <qandaentry>
  887. <question>
  888. <simpara>
  889. Is there a support for accounting ?
  890. </simpara>
  891. </question>
  892. <answer>
  893. <simpara>
  894. Yes, see acc module.
  895. </simpara>
  896. </answer>
  897. </qandaentry>
  898. <qandaentry>
  899. <question>
  900. <simpara>
  901. What tool can I use to capture SIP traffic ?
  902. </simpara>
  903. </question>
  904. <answer>
  905. <simpara>
  906. <ulink url="http://ngrep.sourceforge.net">ngrep</ulink>, <ulink
  907. url="http://www.ethereal.com">ethereal</ulink>, <ulink
  908. url="http:/www.tcpdump.org">tcpdump</ulink>.
  909. </simpara>
  910. </answer>
  911. </qandaentry>
  912. <qandaentry>
  913. <question>
  914. <simpara>
  915. Is there ENUM support in SER ?
  916. </simpara>
  917. </question>
  918. <answer>
  919. <simpara>
  920. Yes, see enum module.
  921. </simpara>
  922. </answer>
  923. </qandaentry>
  924. <qandaentry>
  925. <question>
  926. <simpara>
  927. Do you have any experience (or know) where I can get some info on setting up
  928. an ENUM testbed with <acronym>DNS</acronym> and Linux?
  929. </simpara>
  930. </question>
  931. <answer>
  932. <simpara>
  933. if by testbed you mean running your own e164.arpa root, then you simply
  934. make your dns server a root for e164.arpa domain by adding line
  935. </simpara>
  936. <programlisting>
  937. primary e164.arpa e164.arpa.db
  938. </programlisting>
  939. <simpara>
  940. into your named.boot file and then by populating file
  941. e164.arpa.db with your enum entries. Below is an example.
  942. </simpara>
  943. <programlisting>
  944. $ORIGIN .
  945. $TTL 0 ; 0 seconds
  946. e164.arpa IN SOA foo.fi. hostmaster.foo.fi. (
  947. 200204681 ; serial
  948. 28800 ; refresh (8 hours)
  949. 7200 ; retry (2 hours)
  950. 604800 ; expire (1 week)
  951. 86400 ; minimum (1 day)
  952. )
  953. NS foo.fi.
  954. $ORIGIN e164.arpa.
  955. $ORIGIN 8.5.3.e164.arpa.
  956. $ORIGIN 9.3.8.1.5.6.2.8.5.3.e164.arpa.
  957. 3.1 NAPTR 1 1 "u" "E2U+sip" "!(^.*$)!sip:[email protected]!i" .
  958. </programlisting>
  959. </answer>
  960. </qandaentry>
  961. <qandaentry>
  962. <question>
  963. <simpara>
  964. Will SER support <acronym>STUN</acronym> in the future?
  965. </simpara>
  966. </question>
  967. <answer>
  968. <simpara>
  969. <acronym>STUN</acronym> is a protocol operated separately from SER
  970. </simpara>
  971. </answer>
  972. </qandaentry>
  973. <qandaentry>
  974. <question>
  975. <simpara>
  976. Is there any way to show active calls (dialed number, duration, originating
  977. <acronym>IP</acronym>...) with SER?
  978. </simpara>
  979. </question>
  980. <answer>
  981. <simpara>
  982. No, ser is not call stateful.
  983. </simpara>
  984. </answer>
  985. </qandaentry>
  986. <qandaentry>
  987. <question>
  988. <simpara>
  989. If I'm working with RFC2543 compliant phones (such as
  990. <acronym>ATA</acronym>) may I use loose routing?
  991. </simpara>
  992. </question>
  993. <answer>
  994. <simpara>
  995. Yes, loose routing is backwards compatible.
  996. </simpara>
  997. </answer>
  998. </qandaentry>
  999. <qandaentry>
  1000. <question>
  1001. <simpara>
  1002. How can I configure radiator for digest authentication?
  1003. </simpara>
  1004. </question>
  1005. <answer>
  1006. <simpara>
  1007. In case of radiator, you don't need to do anything special in the
  1008. configuration. Just install the latest radiator and then make sure your
  1009. config can handle the service-types you have configured ser to use. For
  1010. example, you can have
  1011. </simpara>
  1012. <programlisting>
  1013. &lt;Handler Service-Type=SIP&gt;
  1014. ...
  1015. &lt;/AuthBy&gt;
  1016. </programlisting>
  1017. <simpara>
  1018. Or whatever your strategy is.
  1019. </simpara>
  1020. </answer>
  1021. </qandaentry>
  1022. <qandaentry>
  1023. <question>
  1024. <simpara>
  1025. How can I configure radiator for digest authentication?
  1026. </simpara>
  1027. </question>
  1028. <answer>
  1029. <simpara>
  1030. see freeradius-0.8.1/doc/rlm_digest
  1031. </simpara>
  1032. </answer>
  1033. </qandaentry>
  1034. <qandaentry>
  1035. <question>
  1036. <simpara>
  1037. Trying to create alias, I am getting the following message:
  1038. </simpara>
  1039. <simpara>
  1040. <quote>400 Table 'aliases' Not Found</quote>
  1041. </simpara>
  1042. </question>
  1043. <answer>
  1044. <simpara>
  1045. You must have lookup(<quote>aliases</quote>) somewhere in your script.
  1046. </simpara>
  1047. </answer>
  1048. </qandaentry>
  1049. <qandaentry>
  1050. <question>
  1051. <simpara>
  1052. Also how much shared memory does SER allocate by default?
  1053. </simpara>
  1054. </question>
  1055. <answer>
  1056. <simpara>
  1057. 32 Mb.
  1058. </simpara>
  1059. </answer>
  1060. </qandaentry>
  1061. <qandaentry>
  1062. <question>
  1063. <simpara>
  1064. How can I identify what ser doesn't like about the config file?
  1065. </simpara>
  1066. </question>
  1067. <answer>
  1068. <programlisting>
  1069. 0(612) parse error (81,1-10): syntax error
  1070. 0(612) parse error (91,1-6):
  1071. ^^^^^^
  1072. </programlisting>
  1073. <simpara>
  1074. These are the line number and the characters. So look in line 81 and 91 of
  1075. your config file for errors.
  1076. </simpara>
  1077. </answer>
  1078. </qandaentry>
  1079. <qandaentry>
  1080. <question>
  1081. <programlisting>
  1082. Warning: 392 216.87.144.203:5060 "Noisy feedback tells: pid=19604
  1083. req_src_ip=216.87.144.205 req_src_port=5065 in_uri=sip:addaline.com
  1084. out_uri=sip:addaline.com via_cnt==1".
  1085. </programlisting>
  1086. <simpara>
  1087. I want to get rid of these?
  1088. </simpara>
  1089. </question>
  1090. <answer>
  1091. <simpara>
  1092. Use sip_warning=no
  1093. </simpara>
  1094. </answer>
  1095. </qandaentry>
  1096. <qandaentry>
  1097. <question>
  1098. <simpara>
  1099. Is SER a gatekeeper ?
  1100. </simpara>
  1101. </question>
  1102. <answer>
  1103. <simpara>
  1104. No, SER is a SIP proxy.
  1105. </simpara>
  1106. </answer>
  1107. </qandaentry>
  1108. <qandaentry>
  1109. <question>
  1110. <simpara>
  1111. Is there an example of the session timer with SER somewhere?
  1112. </simpara>
  1113. </question>
  1114. <answer>
  1115. <simpara>
  1116. That's a theoretical SIP option today, SER is not supporting
  1117. session-timer. We gave it a try more than one year ago and gave up due to
  1118. interop problems. The specification was developing at that time so quickly
  1119. that there was not any UA which would work with another one correctly.
  1120. </simpara>
  1121. <simpara>
  1122. Once the interoperability gets better, it could be worth implementing. It is
  1123. in general a nice mechanism for avoiding session state silo in network,
  1124. which is good for scalability.
  1125. </simpara>
  1126. </answer>
  1127. </qandaentry>
  1128. <qandaentry>
  1129. <question>
  1130. <simpara>
  1131. Could someone point me where I can read about this www_authorize()
  1132. </simpara>
  1133. </question>
  1134. <answer>
  1135. <simpara>
  1136. The documentation is in sip_router/modules/auth_db/doc
  1137. </simpara>
  1138. <simpara>
  1139. The function tries to verify user's credentials. It returns 1 if they are
  1140. correct and -1 if not.
  1141. </simpara>
  1142. </answer>
  1143. </qandaentry>
  1144. <qandaentry>
  1145. <question>
  1146. <simpara>
  1147. I'm new to SER and would like to set up a test lab with a couple different
  1148. ip phones / adapters to learn from. Could someone recommend a few devices
  1149. that we could use for that purpose?
  1150. </simpara>
  1151. </question>
  1152. <answer>
  1153. <simpara>
  1154. Hardphones: Grandstream, Cisco, ATA, Mitel, Pingtel, Snom
  1155. </simpara>
  1156. <simpara>
  1157. Softphones: kphone, Xten, Windows Messenger, Hotsip client.
  1158. </simpara>
  1159. </answer>
  1160. </qandaentry>
  1161. <qandaentry>
  1162. <question>
  1163. <simpara>
  1164. how can i configure my ser for multiple domains?
  1165. For example [email protected] and [email protected] on the same server?
  1166. </simpara>
  1167. </question>
  1168. <answer>
  1169. <simpara>
  1170. If you are using 0.8.10, it is a manual process--copy and paste
  1171. <acronym>SQL</acronym> tables, have a table set for each served domain, and
  1172. refer to the table names from your scripts. E.g.,
  1173. </simpara>
  1174. <simpara>
  1175. if (uri=~"domain1.com") { lookup("domain1"); ...
  1176. </simpara>
  1177. <simpara>
  1178. With 0.8.11 you can automate the process quite a lot. Authorization
  1179. functions with realm set to empty value take domain name from SIP
  1180. requests. User location database keeps track of domains as well. The
  1181. "domain" modules allows you to keep track of maintained domains
  1182. in a way which does not take changing scripts.
  1183. </simpara>
  1184. <simpara>
  1185. It is possible there are some magic options in domain/usrloc/auth_db/
  1186. registrar/auth modules you need to turn on to enable multidomain
  1187. operation--I don't remember these by heart, hopefuly some people
  1188. on the mailing list do.
  1189. </simpara>
  1190. </answer>
  1191. </qandaentry>
  1192. <qandaentry>
  1193. <question>
  1194. <simpara>
  1195. I am testing SER version 0.8.11pre29 with two <acronym>MSN</acronym>
  1196. Messenger(v4.6) clients. I tried to send the following MESSAGE through SER
  1197. with record-route header added by SER. However, the receiving
  1198. <acronym>MSN</acronym> client responded with a 400 Bad Request for that
  1199. message.
  1200. </simpara>
  1201. </question>
  1202. <answer>
  1203. <simpara>
  1204. It's <acronym>MSN</acronym> Messenger's bug--lr parameter is not
  1205. recognized as specified in RFC3261. Use
  1206. </simpara>
  1207. <simpara>
  1208. modparam("rr", "enable_full_lr", 1)
  1209. </simpara>
  1210. <simpara>
  1211. in ser config file to make it working.
  1212. </simpara>
  1213. </answer>
  1214. </qandaentry>
  1215. <qandaentry>
  1216. <question>
  1217. <simpara>
  1218. I have got an H.323 Mediatrix <acronym>FXO</acronym> gateway. It is not SIP
  1219. based. May I use it with SER ?
  1220. </simpara>
  1221. </question>
  1222. <answer>
  1223. <simpara>
  1224. No.
  1225. </simpara>
  1226. </answer>
  1227. </qandaentry>
  1228. <qandaentry>
  1229. <question>
  1230. <simpara>
  1231. It is possible to process the voicemail request on the same instance I use to
  1232. forward/register users ?
  1233. </simpara>
  1234. </question>
  1235. <answer>
  1236. <simpara>
  1237. Yes.
  1238. </simpara>
  1239. </answer>
  1240. </qandaentry>
  1241. <qandaentry>
  1242. <question>
  1243. <simpara>
  1244. How can I checkout the sources from the <acronym>CVS</acronym> ?
  1245. </simpara>
  1246. </question>
  1247. <answer>
  1248. <simpara>
  1249. FIXME.
  1250. </simpara>
  1251. </answer>
  1252. </qandaentry>
  1253. <qandaentry>
  1254. <question>
  1255. <simpara>
  1256. Are there any binary packages available ?
  1257. </simpara>
  1258. </question>
  1259. <answer>
  1260. <simpara>
  1261. FIXME.
  1262. </simpara>
  1263. </answer>
  1264. </qandaentry>
  1265. <qandaentry>
  1266. <question>
  1267. <simpara>
  1268. What is symmetric signaling ?
  1269. </simpara>
  1270. </question>
  1271. <answer>
  1272. <simpara>
  1273. FIXME.
  1274. </simpara>
  1275. </answer>
  1276. </qandaentry>
  1277. <qandaentry>
  1278. <question>
  1279. <simpara>
  1280. What is SIP, <acronym>SIMPLE</acronym>, SDP, Proxy, Registrar, Redirect server ?
  1281. </simpara>
  1282. </question>
  1283. <answer>
  1284. <simpara>
  1285. FIXME.
  1286. </simpara>
  1287. </answer>
  1288. </qandaentry>
  1289. <qandaentry>
  1290. <question>
  1291. <simpara>
  1292. SER starts normally with the default <filename>ser.cfg</filename>. When I
  1293. uncommented the line load module
  1294. "/usr/local/lib/ser/modules/mysql.so" to load mysql.so,
  1295. everything seems normally. But actually, ser stops abnormally.
  1296. </simpara>
  1297. </question>
  1298. <answer>
  1299. <simpara>
  1300. mysql module is excluded from compilation/installation by default
  1301. (dependencies issue). You can compile it separately with: make modules
  1302. modules=modules/mysql. Also, you can add it in the list of the default
  1303. compiled modules with: make all include_modules="mysql". Then
  1304. use: make install include_modules="mysql". To install only the
  1305. modules: make install-modules include_modules="mysql" or only
  1306. the mysql module: make install-modules modules=modules/mysql.
  1307. </simpara>
  1308. </answer>
  1309. </qandaentry>
  1310. <qandaentry>
  1311. <question>
  1312. <simpara>
  1313. Is ser compatible with MySQL 4.x ?
  1314. </simpara>
  1315. </question>
  1316. <answer>
  1317. <simpara>
  1318. Yes.
  1319. </simpara>
  1320. </answer>
  1321. </qandaentry>
  1322. <qandaentry>
  1323. <question>
  1324. <simpara>
  1325. Is the SIP Express Router (SER) free ? Or do we need to pay ? Because my boss worry
  1326. about that, please help me.
  1327. </simpara>
  1328. </question>
  1329. <answer>
  1330. <simpara>
  1331. Yes, it is free. See
  1332. <ulink url="http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/ser/sip_router/COPYING?rev=HEAD&amp;content-type=text/plain">
  1333. http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/ser/sip_router/COPYING?rev=HEAD&amp;content-type=text/plain
  1334. </ulink>
  1335. </simpara>
  1336. </answer>
  1337. </qandaentry>
  1338. <qandaentry>
  1339. <question>
  1340. <simpara>
  1341. Mar 10 16:46:33 ttalksvr /usr/sbin/ser[6592]: connect_db(): Can't connect to
  1342. local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
  1343. </simpara>
  1344. </question>
  1345. <answer>
  1346. <simpara>
  1347. Make sure your MySQL server is running.
  1348. </simpara>
  1349. </answer>
  1350. </qandaentry>
  1351. <qandaentry>
  1352. <question>
  1353. <simpara>
  1354. I get the following error:
  1355. </simpara>
  1356. <screen>
  1357. 0(5164) db_init(): Error while trying to connect database
  1358. 0(5164) mod_init(): Error while connecting database
  1359. 0(5164) init_modules(): Error while initializing module usrloc
  1360. </screen>
  1361. <simpara>
  1362. </simpara>
  1363. </question>
  1364. <answer>
  1365. <simpara>
  1366. Modules using database have variable called db_url which contains username,
  1367. password, hostname, and name of the database. Make sure the settings are
  1368. correct. See module documentation for more information.
  1369. </simpara>
  1370. </answer>
  1371. </qandaentry>
  1372. <qandaentry>
  1373. <question>
  1374. <simpara>
  1375. Does MySQL/Postgres/Whatever have to reside on localhost?
  1376. </simpara>
  1377. </question>
  1378. <answer>
  1379. <simpara>
  1380. No.
  1381. </simpara>
  1382. </answer>
  1383. </qandaentry>
  1384. <qandaentry>
  1385. <question>
  1386. <simpara>
  1387. Why do I need a database ?
  1388. </simpara>
  1389. </question>
  1390. <answer>
  1391. <simpara>
  1392. Many modules need the database. Authentication modules retrieve users'
  1393. credentials from the database, user location module can be configured to store
  1394. registered bindings into the database, accounting module can use database to
  1395. store CDR and so on.
  1396. </simpara>
  1397. </answer>
  1398. </qandaentry>
  1399. <qandaentry>
  1400. <question>
  1401. <simpara>
  1402. Which database engines are supported ?
  1403. </simpara>
  1404. </question>
  1405. <answer>
  1406. <simpara>
  1407. Currently we support MySQL, Postgres and plaintext files.
  1408. </simpara>
  1409. </answer>
  1410. </qandaentry>
  1411. <qandaentry>
  1412. <question>
  1413. <simpara>
  1414. Which database engine should I use ?
  1415. </simpara>
  1416. </question>
  1417. <answer>
  1418. <simpara>
  1419. That depends on your requirements. Performance aspects are probably not very
  1420. important. The most stable and proven is MySQL module. Also serctl utility works
  1421. well with this database.
  1422. </simpara>
  1423. <simpara>
  1424. Another option is postgres support which was donated by Greg Fausak. The module
  1425. still new and not that mature (read proven) yet. People using the module
  1426. reported that it worked well.
  1427. </simpara>
  1428. <simpara>
  1429. Last option is dbtext module which uses plaintext files to store the data. This
  1430. module is somewhat experimental and shouldn't be used for any serious
  1431. deployment. The module is quite slow, but it can fit well into small
  1432. installations containing only a couple of users or demos where you need to change
  1433. the content of the database often by hand.
  1434. </simpara>
  1435. </answer>
  1436. </qandaentry>
  1437. <qandaentry>
  1438. <question>
  1439. <simpara>
  1440. Is there <quote>send IM</quote> page for sending instant messages only or does
  1441. it accept replies as well (i.e. does it act like a full UA) ?
  1442. </simpara>
  1443. </question>
  1444. <answer>
  1445. <simpara>
  1446. It can send messages only.
  1447. </simpara>
  1448. </answer>
  1449. </qandaentry>
  1450. <qandaentry>
  1451. <question>
  1452. <simpara>
  1453. I have serweb running. I'm able to connect to <acronym>MySQL</acronym> fine. But
  1454. it doesn't seem like the form params are getting assigned to variables. Is there
  1455. something obvious I'm missing?
  1456. </simpara>
  1457. </question>
  1458. <answer>
  1459. <simpara>
  1460. Please check if <varname>register_globals</varname> is set to On in your
  1461. <filename>php.ini</filename> file. The option is set off by default due to
  1462. security reasons.
  1463. </simpara>
  1464. </answer>
  1465. </qandaentry>
  1466. <qandaentry>
  1467. <question>
  1468. <simpara>
  1469. Can somebody tell me how to configure the serweb? Which directory should I put
  1470. those files and which file and parameters should I modify. Or maybe this
  1471. question was asked previously by somebody already, then please provide me a like
  1472. to those answers.
  1473. </simpara>
  1474. </question>
  1475. <answer>
  1476. <simpara>
  1477. Dan Austin's HOWTO (see SER webpage) is probably the currently most extensive
  1478. documentation available.
  1479. </simpara>
  1480. </answer>
  1481. </qandaentry>
  1482. <qandaentry>
  1483. <question>
  1484. <simpara>
  1485. Trying to load the serweb page I get the following error message: Fatal error:
  1486. Call to undefined function: mysql_pconnect() in
  1487. /var/www/html/phplib/db_mysql.inc on line 73
  1488. </simpara>
  1489. </question>
  1490. <answer>
  1491. <simpara>
  1492. Configure <acronym>PHP</acronym> to load the MySQL extension.
  1493. </simpara>
  1494. </answer>
  1495. </qandaentry>
  1496. <qandaentry>
  1497. <question>
  1498. <simpara>
  1499. I can open the page and even make changes and save them, but I'm receiving the
  1500. following warning message: Warning: fopen("/tmp/ser_fifo",
  1501. "w") ? Permission denied in /var/www/html/serweb/functions.php on
  1502. line 172 Sorry - cannot open fifo.
  1503. </simpara>
  1504. </question>
  1505. <answer>
  1506. <simpara>
  1507. Make sure that the user under which the web server is running has read and write
  1508. access to the <acronym>FIFO</acronym>.
  1509. </simpara>
  1510. </answer>
  1511. </qandaentry>
  1512. <qandaentry>
  1513. <question>
  1514. <simpara>
  1515. Is there a way to add/edit/view aliases from serweb?
  1516. </simpara>
  1517. </question>
  1518. <answer>
  1519. <simpara>
  1520. When new user confirm registration, new numeric alias is created. There is no
  1521. another way to add or edit aliases from serweb.
  1522. </simpara>
  1523. </answer>
  1524. </qandaentry>
  1525. <qandaentry>
  1526. <question>
  1527. <simpara>
  1528. I am getting a "Forbidden" reply from the Apache. The Apache is
  1529. pointing to the index.php for the serweb. I've only changed the IP address of
  1530. the local host to 127.0.0.1 in the config.php. Does anyone have any suggestions
  1531. ?
  1532. </simpara>
  1533. </question>
  1534. <answer>
  1535. <simpara>
  1536. Check if the file/folder has read permission for everybody.
  1537. </simpara>
  1538. </answer>
  1539. </qandaentry>
  1540. <qandaentry>
  1541. <question>
  1542. <simpara>
  1543. I get following warnings and error on NetBSD when I call
  1544. user_interface/index.php:
  1545. </simpara>
  1546. <simpara>
  1547. [Wed Jul 16 09:56:53 2003] [error] PHP Warning: Call-time pass-by-reference has
  1548. been deprecated - argument passed by value; If you would like to pass it by
  1549. reference, modify the declaration of [runtime function name](). If you would
  1550. like to enable call-time pass-by-reference, you can set
  1551. allow_call_time_pass_reference to true in your INI file. However, future
  1552. versions may not support this any longer. in
  1553. /usr/pkg/share/httpd/htdocs/iptel/phplib/user.inc on line 72 [Wed Jul 16
  1554. 09:56:53 2003] [error] PHP Fatal error: Call to undefined function:
  1555. mysql_pconnect() in /usr/pkg/share/httpd/htdocs/iptel/phplib/db_mysql.inc on
  1556. line 73
  1557. </simpara>
  1558. </question>
  1559. <answer>
  1560. <simpara>
  1561. Simply do what the text says: enable allow_call_time_pass_reference in
  1562. <filename>/usr/pkg/etc/php.ini</filename> and install <acronym>PHP</acronym>
  1563. MySQL support.
  1564. </simpara>
  1565. </answer>
  1566. </qandaentry>
  1567. <qandaentry>
  1568. <question>
  1569. <simpara>
  1570. I started the webserver and got the following message: Starting up of httpd:
  1571. [Thu Aug 14 15:16:51 2003] alert ] httpd: Could not determine the of server
  1572. fully qualified domain name, using 127.0.0.1 for ServerName
  1573. </simpara>
  1574. <simpara>
  1575. Does anyone know where is the problem ?
  1576. </simpara>
  1577. </question>
  1578. <answer>
  1579. <simpara>
  1580. Set ServerName variable in the configuration file of your webserver to hostname
  1581. of your computer.
  1582. </simpara>
  1583. </answer>
  1584. </qandaentry>
  1585. <qandaentry>
  1586. <question>
  1587. <simpara>
  1588. What version of ser should I use with serweb from the CVS ?
  1589. </simpara>
  1590. </question>
  1591. <answer>
  1592. <simpara>
  1593. CVS version of serweb is aligned to the stable branch of ser. It will not work
  1594. with ser 0.8.10 because the database tables have been changed recently.
  1595. </simpara>
  1596. </answer>
  1597. </qandaentry>
  1598. </qandaset>
  1599. </section>