📄 serfaq.sgml
字号:
Yes, see acc module. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> What tool can I use to capture &sip; traffic ? </simpara> </question> <answer> <simpara> <ulink url="http://ngrep.sourceforge.net">ngrep</ulink>, <ulink url="http://www.ethereal.com">ethereal</ulink>, <ulink url="http:/www.tcpdump.org">tcpdump</ulink>. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> Is there ENUM support in &ser; ? </simpara> </question> <answer> <simpara> Yes, see enum module. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> Do you have any experience (or know) where I can get some info on setting up an ENUM testbed with <acronym>DNS</acronym> and Linux? </simpara> </question> <answer> <simpara> if by testbed you mean running your own e164.arpa root, then you simply make your dns server a root for e164.arpa domain by adding line </simpara> <programlisting format="linespecific">primary e164.arpa e164.arpa.db</programlisting> <simpara> into your named.boot file and then by populating file e164.arpa.db with your enum entries. Below is an example. </simpara> <programlisting format="linespecific">$ORIGIN .$TTL 0 ; 0 secondse164.arpa IN SOA foo.fi. hostmaster.foo.fi. ( 200204681 ; serial 28800 ; refresh (8 hours) 7200 ; retry (2 hours) 604800 ; expire (1 week) 86400 ; minimum (1 day) ) NS foo.fi.$ORIGIN e164.arpa.$ORIGIN 8.5.3.e164.arpa.$ORIGIN 9.3.8.1.5.6.2.8.5.3.e164.arpa.3.1 NAPTR 1 1 <quote>u</quote> <quote>E2U+sip</quote> <quote>!(^.*$)!sip:abc@bar.fi!i</quote> .</programlisting> </answer> </qandaentry> <qandaentry> <question> <simpara> Will &ser; support <acronym>STUN</acronym> in the future? </simpara> </question> <answer> <simpara> <acronym>STUN</acronym> is a protocol operated separately from &ser; </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> Is there any way to show active calls (dialed number, duration, originating <acronym>IP</acronym>...) with &ser;? </simpara> </question> <answer> <simpara> No, ser is not call stateful. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> If I'm working with &rfc2543; compliant phones (such as <acronym>ATA</acronym>) may I use loose routing? </simpara> </question> <answer> <simpara> Yes, loose routing is backwards compatible. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> How can I configure radiator for digest authentication? </simpara> </question> <answer> <simpara> In case of radiator, you don't need to do anything special in the configuration. Just install the latest radiator and then make sure your config can handle the service-types you have configured ser to use. For example, you can have </simpara> <programlisting format="linespecific"><Handler Service-Type=SIP>...</AuthBy></programlisting> <simpara> Or whatever your strategy is. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> How can I configure radiator for digest authentication? </simpara> </question> <answer> <simpara> see freeradius-0.8.1/doc/rlm_digest </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> Trying to create alias, I am getting the following message: </simpara> <simpara> <quote>400 Table 'aliases' Not Found</quote> </simpara> </question> <answer> <simpara> You must have lookup(<quote>aliases</quote>) somewhere in your script. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> Also how much shared memory does &ser; allocate by default? </simpara> </question> <answer> <simpara> 32 Mb. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> How can I identify what ser doesn't like about the config file? </simpara> </question> <answer> <programlisting format="linespecific">0(612) parse error (81,1-10): syntax error0(612) parse error (91,1-6): ^^^^^^</programlisting> <simpara> These are the line number and the characters. So look in line 81 and 91 of your config file for errors. </simpara> </answer> </qandaentry> <qandaentry> <question> <programlisting format="linespecific">Warning: 392 216.87.144.203:5060 "Noisy feedback tells: pid=19604req_src_ip=216.87.144.205 req_src_port=5065 in_uri=sip:addaline.comout_uri=sip:addaline.com via_cnt==1".</programlisting> <simpara> I want to get rid of these? </simpara> </question> <answer> <simpara> Use sip_warning=no </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> Is &ser; a gatekeeper ? </simpara> </question> <answer> <simpara> No, &ser; is a &sip; proxy. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> Is there an example of the session timer with &ser; somewhere? </simpara> </question> <answer> <simpara> That's a theoretical &sip; option today, &ser; is not supporting session-timer. We gave it a try more than one year ago and gave up due to interop problems. The specification was developing at that time so quickly that there was not any UA which would work with another one correctly. </simpara> <simpara> Once the interoperability gets better, it could be worth implementing. It is in general a nice mechanism for avoiding session state silo in network, which is good for scalability. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> Could someone point me where I can read about this www_authorize() </simpara> </question> <answer> <simpara> The documentation is in sip_router/modules/auth_db/doc </simpara> <simpara> The function tries to verify user's credentials. It returns 1 if they are correct and -1 if not. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> I'm new to &ser; and would like to set up a test lab with a couple different ip phones / adapters to learn from. Could someone recommend a few devices that we could use for that purpose? </simpara> </question> <answer> <simpara> Hardphones: Grandstream, Cisco, ATA, Mitel, Pingtel, Snom </simpara> <simpara> Softphones: kphone, Xten, Windows Messenger, Hotsip client. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> how can i configure my ser for multiple domains? For example andrea@foo.bar and andrea@foo2.bar on the same server? </simpara> </question> <answer> <simpara> If you are using 0.8.10, it is a manual process--copy and paste <acronym>SQL</acronym> tables, have a table set for each served domain, and refer to the table names from your scripts. E.g., </simpara> <simpara> if (uri=~"domain1.com") { lookup("domain1"); ... </simpara> <simpara> With 0.8.11 you can automate the process quite a lot. Authorization functions with realm set to empty value take domain name from &sip; requests. User location database keeps track of domains as well. The <quote>domain</quote> modules allows you to keep track of maintained domains in a way which does not take changing scripts. </simpara> <simpara> It is possible there are some magic options in domain/usrloc/auth_db/ registrar/auth modules you need to turn on to enable multidomain operation--I don't remember these by heart, hopefuly some people on the mailing list do. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> I am testing &ser; version 0.8.11pre29 with two <acronym>MSN</acronym> Messenger(v4.6) clients. I tried to send the following MESSAGE through &ser; with record-route header added by &ser;. However, the receiving <acronym>MSN</acronym> client responded with a 400 Bad Request for that message. </simpara> </question> <answer> <simpara> It's <acronym>MSN</acronym> Messenger's bug--lr parameter is not recognized as specified in &rfc3261;. Use </simpara> <simpara> modparam(<quote>rr</quote>, <quote>enable_full_lr</quote>, 1) </simpara> <simpara> in ser config file to make it working. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> I have got an H.323 Mediatrix <acronym>FXO</acronym> gateway. It is not &sip; based. May I use it with &ser; ? </simpara> </question> <answer> <simpara> No. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> It is possible to process the voicemail request on the same instance I use to forward/register users ? </simpara> </question> <answer> <simpara> Yes. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> How can I checkout the sources from the <acronym>CVS</acronym> ? </simpara> </question> <answer> <simpara> FIXME. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> Are there any binary packages available ? </simpara> </question> <answer> <simpara> FIXME. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> What is symmetric signaling ? </simpara> </question> <answer> <simpara> FIXME. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> What is &sip;, <acronym>SIMPLE</acronym>, &sdp;, Proxy, Registrar, Redirect server ? </simpara> </question> <answer> <simpara> FIXME. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> &ser; starts normally with the default <filename>ser.cfg</filename>. When I uncommented the line load module <quote>/usr/local/lib/ser/modules/mysql.so</quote> to load mysql.so, everything seems normally. But actually, ser stops abnormally. </simpara> </question> <answer> <simpara> mysql module is excluded from compilation/installation by default (dependencies issue). You can compile it separately with: make modules modules=modules/mysql. Also, you can add it in the list of the default compiled modules with: make all include_modules=<quote>mysql</quote>. Then use: make install include_modules=<quote>mysql</quote>. To install only the modules: make install-modules include_modules=<quote>mysql</quote> or only the mysql module: make install-modules modules=modules/mysql. </simpara> </answer> </qandaentry> <qandaentry> <question> <simpara> Is ser compatible with MySQL 4.x ? </simpara> </question> <answer> <simpara> Yes. </simpara> </answer> </qandaentry> </qandaset> </chapter></book>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -