Hello,
I am using CVS version of ser. When compiling the Jabber module everything
seems OK, however when loading the configuration file, the following error
appears:
#>./ser -f serconfs/xxjab.cfg
0(31994) ERROR: load_module: could not open module
<./modules/jabber/jabber.so>: ./modules/jabber/jabber.so: undefined
symbol: XML_GetCurrentByteIndex
The expat library is installed. These are the modules I am trying to load:
loadmodule "./modules/print/print.so"
loadmodule "./modules/textops/textops.so"
loadmodule "./modules/tm/tm.so"
loadmodule "./modules/maxfwd/maxfwd.so"
loadmodule "./modules/sl/sl.so"
loadmodule "./modules/mysql/mysql.so"
loadmodule "./modules/registrar/registrar.so"
loadmodule "./modules/usrloc/usrloc.so"
loadmodule "./modules/pa/pa.so"
loadmodule "./modules/jabber/jabber.so"
Any help would be very appreciated.
Jaime
Hi Jan,
Last week I followed your instructions for the alias
assignment problem I had. As a result the "400 Table
'aliases' Not Found" message is gone, but an other one
is reported: "400 ul_add is expected", as soon as I' m
running the serctl alias add ... command.
Any idea why ?
regards,
George
Hello again !
Does anybody has working forwarding unanswered calls ?
I'm trying to do second day and nothing. :(
What does means parametr 9 in
append_branch("sip:nobody@iptel.org:9)
Why not 10 ?. Does it only need for
fr_inv_timer and fr_timer ??
Greetings
Andrzej Radke
At 12:56 AM 5/10/2003, Gary Goodloff wrote:
>I have committed to using SER and SERWEB from the current CVS download. (5-7-03). SER works great, especially the mysql accounting. The only problem I am having now is the IM portion of the SERWEB interface. I receive a 400 bad request when I try to forward a IM to another person. Does this person have to be online in order to receive the IM or will they receive it when they log into their web interface.
Hard to say without detailed SIP messages (see http://www.iptel.org/ser/bugs/
for problem reporting guidelines).
My quick guess is that record-routing is turned on and the receipient is Windows
Messenger which is silly not to accept ";lr" without value.
Try the following line to make WM happy: modparam("rr", "enable_full_lr", 1)
-Jiri
>
>
>Also what exactly is needed to place PC2PHONE calls using SER? I am so lost on what is needed equipment wise. The initial plan is to make PHONE2PC and PC2PHONE calls for trial and error then we want to make it goto GSM and SMS.
>
>
>
>Thanks
>
>
>
>Gary Goodloff
>KALG Communications / Nebraska Classifieds
>
>T: 402-898-4152
>
>C: 402-208-5183
>
>F: 413-294-3404
>
>
>
>
--
Jiri Kuthan http://iptel.org/~jiri/
Karel,
> when new user confirm registration, new numeric alias is created.
> There is no another way to add or edit aliases from serweb.
For some reason, my first two registrants didn't automatically get
assigned an alias. The third+ automatically got the alias.
What's the difference between "contacts" and "phone book" entries? Do
you have plans to make the alias viewable from the phonebook? When is
your next release planned? I have some customizations that I need to
implement but don't want to miss out on too many new features.
Thanks for the great product,
Patti McCreary
>
> Karel
>
> Jan Janak wrote:
>> Sorry, you are right. It adds a contact into the location table
>> and not alias, I was wrong.
>>
>> Looks like it is not possible to create an alias in serweb, Karel
>> ?
>>
>> Jan.
>>
>> On 16-05 11:14, Patti McCreary wrote:
>>
>>>Gotcha, didn't realize "contact" was an "alias". Noticed that my
>>>phone, configured with the username(a)domainname.com didn't register
>>>with my proxy (show as online) until a created an alias. Is this
>>>normal, or am I not seeing what I think I'm seeing?
>>>
>>>Thanks,
>>>Patti
>>>
>>>
>>>
>>>>Yes, the tab showing your account information also shows
>>>>registered aliases.
>>>>
>>>>Below you will find add new contact form which will add a new
>>>>alias.
>>>>
>>>> Jan.
>>>>
>>>>On 16-05 10:35, Patti McCreary wrote:
>>>>
>>>>>Is there a way to add/edit/view aliases from serweb?
>>>>>
>>>>>Patti
>>>>>
>>>>>
>>>>>>you must have lookup("aliases") somewhere in your script.
>>>>>>
>>>>>>On 16-05 19:18, George KAPELIOS wrote:
>>>>>>
>>>>>>>Trying to create alias, I am getting the following message:
>>>>>>>
>>>>>>>"400 Table 'aliases' Not Found"
>>>>>>>
>>>>>>>Could any can help ? Why the above mentioned table has not
>>>>>>>been created ?
>>>>>>
>>>>>> Probably because you are not using it.
>>>>>>
>>>>>>
>>>>>>>What is exactly the <uri> format ?
>>>>>>
>>>>>> sip:username@domain.com
>>>>>>
>>>>>>
>>>>>>>What is the solution for creating alias ?
>>>>>>
>>>>>> Use sc utility, i.e.
>>>>>> sc alias add my_alias sip:my_username@mydomain.com
>>>>>>
>>>>>> Jan.
>>>>>
>>>>>
>>>>>--
>>>>>Patti McCreary
>>>>>Web/DB Engineer
>>>>>SIPPhone.com
>>>>>patti(a)sipphone.com
>>>>>858-587-6700 Ext 291
>>>>>
>>>>>
>>>>
>>>
>>>--
>>>Patti McCreary
>>>Web/DB Engineer
>>>SIPPhone.com
>>>patti(a)sipphone.com
>>>858-587-6700 Ext 291
>>>
>>
>>
>
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
--
Patti McCreary
Web/DB Engineer
SIPPhone.com
patti(a)sipphone.com
858-587-6700 Ext 291
Runing a UAc (Win Mess. 4.6 or eStara) behind a NAPT
with pinholing on certain ports, I cannot transfer
voice. (the call establishment is fine, while the sip
ports are open, in the NAPT).
Is there any way of finding the RTP ports of the above
mentioned UAs (or any other UA), in order to open the
relevant ports on the NAPT router ?
Regards,
George
We have set up an environment including a Jabber server and one SER server. We are testing this application with an msn client.
The client sends one subscribe to SER for each registrated buddy on the SIP client.
If SER works with Jabber and the client has a ICQ/MSN tansport registrated on the Jabber server, the Jabber server sends all the accounts buddies back to SER.
SER ignores all these buddies and send only status on the registrated buddies back to the client.
What I want to achieve is: all the buddies that are sent by Jabber to SER to go further to the client and appear as away/online/offline. Now the client only get status/presence on the contacts that have been registrated on the sip client.
/ANNA
Thank you very much for quick answers, one more question though, I really need to get around this problem.
Is it possible to "translate" the buddy list into SIP and get the status/presence messages sent to the sip client in a notify message WITHOUT sending all these subscibe(´s).
Jabber send this big load of buddies to the Ser (see bellow in highlighted *2), who now just ignores them, but what if we split up all these buddies and send them in notify´s to the client.
Question: is it possible to send a lot of notify´s without sending "subscribe" to SER first.
Register from (msn)klient with icq transport
UAC
SER
Jabber
Register
Ã
200 ok
ß
200 acc
ß
subscribe
Ã
200 ok
ß
Notify
ß
200 ok
Ã
start stream
Ã
ok stream
ß
get query auth
Ã
result query auth
ß
set query auth
Ã
result
ß
get query roster
Ã
Notify
ß
200 ok
Ã
presence to b
Ã
result query roster*
ß
result query roster*
ß
* I want these to get translated into SIP and sent further on to the client.
Register from (msn)client with icq transport
Serà Jab (start stream)
<stream:stream to='storstark.x.se' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
Jabà ser (ok stream)
<?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' id='3EC37D57' xmlns='jabber:client' from='storstark.x.se'>
serà Jab (get query auth)
<iq id='00000000' type='get'><query xmlns='jabber:iq:auth'><username>a</username></query></iq>
Jabà ser (result query auth)
<iq id='00000000' type='result'><query xmlns='jabber:iq:auth'><username>a</username><password/><digest/><resource/></query></iq>
serà Jab (set query auth)
<iq id='00000001' type='set'><query xmlns='jabber:iq:auth'><username>a</username><resource>serXjab</resource><digest>cdca92ddc1414805e96e17ddb6a5900489d65467</digest></query></iq>
Jabà ser (result)
<iq id='00000001' type='result'/>
serà Jab (get query roster)
<iq type='get'><query xmlns='jabber:iq:roster'/></iq>
************************''
serà Jab (presence to b)
<presence><status>Online</status><priority>9</priority></presence>
<presence to='u(a)storstark.x.se' type='subscribe'/>
*2)
Jabà ser (result query roster)
<iq type='result' from='a(a)storstark.x.se/serXjab'><query xmlns='jabber:iq:roster'><item jid='32(a)icq.storstark.x.se' subscription='to' server='yes'/><item jid='16(a)icq.storstark.x.se' name='nbl@school' subscription='to' server='yes'><group>Contacts</group></item><item jid='20(a)icq.storstark.x.se' subscription='to' server='yes'/><item jid='41(a)icq.storstark.x.se' subscription='to' server='yes'/><item jid='17(a)icq.storstark.x.se' subscription='to' server='yes'/><item jid='15(a)icq.storstark.x.se' subscription='to' server='yes'/><item jid='92(a)icq.storstark.x.se' subscription='to' server='yes'/><item jid='66(a)icq.storstark.x.se' subscription='to' server='yes'/><item jid='10(a)icq.storstark.x.se' subscription='to' server='yes'/><item jid='u(a)storstark.x.se' name='u' subscription='both' server='yes'><group>Contacts</group></item><item jid='86(a)icq.storstark.x.se' subscription='to' server='yes'/><item jid='13(a)icq.storstark.x.se' subscription='to' server='yes'/><item jid='w(a)storstark.x.se' name='w' subscription='both' server='yes'><group>Contacts</group></item><item jid='24(a)icq.storstark.x.se' subscription='from' server='yes'/><item jid='51(a)icq.storstark.x.se' subscription='to' server='yes'/><item jid='icq.storstark.x.se/registered'
Jabà ser (result query roster)
subscription='from' server='yes'/><item jid='11(a)icq.storstark.x.se' subscription='to' server='yes'/></query></iq>
Jabà ser (presence from)
<presence from='u(a)storstark.x.se/TipicIM' to='a(a)storstark.x.se'><x xmlns='jabber:x:avatar'><hash>03d5f06d79b738d7f55aa03f054e6bc263f9f054</hash></x><priority>8</priority><x xmlns='jabber:x:delay' from='u(a)storstark.e-horizon.se/TipicIM' stamp='20030515T11:01:29'/><x xmlns='jabber:x:delay' from='u(a)storstark.x.se/TipicIM' stamp='20030515T11:01:29'/></presence>
***********************'
Jabà ser (presence from)
<presence from='u(a)storstark.e-horizon.se/TipicIM' to='a(a)storstark.x.se'><x xmlns='jabber:x:avatar'><hash>03d5f06d79b738d7f55aa03f054e6bc263f9f054</hash></x><priority>8</priority><x xmlns='jabber:x:delay' from='u(a)storstark.e-x.se/TipicIM' stamp='20030515T11:01:29'/><x xmlns='jabber:x:delay' from='u(a)storstark.x.se/TipicIM' stamp='20030515T11:01:29'/></presence>
Jabà ser (presence to)
<presence to='a(a)storstark.x.se' from='icq.storstark.e-horizon.se/registered'><status>Online</status><show>online</show></presence>
Jabà ser (presence to)
<presence to='a(a)storstark.x.se' from='16(a)icq.storstark.e-horizon.se'/>
We have set up an environment including a Jabber server and one SER server. We are testing this application with an msn client.
As from what we have understood the application works something like this.
The jabber server download (hotmail/icq) and stores all the buddies in a database.
When the sip client (with icq/msn authority) registers, The Jabber server sends all the client contacts (including the whole hotmail buddy list and it's other contacts, including status) to SER. Here it seems like SER filters all the contacts.
And ONLY send status/presence to the buddies that the client has sent "subscribed" for.
The rest won't ever appear as offline, this means that the sip client will have to register all it's buddies one more time in the sip client, meaning that all it's buddies will get one more "authorize".
We don't want that filter; we want all the buddies to be sent to the client.
We would like to skip the subscribe/notify thing and just get all the buddies directly from Jabber to the client, and not being filtered in SER. (All the buddies that not are registered in the sip client get thrown away (watcher-method in PA-module ??)).
Can we make this happen ??
This was hard to formulate but I hope you understand my problem.
Best reg
/ANNA
Sip client A SER Jabber
regà regÃ
10* subÃ
ß10*notify
ß20*buddies
|
|
ß10*buddies
Trying to create alias, I am getting the following message:
"400 Table 'aliases' Not Found"
Could any can help ? Why the above mentioned table has not been created
?
What is exactly the <uri> format ?
What is the solution for creating alias ?
Thanks in advance,
George
SER Users:
I'm having some problems with aliasing.
I think it is from a mis-behaving client, but I
would appreciate comments if anybody has some insight!
I have a user_id registering as 4695466417, I can call this
number from other SIP devices and from my PSTN gateway.
I set an alias for this user '233200'. The alias table
is updated, and the packet is forwarded correctly to the
device at 4695466417. That device is returning a 486 busy.
Here is the invite packet:
U 216.87.144.205:5060 -> 216.87.145.28:5060
INVITE sip:4695466417@192.168.2.23:5060 SIP/2.0..Max-Forwards: 10..Rec
ord-Route: <sip:PPCprotectedClient797115@216.87.144.205:5060>,<sip:233
200(a)216.87.144.203;branch=0>..Via: SIP/2.0/UDP 216.87.144.205:5060;bra
nch=PPCprotectedClient797115,SIP/2.0/UDP 216.87.144.203;branch=z9hG4bK
5819.87aaef61.0,SIP/2.0/UDP 216.87.145.22:5060..From: greg fausak <sip
:230057@addaline.com>;tag=247809120..To: <sip:233200@addaline.com>..Co
ntact: <sip:230057@216.87.145.22:5060>..Call-ID: 54D527FD-3383-4A70-97
D8-E80324106BF0@216.87.145.22..CSeq: 31104 INVITE..Authorization: Dige
st username="230057",realm="addaline.com",nonce="3ec70a8b000000003b186
6260d18b11488734cf3ee902282",response="f517708e3fc30b2feb733dbe2fa7585
0",uri="sip:233200@addaline.com"..Content-Type: application/sdp..User-
Agent: Addaline build 1002..Content-Length: 275....v=0..o=230057 37866
6493 378666493 IN IP4 216.87.144.205..s=Addaline..c=IN IP4 216.87.144.
205..t=0 0..m=audio 39258 RTP/AVP 0 3 98 97 101..a=rtpmap:0 pcmu/8000.
.a=rtpmap:3 gsm/8000..a=rtpmap:98 iLBC..a=rtpmap:97 speex/8000..a=rtpm
ap:101 telephone-event/8000..a=fmtp:101 0-15..
(sorry about the formatting)
Here is the response:
U 216.87.145.28:5060 -> 216.87.144.205:5060
SIP/2.0 486 Busy Here..From: greg fausak <sip:230057@addaline.com> ;ta
g=247809120..To: <sip:233200@addaline.com> ;tag=c0a80217-13c4-3ec70960
-e8d5-51a5..Call-ID: 54D527FD-3383-4A70-97D8-E80324106BF0(a)216.87.145.2
2..CSeq: 31104 INVITE..Via: SIP/2.0/UDP 216.87.144.205:5060 ;branch=PP
CprotectedClient797115..Via: SIP/2.0/UDP 216.87.144.203 ;branch=z9hG4b
K5819.87aaef61.0..Via: SIP/2.0/UDP 216.87.145.22:5060..User-Agent: FXS
_GW (3502a-sip0402.BIN)..Content-Length:0....
If I do an INVITE directly to 4695466417 it works. The only difference
in the INVITE packet seems to be the To: <sip:233200@addaline.com> or
To: <sip:4695466417@addaline.com>. Is this client misbehaving?
Thanks,
---greg
I just started playing with it today, it's a little quirky but it works
with ser, even presence seems to (at least between portrait ua's).
Unfortunately the PPC version doesn't seem to like authenticated
registrations, but it does work point to point.
Regards,
Phil
I am resending this message with the files zipped.
> Hi Jan,
>
> I am testing the cvs version on Solaris 2.8. It works fine without the
> mysql integration. But if I enable mysql authentication it crashes on
> startup. I compiled with "make all" and then "make prefix=/usr/local
> install". Below are the details with the ser.cfg and the debug output.
>
> Thanks,
> Ricardo
>
> # uname -a
> SunOS hana 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-5_10
>
> # gcc -v
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/specs
> Configured with:
>
../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/
> ld
> Thread model: posix
> gcc version 3.2.3
>
> # mysqladmin --version
> mysqladmin Ver 8.23 Distrib 3.23.56, for sun-solaris2.8 on sparc
>
>
>
>
>
> ----- Original Message -----
> From: "Jan Janak" <jan(a)iptel.org>
> To: <serusers(a)lists.iptel.org>
> Sent: Tuesday, May 06, 2003 11:28 AM
> Subject: [Serusers] Call for testing
>
>
Hi all,
We have finally integrated all important changes into the CVS and plan
to test the current version for a while, the current CVS version has
been running on iptel.org for more than two weeks.
We would like to ask users to start testing now. The more people will
test it the better. If you find any bugs please send them to us along
with as much description as possible.
This page:
http://developer.berlios.de/docman/display_doc.php?docid=32&group_id=2
contains a description of the cvs access. See section "How to check out
source anonymously".
A daily tarball can be downloaded here:
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/
Note that the database tables changed a little bit too. ser_mysql.sh now
contains a new command 'reinstall' which will convert existing tables into
new ones (use it only if you created the tables using the script from
a stable version).
- Overview of the most important changes can be found in NEWS file.
- So far the documentation was only partially updated, but we are
working on it.
thanks, Jan.
Thank you to all. It works now!
Tom
-----Original Message-----
From: Jan Janak [mailto:jan@iptel.org]
Sent: Thursday, May 15, 2003 12:12 PM
To: Bowar, Tom
Cc: Adriana Simizo; serusers(a)lists.iptel.org
Subject: Re: [Serusers] Help with serweb
Did you create your database tables with ser_mysql.sh script from 0.8.10 release ? If so then you will need to convert it because the tables have been changed.
To convert it you can use the script from the CVS snaphot of ser. Do the
following:
ser_mysql.sh reinstall
Jan.
On 15-05 12:07, Bowar, Tom wrote:
> It seems I am making progress now. Although I still cannot log in, I
> get an error:
>
> error in SQL query, line: 29
>
> Where should I look for the error?
>
> -----Original Message-----
> From: Adriana Simizo [mailto:simizo@telesp.com.br]
> Sent: Thursday, May 15, 2003 11:03 AM
> To: serusers(a)lists.iptel.org
> Subject: [Serusers] Re: Help with serweb
>
>
>
> Verify in php.ini if
>
> register_globals=On
>
>
> Adriana Simizo
> Estagiária
> Diretoria de Planejamento e Tecnologia - Tecnologia para Serviços
> GRUPO TELEFÔNICA NO BRASIL Av. Paulista, 2300 - 18° andar
> CEP 01310-300 S?o Paulo - SP
> Tel: 55 11-3154-6184 Fax: 55 11-3154-6494
> simizo(a)telesp.com.br
> http://www.telefonica.com.br
>
It seems I am making progress now. Although I still cannot log in, I get an error:
error in SQL query, line: 29
Where should I look for the error?
-----Original Message-----
From: Adriana Simizo [mailto:simizo@telesp.com.br]
Sent: Thursday, May 15, 2003 11:03 AM
To: serusers(a)lists.iptel.org
Subject: [Serusers] Re: Help with serweb
Verify in php.ini if
register_globals=On
Adriana Simizo
Estagiária
Diretoria de Planejamento e Tecnologia - Tecnologia para Serviços
GRUPO TELEFÔNICA NO BRASIL
Av. Paulista, 2300 - 18° andar
CEP 01310-300 São Paulo - SP
Tel: 55 11-3154-6184 Fax: 55 11-3154-6494
simizo(a)telesp.com.br
http://www.telefonica.com.br
Verify in php.ini if
register_globals=On
Adriana Simizo
Estagiária
Diretoria de Planejamento e Tecnologia - Tecnologia para Serviços
GRUPO TELEFÔNICA NO BRASIL
Av. Paulista, 2300 - 18° andar
CEP 01310-300 São Paulo - SP
Tel: 55 11-3154-6184 Fax: 55 11-3154-6494
simizo(a)telesp.com.br
http://www.telefonica.com.br
Yes, I have set those to my domain. Perhaps this is a problem: My domain
is set to 'localhost', both in the subscriber table and in the
config.php file.
-----Original Message-----
From: Ricardo Villa [mailto:ricvil@epm.net.co]
Sent: Thursday, May 15, 2003 10:20 AM
To: Bowar, Tom; serusers(a)lists.iptel.org
Subject: Re: [Serusers] Help with serweb
No...I'm refering to the config.php file. These 3 variables must be set
according to your domain:
$this->realm="yourdomain.biz"; $this->domainname="yourdomain.biz";
$this->default_domain="yourdomain.biz"
----- Original Message -----
From: "Bowar, Tom" <bowart(a)nextnetwireless.com>
To: <serusers(a)lists.iptel.org>
Sent: Thursday, May 15, 2003 10:02 AM
Subject: RE: [Serusers] Help with serweb
Are you referring to uncommenting the following line in the ser.cfg
file:
modparam("auth", "calculate_ha1", yes)
I have done this. Actually, I tried changing the domain back to
iptel.org also.
-----Original Message-----
From: Ricardo Villa [mailto:ricvil@epm.net.co]
Sent: Thursday, May 15, 2003 9:20 AM
To: Bowar, Tom
Subject: Re: [Serusers] Help with serweb
If your domain is not iptel.org...you need to fix the php scripts to
point to your real domain. The default scripts will compute the md hash
based on "iptel.org".
----- Original Message -----
From: "Bowar, Tom" <bowart(a)nextnetwireless.com>
To: <serusers(a)lists.iptel.org>
Sent: Thursday, May 15, 2003 8:59 AM
Subject: RE: [Serusers] Help with serweb
That is what I thought. So I added another user 'tom', and set the perms
column to 'admin'. I tried logging in with both 'tom' and 'admin', each
with the same result.
Tom
-----Original Message-----
From: Jan Janak [mailto:jan@iptel.org]
Sent: Thursday, May 15, 2003 3:30 AM
To: Bowar, Tom
Cc: serusers(a)lists.iptel.org
Subject: Re: FW: [Serusers] Help with serweb
Hello,
it is in MySQL database in subscribers table. Initialy only username
'admin' with password 'heslo' exists.
Jan.
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Are you referring to uncommenting the following line in the ser.cfg
file:
modparam("auth", "calculate_ha1", yes)
I have done this. Actually, I tried changing the domain back to
iptel.org also.
-----Original Message-----
From: Ricardo Villa [mailto:ricvil@epm.net.co]
Sent: Thursday, May 15, 2003 9:20 AM
To: Bowar, Tom
Subject: Re: [Serusers] Help with serweb
If your domain is not iptel.org...you need to fix the php scripts to
point to your real domain. The default scripts will compute the md hash
based on "iptel.org".
----- Original Message -----
From: "Bowar, Tom" <bowart(a)nextnetwireless.com>
To: <serusers(a)lists.iptel.org>
Sent: Thursday, May 15, 2003 8:59 AM
Subject: RE: [Serusers] Help with serweb
That is what I thought. So I added another user 'tom', and set the perms
column to 'admin'. I tried logging in with both 'tom' and 'admin', each
with the same result.
Tom
-----Original Message-----
From: Jan Janak [mailto:jan@iptel.org]
Sent: Thursday, May 15, 2003 3:30 AM
To: Bowar, Tom
Cc: serusers(a)lists.iptel.org
Subject: Re: FW: [Serusers] Help with serweb
Hello,
it is in MySQL database in subscribers table. Initialy only username
'admin' with password 'heslo' exists.
Jan.
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
That is what I thought. So I added another user 'tom', and set the perms
column to 'admin'. I tried logging in with both 'tom' and 'admin', each
with the same result.
Tom
-----Original Message-----
From: Jan Janak [mailto:jan@iptel.org]
Sent: Thursday, May 15, 2003 3:30 AM
To: Bowar, Tom
Cc: serusers(a)lists.iptel.org
Subject: Re: FW: [Serusers] Help with serweb
Hello,
it is in MySQL database in subscribers table. Initialy only username
'admin' with password 'heslo' exists.
Jan.
I am still not able to log into serweb. I updated from CVS, but no
difference.
What is the format of the username at login, and what does it
authenticate against? In other words, where is the login name and
password that I should be using. The symptom is that I type in username
and password, and screen just stays the same, but erases the username
and password.
Tom
-----Original Message-----
From: Jan Janak [mailto:jan@iptel.org]
Sent: Tuesday, May 06, 2003 11:31 AM
To: Bowar, Tom
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] Help with serweb
Hello,
On 06-05 09:38, Bowar, Tom wrote:
> Hello,
>
> I am trying to use SER in a test environment (we are getting ready to
> test a VoIP product that we are building). I have ser running and can
> register with authentication on the server. I have also installed
> serweb, and it looks fine until I try to log in. I put in the user
> name and password that I have added as admin, and the screen just
> clears the username and password fields and sits there. I have tried
> looking through the PHP code to understand how it does authentication,
> but I don't know PHP well enough to understand what it is
> authenticating against. I suspect a problem with my domain setup,
> because since it is a test environment, I did not use our actual
> domain name, I just used localhost as the domain.
>
> Am I on the right track, and if so, where do I need to look to make
> sure I have everything configured right?
Please update serweb from the CVS and try again, serweb author did
some changes yesterday. Also note that if you don't use domain
iptel.org then you will have to re-calculate HA1 strings in the
database, because they were calculated with iptel.org as the domain.
Let me know if the problem persist.
Jan.
>
> Tom Bowar
> bowart(a)nextnetwireless.com
HELP!!! --
I have tried installing jabber off of the sip-router CVS distr. I get
it compiled and when I try to start SER I get:
May 10 22:06:32 lunar /usr/local/sbin/ser[64543]: init_mod(): Error
while initializing module jabber
May 10 22:06:32 lunar /usr/local/sbin/ser[64543]: init_mod(): Error
while initializing module jabber
Here is my config:
# ----------- global configuration parameters ------------------------
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=no # (cmd line: -E)
/* Uncomment these lines to enter debugging mode
debug=7
fork=no
log_stderror=yes
*/
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
loadmodule "/usr/local/lib/ser/modules/print.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/acc.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/jabber.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
/* 0 -- dont use mysql, 1 -- write_through, 2--write_back */
modparam("usrloc", "db_mode", 2)
modparam("usrloc", "timer_interval", 10)
modparam("usrloc", "db_url","sql://ser:heslo@localhost/ser")
# -- auth params --
#modparam("auth", "calculate_ha1", yes)
modparam("auth_db", "db_url","sql://ser:heslo@localhost/ser")
modparam("auth_db", "user_column", "username")
# nonce generation secret; particularly useful if multiple servers
# in a proxy farm are configured to authenticate
#modparam("auth", "secret", "43sjkl33T9kjj_5jvlA384hg")
#modparam("auth", "nonce_expire", 300)
#modparam("auth", "retry_count", 5)
# -- acc params --
# report ACKs too for sake of completeness -- as we account PSTN
# destinations which are RR, ACKs should show up
modparam("acc", "report_ack", 1)
modparam("acc", "log_level", 1)
# that is the flag for which we will account -- don't forget to
# set the same one :-)
/* Usage of flags is as follows: 1==should account(all to gateway),
2==should rr (all to gateway, MESSAGES, etc), 3==should report
on missed calls (transactions to iptel.org's users), 4==destination
user wishes to use voicemail
*/
modparam("acc", "db_flag", 1 )
modparam("acc", "db_missed_flag", 3 )
# -- tm params --
modparam("tm", "fr_timer", 20 )
modparam("tm", "fr_inv_timer", 90 )
modparam("tm", "wt_timer", 20 )
modparam("tm", "uac_from", "sip:admin@sip.kalg.net" )
# ------- JABBER -----------------
modparam("jabber","db_url","sql://<login to db>@localhost/sip_jab")
modparam("jabber","jaddress","localhost")
modparam("jabber","jport",5222)
modparam("jabber","workers",2)
modparam("jabber","max_jobs",10)
modparam("jabber","aliases","4;icq.jabber.kalg.net;msn.jabber.kalg.net;y
ahoo.jabber.kalg.net;aim.jabber.kalg.net")
modparam("jabber","jdomain","jabber.kalg.net")
# ------------------------- request routing logic -------------------
# main routing logic
route{
if ((search("To:.*@icq\.jabber\.kalg\.net"))
|| (search("To:.*@aim\.jabber\.kalg\.net"))
|| (search("To:.*@msn\.jabber\.kalg\.net"))
|| (search("To:.*@jabber\.kalg\.net"))
|| (search("To:.*@yahoo\.jabber\.kalg\.net")))
{
if (method=="MESSAGE")
{
log("MESSAGE received -> manage it with
XJAB\n");
if(search("\n:online"))
{
if (jab_go_online())
{
sl_send_reply("200","Accepted");
}else{
sl_send_reply("404","Not
found");
};
break;
};
if(search("\n:offline"))
{
if (jab_go_offline())
{
sl_send_reply("200","Accepted");
}else{
sl_send_reply("404","Not
found");
};
break;
};
if(search("\n:join"))
{
if (jab_join_jconf())
{
sl_send_reply("200","Accepted");
}else{
sl_send_reply("404","Not
Found");
};
break;
};
if(search("\n:exit"))
{
if (jab_exit_jconf())
{
sl_send_reply("200","Accepted");
}else{
sl_send_reply("404","Not
Found");
};
break;
};
if (jab_send_message())
{
sl_send_reply("200","Accepted");
}else{
sl_send_reply("503","Service
Unavailable");
};
break;
};
};
forward(uri:host,uri:port);
lookup("aliases");
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (len_gt( max_len )) {
sl_send_reply("513", "Message too big");
break;
};
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
record_route();
# loose-route processing
loose_route();
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri=~"kalg.net") {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("kalg.net", "subscriber")) {
www_challenge("kalg.net", "0");
break;
};
save("location");
break;
};
# native SIP destinations are handled using our USRLOC
DB
if (!lookup("location")) {
sl_send_reply("404","Currently Not Available");
break;
};
};
# set for accounting (the same value as in acc_flag!)
if (method=="INVITE" || method=="BYE"){
setflag(1);
# ... and also report on missed calls ... note that reporting
# on missed calls is mutually exclusive with silent C timer
#
setflag(3);
};
# forward to current uri now; use stateful forwarding; that
# works reliably even if we forward from TCP to UDP
if (!t_relay()) {
sl_reply_error();
};
}
Gary Goodloff
KALG Communications, LTD
T: 402-898-4152
C: 402-208-5183
F: 413-294-3404
We have now installed the new version 0.8.11.
Our application includes both the SER and a Jabber server.
After installing the new version we have problem with presence on the sip client. This happends only with the ICQ contacts.
According to the SIP client the ICQ member is offine (even though it is not), the ICQ client says the SIP member is online and has no problem sending IM to the SIP client which also can be answered.
This kind of worked before but now all our icq memers appear offline all the time.It also seems like there is a problem with presence regarding other clients to, somehow the have status away even though they are not
Thank's again for great support.
Magnus
Ahh, OK, that is the problem. We changed the FIFO interface so you
should install CVS version of ser. You should do that anyway because it
contains many new features.
See
http://lists.iptel.org/pipermail/serusers/2003-May/001283.html
Jan.
On 13-05 02:47, George KAPELIOS wrote:
> I am not sure for that.
>
> I use ser-0.8.10 on RH 8.0, installed from .tar, as
> well as the serweb (how can I check the exact version
> of serweb?). I have downloaded the packet 10 days ago.
>
> Do you suggest me to re-install both ?
>
> What is the difference between the CVS version and the
> one (.tar) I used for my installation ?
>
> Where is the latest CVS version and what is the
> installation procedure, in that case ?
>
> George
>
> --- Jan Janak <jan(a)iptel.org> wrote:
> > And are you using a CVS version of ser and latest
> > serweb version ?
> > We tried to install both on a new machine couple
> > days ago and it worked
> > fine, that's why I am asking.
> >
> > Jan.
> >
> > On 13-05 02:21, George KAPELIOS wrote:
> > > Yes it is.
> > >
> > > George
> > >
> > > --- Jan Janak <jan(a)iptel.org> wrote:
> > > > Hello,
> > > >
> > > > is your ser running and working ?
> > > >
> > > > Jan.
> > > >
> > > > On 12-05 19:20, George KAPELIOS wrote:
> > > > > Enabling the "write" permission of ser_fifo
> > the
> > > > warning message
> > > > > disappeared, but still a message (in red
> > fonts)
> > > > appears in the main
> > > > > frame: "sorry - fifo reading error".
> > > > >
> > > > > The "read" attribute for the file is also
> > enabled.
> > > > Is anybody knows what
> > > > > is still wrong? What is the form trying to
> > read
> > > > from the fifo in that
> > > > > point?
> > > > >
> > > > > Regards,
> > > > > George
> > > > >
> > > > > -----Original Message-----
> > > > > From: santosh s [mailto:apna22@yahoo.com]
> > > > > Sent: Monday, 12 May, 2003 12:24
> > > > > To: George KAPELIOS
> > > > > Subject: Re: [Serusers] Cannot open fifo
> > > > >
> > > > > Just check out if the ser_fifo has "write"
> > > > permision
> > > > > inside /tmp directory.
> > > > >
> > > > > Regards,
> > > > > Santosh
> > > > >
> > > > > --- George KAPELIOS <kapelios(a)yahoo.com>
> > wrote:
> > > > > > After I managed to login to serweb through
> > the
> > > > > > ../admin/index.php as admin user, I 'm
> > trying to
> > > > > > access the admin user's account.
> > > > > >
> > > > > > I can open the page and even make changes
> > and
> > > > save
> > > > > > them, but I'm receiving the following
> > warning
> > > > > > message:
> > > > > > Warning: fopen("/tmp/ser_fifo", "w") -
> > > > Permission
> > > > > > denied in /var/www/html/serweb/functions.php
> > on
> > > > line
> > > > > > 172
> > > > > > Sorry - cannot open fifo
> > > > > >
> > > > > > Nothing has been changed on line 172 of the
> > > > > > functions.php file and the ser_fifo file
> > exists
> > > > in
> > > > > > the
> > > > > > /tmp directory with 0 bytes size.
> > > > > >
> > > > > > Any idea what it might cause such a problem
> > ?
> > > > > >
> > > > > > best regards,
> > > > > > george
> > > > > >
> > > > > >
> > _______________________________________________
> > > > > > Serusers mailing list
> > > > > > serusers(a)lists.iptel.org
> > > > > >
> > http://lists.iptel.org/mailman/listinfo/serusers
> > > > >
> > > > >
> > > > > __________________________________
> > > > > Do you Yahoo!?
> > > > > The New Yahoo! Search - Faster. Easier. Bingo.
> > > > > http://search.yahoo.com
> > > >
> > >
> > > > ATTACHMENT part 2 application/pgp-signature
> > >
> > >
>
Hi all,
Is there any RFC available which I can refer to, for
writting a client program for SER PA module ? I am
intersted in GET/SET Presence information, subscribe,
notify, unsubscribe messages for a user with SER PA
module.
Thanks in advance,
Santosh
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
Hello all !
I have problem with this feature
As was described, I:
- created separate subscriber and location database table for my second
domain called subscriber.gdynia and location.gdynia
- configure my script properly (I hope) ;)
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("gdynia.pl", "subscriber.gdynia")) {
www_challenge("gdynia.pl", "0");
break;
};
save("location.gdynia");
log(3,"REGISTER from gdynia.pl");
sl_send_reply("200", "ok");
break;
if (!www_authorize("gda.pl", "subscriber"))
{
www_challenge("gda.pl", "0");
break;
};
save("location");
log(3,"REGISTER from gda.pl");
sl_send_reply("200", "ok");
break;
};
Nobody is regigisted from this domain :(
Is this same solution ( create separate table) in the newest version of
SER ?
Greetings
Andrzej Radke
hi, sometime last month someone here offered to help me sort out getting two
SER servers working behind two Linux firewalls doing NAT with iptables.
As i said then i was having email problems but that's all fixed now so if that
person, or anyone else can help, please say.
cheers, and i hope i can get this working :)
--
Mat Harris ( ) ASCII Ribbon Campaign
mat.harris(a)genestate.com X against HTML on email
Network/Systems Administrator / \ and Usenet posts
And are you using a CVS version of ser and latest serweb version ?
We tried to install both on a new machine couple days ago and it worked
fine, that's why I am asking.
Jan.
On 13-05 02:21, George KAPELIOS wrote:
> Yes it is.
>
> George
>
> --- Jan Janak <jan(a)iptel.org> wrote:
> > Hello,
> >
> > is your ser running and working ?
> >
> > Jan.
> >
> > On 12-05 19:20, George KAPELIOS wrote:
> > > Enabling the "write" permission of ser_fifo the
> > warning message
> > > disappeared, but still a message (in red fonts)
> > appears in the main
> > > frame: "sorry - fifo reading error".
> > >
> > > The "read" attribute for the file is also enabled.
> > Is anybody knows what
> > > is still wrong? What is the form trying to read
> > from the fifo in that
> > > point?
> > >
> > > Regards,
> > > George
> > >
> > > -----Original Message-----
> > > From: santosh s [mailto:apna22@yahoo.com]
> > > Sent: Monday, 12 May, 2003 12:24
> > > To: George KAPELIOS
> > > Subject: Re: [Serusers] Cannot open fifo
> > >
> > > Just check out if the ser_fifo has "write"
> > permision
> > > inside /tmp directory.
> > >
> > > Regards,
> > > Santosh
> > >
> > > --- George KAPELIOS <kapelios(a)yahoo.com> wrote:
> > > > After I managed to login to serweb through the
> > > > ../admin/index.php as admin user, I 'm trying to
> > > > access the admin user's account.
> > > >
> > > > I can open the page and even make changes and
> > save
> > > > them, but I'm receiving the following warning
> > > > message:
> > > > Warning: fopen("/tmp/ser_fifo", "w") -
> > Permission
> > > > denied in /var/www/html/serweb/functions.php on
> > line
> > > > 172
> > > > Sorry - cannot open fifo
> > > >
> > > > Nothing has been changed on line 172 of the
> > > > functions.php file and the ser_fifo file exists
> > in
> > > > the
> > > > /tmp directory with 0 bytes size.
> > > >
> > > > Any idea what it might cause such a problem ?
> > > >
> > > > best regards,
> > > > george
> > > >
> > > > _______________________________________________
> > > > Serusers mailing list
> > > > serusers(a)lists.iptel.org
> > > > http://lists.iptel.org/mailman/listinfo/serusers
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > The New Yahoo! Search - Faster. Easier. Bingo.
> > > http://search.yahoo.com
> >
>
> > ATTACHMENT part 2 application/pgp-signature
>
>
Hi,
I'm doing a few tests to try SER.
I use a simple configuration:
-two Cisco ip phones
-one Cisco 1760 Voice gateway with ISDN interfaces.
Calling between the ip phones works, but going through
the Voice Gateway is something else... I don't really
understand how to edit the config file, and I suppose
their's a simple way. Here's how I tried.
I added these lines to the default config:
if (uri=~"^sip:452564@10.1.1.22") {
t_relay_to("10.1.1.240","5060");
break;
};
And I call always teh same number 452564. 10.1.1.240 being
my gateway, and 10.1.1.22 the SIP proxy server.
An extract of the debbuging info:
...
6(13970) SIP Request:
6(13970) method: <ACK>
6(13970) uri: <sip:452564@10.1.1.22>
6(13970) version: <SIP/2.0>
6(13970) parse_headers: flags=1
...
6(13970) DEBUG: add_param: tag=d907c037823644515dfe0ede38ca9976.1dfc
6(13970) end of header reached, state=29
6(13970) DEBUG: get_hdr_field: <To> [66]; uri=[sip:452564@10.1.1.22]
6(13970) DEBUG: to body [<sip:452564@10.1.1.22>]
6(13970) DEBUG: sl_filter_ACK : local ACK found -> dropping it!
6(13970) error:...
..
If you see something big, please let me know.
THanks.
Sebastien Peterson
Luxembourg.
route{
# initial sanity checks -- messages with
# max_forwars==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (len_gt( max_len )) {
sl_send_reply("513", "Message too big");
break;
};
# Do strict routing if pre-loaded route headers present
rewriteFromRoute();
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
# if (!www_authorize("iptel.org", "subscriber")) {
# www_challenge("iptel.org", "0");
# break;
# };
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
if (uri=~"^sip:452564@10.1.1.22") {
t_relay_to("10.1.1.240","5060");
break;
};
# forward to current uri now
if (!t_relay()) {
sl_reply_error();
};
}
Enabling the "write" permission of ser_fifo the warning message
disappeared, but still a message (in red fonts) appears in the main
frame: "sorry - fifo reading error".
The "read" attribute for the file is also enabled. Is anybody knows what
is still wrong? What is the form trying to read from the fifo in that
point?
Regards,
George
-----Original Message-----
From: santosh s [mailto:apna22@yahoo.com]
Sent: Monday, 12 May, 2003 12:24
To: George KAPELIOS
Subject: Re: [Serusers] Cannot open fifo
Just check out if the ser_fifo has "write" permision
inside /tmp directory.
Regards,
Santosh
--- George KAPELIOS <kapelios(a)yahoo.com> wrote:
> After I managed to login to serweb through the
> ../admin/index.php as admin user, I 'm trying to
> access the admin user's account.
>
> I can open the page and even make changes and save
> them, but I'm receiving the following warning
> message:
> Warning: fopen("/tmp/ser_fifo", "w") - Permission
> denied in /var/www/html/serweb/functions.php on line
> 172
> Sorry - cannot open fifo
>
> Nothing has been changed on line 172 of the
> functions.php file and the ser_fifo file exists in
> the
> /tmp directory with 0 bytes size.
>
> Any idea what it might cause such a problem ?
>
> best regards,
> george
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
When I try to utilize the IM or Click_to_Dial interfaces in Serweb (CVS)
I get a 408 Request Timed Out.
Any ideas? Everything else works.
Gary Goodloff
KALG Communications, LTD
T: 402-898-4152
C: 402-208-5183
F: 413-294-3404
Hello,
After I extended the dictionary of radiusclient the auth_radius module works
fine. I see lots of messages sent by SER in the logfile of Radiator.
However the authentication failed:
Mon May 12 19:48:13 2003: DEBUG: Radius::AuthLDAP2 looks for match with yang
Mon May 12 19:48:13 2003: WARNING: No CHAP-Password or User-Password in
request: does your dictionary have User-Password in it?
Mon May 12 19:48:13 2003: DEBUG: Radius::AuthLDAP2 REJECT: Bad Encrypted
password
Mon May 12 19:48:13 2003: INFO: Connecting to localhost, port 389
Mon May 12 19:48:13 2003: INFO: Attempting to bind with , (server
localhost:389)
Mon May 12 19:48:13 2003: DEBUG: No entries for DEFAULT found in LDAP
database
Mon May 12 19:48:13 2003: INFO: Access rejected for yang: Bad Encrypted
password
How can I configure radiator for digest authentication? Does anyone here
have a sample config?
Thanks
yang
----- Original Message -----
From: "Jan Janak" <jan(a)iptel.org>
To: "Yang Xiang" <yang.xiang(a)iitb.fraunhofer.de>
Cc: "Andrei Pelinescu-Onciul" <pelinescu-onciul(a)fokus.fraunhofer.de>;
<serdev(a)lists.iptel.org>
Sent: Monday, May 12, 2003 1:04 PM
Subject: Re: [Serdev] configure radius support and question on debug
Your request looped, make sure that URI in the Request-URI of the
request resolves to the server on which ser is running.
Or you can add an alias into the config file, see Ser Administrator's
Guide for more details.
If that is not the case then, please, send me also the message dumps.
Jan.
PS: CC serusers(a)lists.iptel.org or serhelp(a)lists.iptel.org (for bigger messages).
On 12-05 14:31, Oleg Ustinov wrote:
> Hello Jan,
> this is:
>
> PS: If I try to comment (loadmodule "/usr/local/lib/ser/modules/auth.so")
> SER don't started...
>
> --------------- start here
> #
> # $Id: ser.cfg,v 1.12 2002/10/21 02:40:06 jiri Exp $
> #
> # simple quick-start config script
> #
>
> # ----------- global configuration parameters ------------------------
>
> debug=3 # debug level (cmd line: -dddddddddd)
> fork=yes
> log_stderror=yes # (cmd line: -E)
> check_via=no # (cmd. line: -v)
> dns=no # (cmd. line: -r)
> rev_dns=no # (cmd. line: -R)
> port=5060
> children=4
> fifo="/tmp/ser_fifo"
>
> # ------------------ module loading ----------------------------------
>
> # Uncomment this if you want to use SQL database
> #!!!!!!!!! next1
> loadmodule "/usr/local/lib/ser/modules/mysql.so"
>
> loadmodule "/usr/local/lib/ser/modules/sl.so"
> loadmodule "/usr/local/lib/ser/modules/tm.so"
> loadmodule "/usr/local/lib/ser/modules/rr.so"
> loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
> loadmodule "/usr/local/lib/ser/modules/usrloc.so"
> loadmodule "/usr/local/lib/ser/modules/registrar.so"
>
> # Uncomment this if you want digest authentication
> # mysql.so must be loaded !
> loadmodule "/usr/local/lib/ser/modules/auth.so"
>
> # ----------------- setting module-specific parameters ---------------
>
> # -- usrloc params --
> #!!!!!!!!! next1
> #modparam("usrloc", "db_mode", 0)
>
> # Uncomment this if you want to use SQL database
> # for persistent storage and comment the previous line
> #!!!!!!!!! next1
> modparam("usrloc", "db_mode", 2)
>
> # -- auth params --
> # Uncomment if you are using auth module
> #modparam("auth", "secret", "alsdkhglaksdhfkloiwr")
> #!!!!!!!!! next1
> modparam("auth", "calculate_ha1", yes)
> #
> # If you set "calculate_ha1" parameter to yes (which true in this config),
> # uncomment also the following parameter)
> #!!!!!!!!! next1
> modparam("auth", "password_column", "password")
>
> # ------------------------- request routing logic -------------------
>
> # main routing logic
>
> route{
>
> # initial sanity checks -- messages with
> # max_forwars==0, or excessively long requests
> if (!mf_process_maxfwd_header("10")) {
> sl_send_reply("483","Too Many Hops");
> break;
> };
> if (len_gt( max_len )) {
> sl_send_reply("513", "Message too big");
> break;
> };
>
> # Do strict routing if pre-loaded route headers present
> rewriteFromRoute();
>
> # if the request is for other domain use UsrLoc
> # (in case, it does not work, use the following command
> # with proper names and addresses in it)
> if (uri==myself) {
>
> if (method=="REGISTER") {
>
> # Uncomment this if you want to use digest authentication
> #!!!!!!!!! start
> if (!www_authorize("nectis.net", "subscriber")) {
> www_challenge("nectis.net", "0");
> break;
> };
> #!!!!!!!!! end
> save("location");
> break;
> };
>
> # native SIP destinations are handled using our USRLOC DB
> if (!lookup("location")) {
> sl_send_reply("404", "Not Found");
> break;
> };
> };
> # forward to current uri now
> if (!t_relay()) {
> sl_reply_error();
> };
>
> }
> ---------------- end here
>
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: Jan Janak [mailto:jan@iptel.org]
> Sent: Monday, May 12, 2003 1:56 PM
> To: Oleg Ustinov
> Cc: serusers(a)lists.iptel.org
> Subject: Re: [Serusers] can't register
>
>
> Hello,
>
> could you send us message dumps and your configuration file ?
>
> Jan.
>
> On 12-05 11:53, Oleg Ustinov wrote:
> > I've same problem. Probably it is a MySQL connectivity problem.
> > I've install it all as described in Dan's HOWTO, with no MySQL SER still
> > working.
> > With MySQL it's don't working (SerWeb too): stopped at MySQL
> > authorization...
> >
> > Where is problem?
> > -----Original Message-----
> > From: serusers-admin(a)iptel.org [mailto:serusers-admin@lists.iptel.org]On
> Behalf
> > Of Serge Kravchenko
> > Sent: Wednesday, April 09, 2003 12:00 PM
> > To: serusers(a)lists.iptel.org
> > Subject: [Serusers] can't register
> >
> >
> > hello.
> >
> > i've been trying to register to ser with couple of UAs like x10, estara
> > and snom100.
> > the response is following:
> >
> > RECEIVE << ser_ip_address:5060
> > SIP/2.0 483 Too Many Hops
> > Via: SIP/2.0/UDP my_ip_address:5060
> > From: <sip:krav@sip.sipuser.com>
> > To: <sip:krav@sip.sipuser.com>;tag=53d3b67acb7f1aa5eed7d0549c34647b.dea0
> > Call-ID: 77FCCA606A8111D7B7A2000021F0A5BA(a)sip.sipuser.com
> > CSeq: 1788 REGISTER
> > Server: Sip EXpress router (0.8.10 (i386/freebsd))
> > Content-Length: 0
> > Warning: 392 212.58.142.4:5060 "Noisy feedback tells: pid=93155
> > req_src_ip=ser_ip_address in_uri=sip:sip.sipuser.com
> > out_uri=sip:sip.sipuser.com via_cnt==12"
> >
> > mysql has been installed properly, and i can add subscribers using
> > serctl......
> > i guess there's something wrong with script, which is default, i've just
> > uncommented everything regarding auth and mysql.
> >
> > and following is what i get in ser box logs:
> >
> > May 12 09:08:57 sip ./ser[93190]: ERROR: parse_cseq: bad cseq
> > May 12 09:08:57 sip ./ser[93190]: ERROR: get_hdr_field: bad cseq
> > May 12 09:08:57 sip ./ser[93190]: ERROR: build_res_buf_from_sip_req:
> alas,
> > parse_headers failed
> >
> > any suggestions please?
> >
> > thanks.
>
>
I have committed to using SER and SERWEB from the current CVS download.
(5-7-03). SER works great, especially the mysql accounting. The only
problem I am having now is the IM portion of the SERWEB interface. I
receive a 400 bad request when I try to forward a IM to another person.
Does this person have to be online in order to receive the IM or will
they receive it when they log into their web interface.
Also - what exactly is needed to place PC2PHONE calls using SER? I am
so lost on what is needed equipment wise. The initial plan is to make
PHONE2PC and PC2PHONE calls for trial and error - then we want to make
it goto GSM and SMS.
Thanks
Gary Goodloff
KALG Communications / Nebraska Classifieds
T: 402-898-4152
C: 402-208-5183
F: 413-294-3404
hello.
i've been trying to register to ser with couple of UAs like x10, estara and snom100.
the response is following:
RECEIVE << ser_ip_address:5060
SIP/2.0 483 Too Many Hops
Via: SIP/2.0/UDP my_ip_address:5060
From: <sip:krav@sip.sipuser.com>
To: <sip:krav@sip.sipuser.com>;tag=53d3b67acb7f1aa5eed7d0549c34647b.dea0
Call-ID: 77FCCA606A8111D7B7A2000021F0A5BA(a)sip.sipuser.com
CSeq: 1788 REGISTER
Server: Sip EXpress router (0.8.10 (i386/freebsd))
Content-Length: 0
Warning: 392 212.58.142.4:5060 "Noisy feedback tells: pid=93155 req_src_ip=ser_ip_address in_uri=sip:sip.sipuser.comout_uri=sip:sip.sipuser.com via_cnt==12"
mysql has been installed properly, and i can add subscribers using serctl......
i guess there's something wrong with script, which is default, i've just uncommented everything regarding auth and mysql.
and following is what i get in ser box logs:
May 12 09:08:57 sip ./ser[93190]: ERROR: parse_cseq: bad cseq
May 12 09:08:57 sip ./ser[93190]: ERROR: get_hdr_field: bad cseq
May 12 09:08:57 sip ./ser[93190]: ERROR: build_res_buf_from_sip_req: alas, parse_headers failed
any suggestions please?
thanks.
After I managed to login to serweb through the
../admin/index.php as admin user, I 'm trying to
access the admin user's account.
I can open the page and even make changes and save
them, but I'm receiving the following warning message:
Warning: fopen(�/tmp/ser_fifo�, �w�) � Permission
denied in /var/www/html/serweb/functions.php on line
172
Sorry � cannot open fifo
Nothing has been changed on line 172 of the
functions.php file and the ser_fifo file exists in the
/tmp directory with 0 bytes size.
Any idea what it might cause such a problem ?
best regards,
george
After I solved the problem with the code browsing (thanks to
Daniel-Constantin), I have exactly the same problem like Anna has.
I tried to follow Daniel's help as well as the manual ones on
www.pp.net/manual/, but as I realized the /usr/lib/php4/ folder on
RedHat 8.0 contains only the following PHP extensions: imap.so, ldap.so
& pgsql.so.
I searched the RH RPM for any relevant package such as
"php-mysql-x.x.x.x", in order to find a mysql.so, but nothing is there.
Does anybody now if a php-mysql package is released for RH 8.0, or if I
can use any one from a previous RH edition and where I can find it?
Thanks in advance,
George
COMer - Programming Language for Component Development
If you are a Windows Programmer, I would like to introduce something
interesting to you.
COMer is a native programming language for COM component development.
A COM component can be easily made in COMer as follow: [File:MyCom.cm]
#ifndef _MYCOM_CM
#define _MYCOM_CM
/*
* A COM Class
*/
[ clsid = "{EF6CD47E-B844-4219-B582-6F9FE16D45F6}",
progid = "Dexterity.MyCom1.1",
helpstring = "Dexterity Com1 Class",
export, unhandle ]
com CMyCom1
{
/*
* An Interface implemented in this class
*/
[iid="{A123799B-1D8B-4efb-8D43-42AE582767C1}"]
interface IMyInterface
{
method SetValue(int dVal)
{
m_dValue = dVal;
done;
}
method GetDoubleValue(int &dVal)
{
dVal = m_dValue << 1;
done;
}
}
/*
* Instance variables
*/
instvars
{
int m_dValue;
}
}
#endif
The design of COMer is native to the concept of the Component Object Model
(COM) mechanism. COM classes are defined as in the way that COM specifies.
Interfaces are specified or defined within a COM class and the methods of
the interfaces are defined within the interfaces. It is simple.
A special characteristic of COMer is that the COMer compiler generates C++
source code files as its final outputs. Therefore, you can use C++ code
within the COMer classes, like Lex, Yacc or MIDL. To build the component,
what you need to do is to specify one more file only to indicate the module
of the component to build.
E.g: [File:MyCom.cmdef]
module: inprocsvr
source { MyCom.cm }
Then, by the following command line (cmc is the COMer compiler program):
> cmc MyCom.cmdef
COMer compiler will generate the following C++ files:
Main.cpp
MyCom.h
MyCom.cpp
MyCom.def
Makefile
Finally, you only need to build these C++ files by using the generated
makefile by C++ build tools. The component 'MyCom.dll' will then be made.
It's so simple!
Lets try it! You will like it!
Home Page:
http://www.dexterity.com.hk/COMer/
Download Trial Version:
http://www.dexterity.com.hk/COMer/Download/Download.asp
Dexterity Technologies Limited
http://www.dexterity.com.hk/
If you don't want to receive any more message from us, please send an
e-mail to comer(a)dexteritytech.com to unsubscribe.
Please don't reply this e-mail.
We apologize for any inconvenience caused.
Hello,
I am trying to use SER in a test environment (we are getting ready to
test a VoIP product that we are building). I have ser running and can
register with authentication on the server. I have also installed
serweb, and it looks fine until I try to log in. I put in the user name
and password that I have added as admin, and the screen just clears the
username and password fields and sits there. I have tried looking
through the PHP code to understand how it does authentication, but I
don't know PHP well enough to understand what it is authenticating
against. I suspect a problem with my domain setup, because since it is a
test environment, I did not use our actual domain name, I just used
localhost as the domain.
Am I on the right track, and if so, where do I need to look to make sure
I have everything configured right?
Tom Bowar
bowart(a)nextnetwireless.com
---> Have you configured PHP to load the MySQL extension?
How do I do that, bellow I have experimented some with the
/etc/php.ini file, but still the same result !!
So how do I configure PGP tp load the MySQL extension
Many thanks again for quick answers
/ANNA
; Directory in which the loadable extensions (modules) reside.
;extension_dir = /usr/lib/php4
extension_dir = /usr/local/lib/ser/modules [ /usr/local/lib/ser/modules/mysql.so ]
;Whether or not to enable the dl() function. The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
; disabled on them.
enable_dl = On
;extension=ldap.so
;extension=mhash.so
;extension=mssql65.so
;extension=mssql70.so
extension=mysql.so
;extension=oas.so
;extension=odbc.so
;extension=oci8.so
;extension=oracle.so
;extension=pdf.so
__________________________________________________________________
anna rahm
ICQ#: 176699319
Current ICQ status:
+ More ways to contact me
__________________________________________________________________
I have installed ser on RedHat 8.0/i686 and I' m
trying to run serweb over Apache 2.0.40 and PHP 4.2.2
(both they are the default versions installed by RH
8.0).
I have made all (I hope) the adjustments in the .php
and .conf files, but when I' m trying to open the
/serweb/admin/index.php file (either by Mozila on the
same PC, or by IE 5 on a Win-XP PC), I only see the
code of the file. However, the code is not shown from
the very first line, but always from the same point, 3
or 4 line below the first one.
Thanks in advance for any help or idea.
regards,
George
Trying to load the serweb page I get the following error message:
Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/phplib/db_mysql.inc on line 73
I have looked into the database settings and can't find anything wrong with them. are there more then this:
$this->db_host="172.18.3.164"; //database host
$this->db_name="ser"; //database name
$this->db_user="ser"; //database conection user
$this->db_pass="heslo"; //database conection password
I have also tried to "Installing SERweb custom file locations" 4.3 in the http://www.fitawi.com/ser-Howto.html but just can't get it to work, please help !
see config file bellow
I try to load the page :
http://dhcp164-devel/htdocs/serweb/admin/index.php
after the error masg the browser say:
http://dhcp164-devel/htdocs/serweb/admin/index.php?phplib_Session=4bcada0b4…
Many thank's
/ANNA
serweb dir include:
admin config.php CVS functions.php img page.php styles user_interface
the config.php file is placed in:
/var/www/html/htdocs/serweb
<?
/*
* $Id: config.php,v 1.10 2002/09/25 23:26:47 jiri Exp $
*/
class Csub_not {
var $uri, $desc;
function Csub_not($uri, $desc){
$this->uri=$uri;
$this->desc=$desc;
}
}
class Cconfig {
var $db_host;
var $db_name;
var $db_user;
var $db_pass;
var $table_subscriber;
var $table_pending;
var $table_grp;
var $table_aliases;
var $table_location;
var $table_missed_calls;
var $table_accounting;
var $table_phonebook;
var $table_event;
var $show_voicemail_acl;
var $enable_dial_voicemail;
var $enable_test_firewall;
var $grp_values;
var $realm;
var $domainname;
var $first_alias_number;
var $new_alias_expires;
var $new_alias_q;
var $new_alias_callid;
var $new_alias_cseq;
var $pre_uid_expires;
var $psignature;
var $web_contact;
var $fifo_server;
var $reply_fifo_filename;
var $reply_fifo_path;
var $ul_table;
var $ul_priority;
var $im_length;
var $default_domain;
var $root_path;
var $img_src_path;
var $js_src_path;
var $style_src_path;
var $zonetab_file;
var $charset;
var $default_width;
var $num_of_showed_items;
var $enable_tabs;
var $sub_not;
var $link_siptutorial;
var $link_sipproducts;
var $link_standards;
var $link_iptelworkshop;
var $link_glossary;
var $link_abstract;
var $link_home;
var $mail_header_from;
var $mail_forgot_pass;
var $forgot_pass_subj;
var $mail_register;
var $register_subj;
var $terms_and_conditions;
function Cconfig(){
$this->db_host="172.18.3.164"; //database host
$this->db_name="ser"; //database name
$this->db_user="ser"; //database conection user
$this->db_pass="heslo"; //database conection password
// names of tables
$this->table_subscriber="subscriber";
$this->table_pending="pending";
$this->table_grp="grp";
$this->table_aliases="aliases";
$this->table_location="location";
$this->table_missed_calls="missed_calls";
$this->table_accounting="acc";
$this->table_phonebook="phonebook";
$this->table_event="event";
$this->show_voicemail_acl=true; //show "voicemail" in ACL and voicemail checkbox at my account
$this->enable_dial_voicemail=false;
$this->enable_test_firewall=false;
$this->grp_values[]="voicemail";
$this->grp_values[]="ld";
$this->grp_values[]="local";
$this->grp_values[]="int";
$this->realm="e-horizon.se";
$this->domainname="e-horizon.se";
$this->first_alias_number=18888;
$this->new_alias_expires='2020-01-01 00:00:00';
$this->new_alias_q=1.00;
$this->new_alias_callid="";
$this->new_alias_cseq=1;
$this->pre_uid_expires=3600; //seconds in which expires "get pass session"
$this->psignature="Web_interface_Karel_Kozlik-0.9";
$this->web_contact="sip:daemon@iptel.org"; //address of pseudo sender
$this->fifo_server="/tmp/ser_fifo"; //path to fifo server
$this->reply_fifo_filename="webfifo_".rand();
$this->reply_fifo_path="d:/temp/".$this->reply_fifo_filename;
$this->ul_table="table";
$this->ul_priority="1.00";
$this->im_length=1300; //max length of instant message
$this->default_domain="e-horizon.se";
$this->root_path="/serweb";
$this->img_src_path = $this->root_path."img/";
$this->js_src_path = $this->root_path."styles/";
$this->style_src_path = $this->root_path."styles/";
$this->zonetab_file = "/usr/share/zoneinfo/zone.tab"; //TZ zone descriptions file, usually: /usr/share/zoneinfo/zone.tab
$this->charset="windows-1250";
$this->default_width=564; //width of usable area
$this->num_of_showed_items=20; //num of showed items in the list of users
$this->enable_tabs[1]=true; //enable tab my account
$this->enable_tabs[2]=true; //enable tab phonebook
$this->enable_tabs[3]=true; //enable tab missed calls
$this->enable_tabs[4]=true; //enable tab accounting
$this->enable_tabs[5]=true; //enable tab send IM
$this->enable_tabs[6]=true; //enable tab notification subscription
//notification subscription
$this->sub_not[]=new Csub_not("sip:weather@iptel.org;type=temperature;operator=lt;value=0","temperature is too low");
$this->sub_not[]=new Csub_not("sip:weather@iptel.org;type=wind;operator=gt;value=10","wind is too fast");
$this->sub_not[]=new Csub_not("sip:weather@iptel.org;type=pressure;operator=lt;value=1000","pressure is too low");
//links in left menu
$this->link_siptutorial=$this->root_path."sip/index.php";
$this->link_sipproducts=$this->root_path."products/index.html";
$this->link_standards=$this->root_path."info/players/index.html";
$this->link_iptelworkshop="http://www.iptel.org/2002/";
$this->link_glossary=$this->root_path."info/glossary.html";
//links on top
$this->link_abstract=$this->root_path."info/abstract.html";
$this->link_home=$this->root_path."index.html";
$this->mail_header_from="php.kk(a)kufr.cz"; //header From: in outgoing emails
$this->forgot_pass_subj="your login information";
$this->mail_forgot_pass="Hi,\n".
"now you can access to your account at the folowing URL within 1 hour:\n".
"http:/var/www/html/htdocs/serweb/user_interface/my_account.php?#session#\n\n".
"we recommend change your password after you login\n".
"iptel.org\n";
$this->register_subj="Your iptel.org Registration";
$this->mail_register="Thank you for registering with iptel.org.\n\n".
"We are reserving the following SIP address for you: #sip_address#\n\n".
"To finalize your registration please check the following URL within 24 hours:\n".
"http:/var/www/html/htdocs/serweb/user_interface/reg/confirmation.php?nr=#confirm#\n\n".
"(If you confirm later you will have to re-register.)\n\n".
"Windows Messenger users may look at additional configuration hints at\n".
"http://www.iptel.org/phpBB/viewtopic.php?topic=11&forum=1&0\n";
$this->terms_and_conditions="BY PRESSING THE 'I ACCEPT' BUTTON, YOU (HEREINAFTER THE 'USER') ARE STATING THAT YOU AGREE ".
"TO ACCEPT AND BE BOUND BY ALL OF THE TERMS AND CONDITIONS OF THIS ".
"AGREEMENT. DO NOT PROCEED IF YOU ARE UNABLE TO AGREE TO THE TERMS ".
"AND CONDITIONS OF THIS AGREEMENT. THESE TERMS AND CONDITIONS OF SERVICE ".
"FOR USE OF iptel.org SIP SERVER (THE 'AGREEMENT') CONSTITUTE A LEGALLY ".
"BINDING CONTRACT BETWEEN iptel.org AND THE ENTITY THAT AGREES TO AND ".
"ACCEPTS THESE TERMS AND CONDITIONS. ACCESS TO iptel.org's SESSION ".
"INITIATION PROTOCOL SERVER ('SIP SERVER') IS BEING PROVIDED ON AN ".
"'AS IS' AND 'AS AVAILABLE' BASIS, AND iptel.org MAKES NO REPRESENTATIONS ".
"OR WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, WITH RESPECT TO ".
"USER'S ACCESS OF THE SIP SERVER, INCLUDING BUT NOT LIMITED TO WARRANTIES ".
"OF MERCHANTABILITY, NONINFRINGEMENT, TITLE OR FITNESS FOR A PARTICULAR PURPOSE. ".
"FURTHER, iptel.org MAKES NO REPRESENTATIONS OR WARRANTIES THAT THE SIP SERVER, ".
"OR USER'S ACCESS THERETO, WILL BE AVAILABLE AT ANY GIVEN TIME, OR WILL BE FREE ".
"FROM ERRORS, DEFECTS, OMISSIONS, INACCURACIES, OR FAILURES OR DELAYS IN DELIVERY ".
"OF DATA. USER ASSUMES, AND iptel.org DISCLAIM, TOTAL RISK, RESPONSIBILITY, AND ".
"LIABILITY FOR USER'S ACCESS TO AND USE OF THE SIP SERVER.".
"\n\n".
"Access to iptel.org SIP Server is being provided on a non-exclusive basis.".
"User acknowledges and understands that iptel.org SIP site is in a developmental ".
"stage and that iptel.org makes no guarantees regarding the availability or functionality thereof. ".
"User may not sublicense its access rights to the SIP Server to any third party. ".
"\n\n".
"USER AGREES TO INDEMNIFY, DEFEND AND HOLD iptel.org, ITS AFFILIATES, DIRECTORS, OFFICERS, ".
"EMPLOYEES, AGENTS AND LICENSORS HARMLESS FROM AND AGAINST ANY AND ALL CLAIMS, ACTIONS, ".
"EXPENSES, LOSSES, AND LIABILITIES (INCLUDING COURTS COSTS AND REASONABLE ATTORNEYS' FEES), ".
"ARISING FROM OR RELATING TO THIS AGREEMENT INCLUDING USER'S ACCESS TO AND USE OF THE SIP SERVER. ".
"TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL iptel.org OR ANY OF ITS ".
"LICENSORS, BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, EXEMPLARY, OR CONSEQUENTIAL DAMAGES, ".
"ARISING OUT OF THE ACCESS TO OR USE OF OR INABILITY TO ACCESS OR USE THE SIP SERVER, OR THAT ".
"RESULT FROM MISTAKES, OMISSIONS, INTERRUPTIONS, DELETIONS OF FILES, ERRORS, DEFECTS, ".
"DELAYS IN TRANSMISSION OR OPERATION OR ANY FAILURE OF PERFORMANCE, EVEN IF ADVISED ".
"OF THE POSSIBILITY OF SUCH DAMAGES. ".
"\n\n".
"If User commits, in iptel.org's sole determination, a default of these terms and ".
"conditions, iptel.org may immediately terminate User's access to the SIP Server. ".
"Furthermore, iptel.org reserves the right to discontinue offering access to the ".
"SIP Server at any time. ".
"\n\n".
"User may not assign its rights hereunder without the prior written consent of ".
"iptel.org. User agrees to comply with all laws, regulations and other legal ".
"requirements that apply to these terms and conditions. ".
"\n\n".
"If any provision of this Agreement is held to be unenforceable for any reason, ".
"such provision shall be reformed only to the extent necessary to comply with ".
"applicable laws, and the remainder shall remain in full force and effect. ".
"\n\n".
"Any failure of iptel.org to enforce any provision of this Agreement shall ".
"not constitute a waiver of any rights under such provision or any other ".
"provision of this Agreement. ".
"\n\n".
"USER ACKNOWLEDGES THAT IT HAS READ THIS AGREEMENT, UNDERSTANDS IT, AND AGREES THAT ".
"IT IS THE COMPLETE AND EXCLUSIVE STATEMENT OF THE ENTIRE AGREEMENT BETWEEN COMPANY ".
"AND iptel.org WITH RESPECT TO THE SUBJECT MATTER HEREIN, AND SUPERSEDES ALL PRIOR ".
"AND CONTEMPORANEOUS PROPOSALS, DISCUSSIONS, AGREEMENTS, UNDERSTANDINGS, AND COMMUNICATIONS, ".
"WHETHER WRITTEN OR ORAL AND MAY BE AMENDED ONLY IN A WRITING EXECUTED BY BOTH USER AND iptel.org. ".
"\n\n";
}
}
$config=new Cconfig();
?>
Trying to load the serweb page I get the following error message:
Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/phplib/db_mysql.inc on line 73
I have looked into the database settings and can't find anything wrong with them. are there more then this:
$this->db_host="172.18.3.164"; //database host
$this->db_name="ser"; //database name
$this->db_user="ser"; //database conection user
$this->db_pass="heslo"; //database conection password
I have also tried to "Installing SERweb custom file locations" 4.3 in the http://www.fitawi.com/ser-Howto.html but just can't get it to work, please help !
see config file bellow
I try to load the page :
http://dhcp164-devel/htdocs/serweb/admin/index.php
after the error masg the browser say:
http://dhcp164-devel/htdocs/serweb/admin/index.php?phplib_Session=4bcada0b4…
Many thank's
/ANNA
serweb dir include:
admin config.php CVS functions.php img page.php styles user_interface
the config.php file is placed in:
/var/www/html/htdocs/serweb
<?
/*
* $Id: config.php,v 1.10 2002/09/25 23:26:47 jiri Exp $
*/
class Csub_not {
var $uri, $desc;
function Csub_not($uri, $desc){
$this->uri=$uri;
$this->desc=$desc;
}
}
class Cconfig {
var $db_host;
var $db_name;
var $db_user;
var $db_pass;
var $table_subscriber;
var $table_pending;
var $table_grp;
var $table_aliases;
var $table_location;
var $table_missed_calls;
var $table_accounting;
var $table_phonebook;
var $table_event;
var $show_voicemail_acl;
var $enable_dial_voicemail;
var $enable_test_firewall;
var $grp_values;
var $realm;
var $domainname;
var $first_alias_number;
var $new_alias_expires;
var $new_alias_q;
var $new_alias_callid;
var $new_alias_cseq;
var $pre_uid_expires;
var $psignature;
var $web_contact;
var $fifo_server;
var $reply_fifo_filename;
var $reply_fifo_path;
var $ul_table;
var $ul_priority;
var $im_length;
var $default_domain;
var $root_path;
var $img_src_path;
var $js_src_path;
var $style_src_path;
var $zonetab_file;
var $charset;
var $default_width;
var $num_of_showed_items;
var $enable_tabs;
var $sub_not;
var $link_siptutorial;
var $link_sipproducts;
var $link_standards;
var $link_iptelworkshop;
var $link_glossary;
var $link_abstract;
var $link_home;
var $mail_header_from;
var $mail_forgot_pass;
var $forgot_pass_subj;
var $mail_register;
var $register_subj;
var $terms_and_conditions;
function Cconfig(){
$this->db_host="172.18.3.164"; //database host
$this->db_name="ser"; //database name
$this->db_user="ser"; //database conection user
$this->db_pass="heslo"; //database conection password
// names of tables
$this->table_subscriber="subscriber";
$this->table_pending="pending";
$this->table_grp="grp";
$this->table_aliases="aliases";
$this->table_location="location";
$this->table_missed_calls="missed_calls";
$this->table_accounting="acc";
$this->table_phonebook="phonebook";
$this->table_event="event";
$this->show_voicemail_acl=true; //show "voicemail" in ACL and voicemail checkbox at my account
$this->enable_dial_voicemail=false;
$this->enable_test_firewall=false;
$this->grp_values[]="voicemail";
$this->grp_values[]="ld";
$this->grp_values[]="local";
$this->grp_values[]="int";
$this->realm="e-horizon.se";
$this->domainname="e-horizon.se";
$this->first_alias_number=18888;
$this->new_alias_expires='2020-01-01 00:00:00';
$this->new_alias_q=1.00;
$this->new_alias_callid="";
$this->new_alias_cseq=1;
$this->pre_uid_expires=3600; //seconds in which expires "get pass session"
$this->psignature="Web_interface_Karel_Kozlik-0.9";
$this->web_contact="sip:daemon@iptel.org"; //address of pseudo sender
$this->fifo_server="/tmp/ser_fifo"; //path to fifo server
$this->reply_fifo_filename="webfifo_".rand();
$this->reply_fifo_path="d:/temp/".$this->reply_fifo_filename;
$this->ul_table="table";
$this->ul_priority="1.00";
$this->im_length=1300; //max length of instant message
$this->default_domain="e-horizon.se";
$this->root_path="/serweb";
$this->img_src_path = $this->root_path."img/";
$this->js_src_path = $this->root_path."styles/";
$this->style_src_path = $this->root_path."styles/";
$this->zonetab_file = "/usr/share/zoneinfo/zone.tab"; //TZ zone descriptions file, usually: /usr/share/zoneinfo/zone.tab
$this->charset="windows-1250";
$this->default_width=564; //width of usable area
$this->num_of_showed_items=20; //num of showed items in the list of users
$this->enable_tabs[1]=true; //enable tab my account
$this->enable_tabs[2]=true; //enable tab phonebook
$this->enable_tabs[3]=true; //enable tab missed calls
$this->enable_tabs[4]=true; //enable tab accounting
$this->enable_tabs[5]=true; //enable tab send IM
$this->enable_tabs[6]=true; //enable tab notification subscription
//notification subscription
$this->sub_not[]=new Csub_not("sip:weather@iptel.org;type=temperature;operator=lt;value=0","temperature is too low");
$this->sub_not[]=new Csub_not("sip:weather@iptel.org;type=wind;operator=gt;value=10","wind is too fast");
$this->sub_not[]=new Csub_not("sip:weather@iptel.org;type=pressure;operator=lt;value=1000","pressure is too low");
//links in left menu
$this->link_siptutorial=$this->root_path."sip/index.php";
$this->link_sipproducts=$this->root_path."products/index.html";
$this->link_standards=$this->root_path."info/players/index.html";
$this->link_iptelworkshop="http://www.iptel.org/2002/";
$this->link_glossary=$this->root_path."info/glossary.html";
//links on top
$this->link_abstract=$this->root_path."info/abstract.html";
$this->link_home=$this->root_path."index.html";
$this->mail_header_from="php.kk(a)kufr.cz"; //header From: in outgoing emails
$this->forgot_pass_subj="your login information";
$this->mail_forgot_pass="Hi,\n".
"now you can access to your account at the folowing URL within 1 hour:\n".
"http:/var/www/html/htdocs/serweb/user_interface/my_account.php?#session#\n\n".
"we recommend change your password after you login\n".
"iptel.org\n";
$this->register_subj="Your iptel.org Registration";
$this->mail_register="Thank you for registering with iptel.org.\n\n".
"We are reserving the following SIP address for you: #sip_address#\n\n".
"To finalize your registration please check the following URL within 24 hours:\n".
"http:/var/www/html/htdocs/serweb/user_interface/reg/confirmation.php?nr=#confirm#\n\n".
"(If you confirm later you will have to re-register.)\n\n".
"Windows Messenger users may look at additional configuration hints at\n".
"http://www.iptel.org/phpBB/viewtopic.php?topic=11&forum=1&0\n";
$this->terms_and_conditions="BY PRESSING THE 'I ACCEPT' BUTTON, YOU (HEREINAFTER THE 'USER') ARE STATING THAT YOU AGREE ".
"TO ACCEPT AND BE BOUND BY ALL OF THE TERMS AND CONDITIONS OF THIS ".
"AGREEMENT. DO NOT PROCEED IF YOU ARE UNABLE TO AGREE TO THE TERMS ".
"AND CONDITIONS OF THIS AGREEMENT. THESE TERMS AND CONDITIONS OF SERVICE ".
"FOR USE OF iptel.org SIP SERVER (THE 'AGREEMENT') CONSTITUTE A LEGALLY ".
"BINDING CONTRACT BETWEEN iptel.org AND THE ENTITY THAT AGREES TO AND ".
"ACCEPTS THESE TERMS AND CONDITIONS. ACCESS TO iptel.org's SESSION ".
"INITIATION PROTOCOL SERVER ('SIP SERVER') IS BEING PROVIDED ON AN ".
"'AS IS' AND 'AS AVAILABLE' BASIS, AND iptel.org MAKES NO REPRESENTATIONS ".
"OR WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, WITH RESPECT TO ".
"USER'S ACCESS OF THE SIP SERVER, INCLUDING BUT NOT LIMITED TO WARRANTIES ".
"OF MERCHANTABILITY, NONINFRINGEMENT, TITLE OR FITNESS FOR A PARTICULAR PURPOSE. ".
"FURTHER, iptel.org MAKES NO REPRESENTATIONS OR WARRANTIES THAT THE SIP SERVER, ".
"OR USER'S ACCESS THERETO, WILL BE AVAILABLE AT ANY GIVEN TIME, OR WILL BE FREE ".
"FROM ERRORS, DEFECTS, OMISSIONS, INACCURACIES, OR FAILURES OR DELAYS IN DELIVERY ".
"OF DATA. USER ASSUMES, AND iptel.org DISCLAIM, TOTAL RISK, RESPONSIBILITY, AND ".
"LIABILITY FOR USER'S ACCESS TO AND USE OF THE SIP SERVER.".
"\n\n".
"Access to iptel.org SIP Server is being provided on a non-exclusive basis.".
"User acknowledges and understands that iptel.org SIP site is in a developmental ".
"stage and that iptel.org makes no guarantees regarding the availability or functionality thereof. ".
"User may not sublicense its access rights to the SIP Server to any third party. ".
"\n\n".
"USER AGREES TO INDEMNIFY, DEFEND AND HOLD iptel.org, ITS AFFILIATES, DIRECTORS, OFFICERS, ".
"EMPLOYEES, AGENTS AND LICENSORS HARMLESS FROM AND AGAINST ANY AND ALL CLAIMS, ACTIONS, ".
"EXPENSES, LOSSES, AND LIABILITIES (INCLUDING COURTS COSTS AND REASONABLE ATTORNEYS' FEES), ".
"ARISING FROM OR RELATING TO THIS AGREEMENT INCLUDING USER'S ACCESS TO AND USE OF THE SIP SERVER. ".
"TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL iptel.org OR ANY OF ITS ".
"LICENSORS, BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, EXEMPLARY, OR CONSEQUENTIAL DAMAGES, ".
"ARISING OUT OF THE ACCESS TO OR USE OF OR INABILITY TO ACCESS OR USE THE SIP SERVER, OR THAT ".
"RESULT FROM MISTAKES, OMISSIONS, INTERRUPTIONS, DELETIONS OF FILES, ERRORS, DEFECTS, ".
"DELAYS IN TRANSMISSION OR OPERATION OR ANY FAILURE OF PERFORMANCE, EVEN IF ADVISED ".
"OF THE POSSIBILITY OF SUCH DAMAGES. ".
"\n\n".
"If User commits, in iptel.org's sole determination, a default of these terms and ".
"conditions, iptel.org may immediately terminate User's access to the SIP Server. ".
"Furthermore, iptel.org reserves the right to discontinue offering access to the ".
"SIP Server at any time. ".
"\n\n".
"User may not assign its rights hereunder without the prior written consent of ".
"iptel.org. User agrees to comply with all laws, regulations and other legal ".
"requirements that apply to these terms and conditions. ".
"\n\n".
"If any provision of this Agreement is held to be unenforceable for any reason, ".
"such provision shall be reformed only to the extent necessary to comply with ".
"applicable laws, and the remainder shall remain in full force and effect. ".
"\n\n".
"Any failure of iptel.org to enforce any provision of this Agreement shall ".
"not constitute a waiver of any rights under such provision or any other ".
"provision of this Agreement. ".
"\n\n".
"USER ACKNOWLEDGES THAT IT HAS READ THIS AGREEMENT, UNDERSTANDS IT, AND AGREES THAT ".
"IT IS THE COMPLETE AND EXCLUSIVE STATEMENT OF THE ENTIRE AGREEMENT BETWEEN COMPANY ".
"AND iptel.org WITH RESPECT TO THE SUBJECT MATTER HEREIN, AND SUPERSEDES ALL PRIOR ".
"AND CONTEMPORANEOUS PROPOSALS, DISCUSSIONS, AGREEMENTS, UNDERSTANDINGS, AND COMMUNICATIONS, ".
"WHETHER WRITTEN OR ORAL AND MAY BE AMENDED ONLY IN A WRITING EXECUTED BY BOTH USER AND iptel.org. ".
"\n\n";
}
}
$config=new Cconfig();
?>
__________________________________________________________________
anna rahm
ICQ#: 176699319
Current ICQ status:
+ More ways to contact me
__________________________________________________________________
Trying to load the serweb page I get the following error message:
Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/phplib/db_mysql.inc on line 73
I have looked into the database settings and can't find anything wrong with them. are there more then this:
$this->db_host="172.18.3.164"; //database host
$this->db_name="ser"; //database name
$this->db_user="ser"; //database conection user
$this->db_pass="heslo"; //database conection password
I have also tried to "Installing SERweb custom file locations" 4.3 in the http://www.fitawi.com/ser-Howto.html but just can't get it to work, please help !
see config file bellow
I try to load the page :
http://dhcp164-devel/htdocs/serweb/admin/index.php
after the error masg the browser say:
http://dhcp164-devel/htdocs/serweb/admin/index.php?phplib_Session=4bcada0b4…
Many thank's
/ANNA
serweb dir include:
admin config.php CVS functions.php img page.php styles user_interface
the config.php file is placed in:
/var/www/html/htdocs/serweb
<?
/*
* $Id: config.php,v 1.10 2002/09/25 23:26:47 jiri Exp $
*/
class Csub_not {
var $uri, $desc;
function Csub_not($uri, $desc){
$this->uri=$uri;
$this->desc=$desc;
}
}
class Cconfig {
var $db_host;
var $db_name;
var $db_user;
var $db_pass;
var $table_subscriber;
var $table_pending;
var $table_grp;
var $table_aliases;
var $table_location;
var $table_missed_calls;
var $table_accounting;
var $table_phonebook;
var $table_event;
var $show_voicemail_acl;
var $enable_dial_voicemail;
var $enable_test_firewall;
var $grp_values;
var $realm;
var $domainname;
var $first_alias_number;
var $new_alias_expires;
var $new_alias_q;
var $new_alias_callid;
var $new_alias_cseq;
var $pre_uid_expires;
var $psignature;
var $web_contact;
var $fifo_server;
var $reply_fifo_filename;
var $reply_fifo_path;
var $ul_table;
var $ul_priority;
var $im_length;
var $default_domain;
var $root_path;
var $img_src_path;
var $js_src_path;
var $style_src_path;
var $zonetab_file;
var $charset;
var $default_width;
var $num_of_showed_items;
var $enable_tabs;
var $sub_not;
var $link_siptutorial;
var $link_sipproducts;
var $link_standards;
var $link_iptelworkshop;
var $link_glossary;
var $link_abstract;
var $link_home;
var $mail_header_from;
var $mail_forgot_pass;
var $forgot_pass_subj;
var $mail_register;
var $register_subj;
var $terms_and_conditions;
function Cconfig(){
$this->db_host="172.18.3.164"; //database host
$this->db_name="ser"; //database name
$this->db_user="ser"; //database conection user
$this->db_pass="heslo"; //database conection password
// names of tables
$this->table_subscriber="subscriber";
$this->table_pending="pending";
$this->table_grp="grp";
$this->table_aliases="aliases";
$this->table_location="location";
$this->table_missed_calls="missed_calls";
$this->table_accounting="acc";
$this->table_phonebook="phonebook";
$this->table_event="event";
$this->show_voicemail_acl=true; //show "voicemail" in ACL and voicemail checkbox at my account
$this->enable_dial_voicemail=false;
$this->enable_test_firewall=false;
$this->grp_values[]="voicemail";
$this->grp_values[]="ld";
$this->grp_values[]="local";
$this->grp_values[]="int";
$this->realm="e-horizon.se";
$this->domainname="e-horizon.se";
$this->first_alias_number=18888;
$this->new_alias_expires='2020-01-01 00:00:00';
$this->new_alias_q=1.00;
$this->new_alias_callid="";
$this->new_alias_cseq=1;
$this->pre_uid_expires=3600; //seconds in which expires "get pass session"
$this->psignature="Web_interface_Karel_Kozlik-0.9";
$this->web_contact="sip:daemon@iptel.org"; //address of pseudo sender
$this->fifo_server="/tmp/ser_fifo"; //path to fifo server
$this->reply_fifo_filename="webfifo_".rand();
$this->reply_fifo_path="d:/temp/".$this->reply_fifo_filename;
$this->ul_table="table";
$this->ul_priority="1.00";
$this->im_length=1300; //max length of instant message
$this->default_domain="e-horizon.se";
$this->root_path="/serweb";
$this->img_src_path = $this->root_path."img/";
$this->js_src_path = $this->root_path."styles/";
$this->style_src_path = $this->root_path."styles/";
$this->zonetab_file = "/usr/share/zoneinfo/zone.tab"; //TZ zone descriptions file, usually: /usr/share/zoneinfo/zone.tab
$this->charset="windows-1250";
$this->default_width=564; //width of usable area
$this->num_of_showed_items=20; //num of showed items in the list of users
$this->enable_tabs[1]=true; //enable tab my account
$this->enable_tabs[2]=true; //enable tab phonebook
$this->enable_tabs[3]=true; //enable tab missed calls
$this->enable_tabs[4]=true; //enable tab accounting
$this->enable_tabs[5]=true; //enable tab send IM
$this->enable_tabs[6]=true; //enable tab notification subscription
//notification subscription
$this->sub_not[]=new Csub_not("sip:weather@iptel.org;type=temperature;operator=lt;value=0","temperature is too low");
$this->sub_not[]=new Csub_not("sip:weather@iptel.org;type=wind;operator=gt;value=10","wind is too fast");
$this->sub_not[]=new Csub_not("sip:weather@iptel.org;type=pressure;operator=lt;value=1000","pressure is too low");
//links in left menu
$this->link_siptutorial=$this->root_path."sip/index.php";
$this->link_sipproducts=$this->root_path."products/index.html";
$this->link_standards=$this->root_path."info/players/index.html";
$this->link_iptelworkshop="http://www.iptel.org/2002/";
$this->link_glossary=$this->root_path."info/glossary.html";
//links on top
$this->link_abstract=$this->root_path."info/abstract.html";
$this->link_home=$this->root_path."index.html";
$this->mail_header_from="php.kk(a)kufr.cz"; //header From: in outgoing emails
$this->forgot_pass_subj="your login information";
$this->mail_forgot_pass="Hi,\n".
"now you can access to your account at the folowing URL within 1 hour:\n".
"http:/var/www/html/htdocs/serweb/user_interface/my_account.php?#session#\n\n".
"we recommend change your password after you login\n".
"iptel.org\n";
$this->register_subj="Your iptel.org Registration";
$this->mail_register="Thank you for registering with iptel.org.\n\n".
"We are reserving the following SIP address for you: #sip_address#\n\n".
"To finalize your registration please check the following URL within 24 hours:\n".
"http:/var/www/html/htdocs/serweb/user_interface/reg/confirmation.php?nr=#confirm#\n\n".
"(If you confirm later you will have to re-register.)\n\n".
"Windows Messenger users may look at additional configuration hints at\n".
"http://www.iptel.org/phpBB/viewtopic.php?topic=11&forum=1&0\n";
$this->terms_and_conditions="BY PRESSING THE 'I ACCEPT' BUTTON, YOU (HEREINAFTER THE 'USER') ARE STATING THAT YOU AGREE ".
"TO ACCEPT AND BE BOUND BY ALL OF THE TERMS AND CONDITIONS OF THIS ".
"AGREEMENT. DO NOT PROCEED IF YOU ARE UNABLE TO AGREE TO THE TERMS ".
"AND CONDITIONS OF THIS AGREEMENT. THESE TERMS AND CONDITIONS OF SERVICE ".
"FOR USE OF iptel.org SIP SERVER (THE 'AGREEMENT') CONSTITUTE A LEGALLY ".
"BINDING CONTRACT BETWEEN iptel.org AND THE ENTITY THAT AGREES TO AND ".
"ACCEPTS THESE TERMS AND CONDITIONS. ACCESS TO iptel.org's SESSION ".
"INITIATION PROTOCOL SERVER ('SIP SERVER') IS BEING PROVIDED ON AN ".
"'AS IS' AND 'AS AVAILABLE' BASIS, AND iptel.org MAKES NO REPRESENTATIONS ".
"OR WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, WITH RESPECT TO ".
"USER'S ACCESS OF THE SIP SERVER, INCLUDING BUT NOT LIMITED TO WARRANTIES ".
"OF MERCHANTABILITY, NONINFRINGEMENT, TITLE OR FITNESS FOR A PARTICULAR PURPOSE. ".
"FURTHER, iptel.org MAKES NO REPRESENTATIONS OR WARRANTIES THAT THE SIP SERVER, ".
"OR USER'S ACCESS THERETO, WILL BE AVAILABLE AT ANY GIVEN TIME, OR WILL BE FREE ".
"FROM ERRORS, DEFECTS, OMISSIONS, INACCURACIES, OR FAILURES OR DELAYS IN DELIVERY ".
"OF DATA. USER ASSUMES, AND iptel.org DISCLAIM, TOTAL RISK, RESPONSIBILITY, AND ".
"LIABILITY FOR USER'S ACCESS TO AND USE OF THE SIP SERVER.".
"\n\n".
"Access to iptel.org SIP Server is being provided on a non-exclusive basis.".
"User acknowledges and understands that iptel.org SIP site is in a developmental ".
"stage and that iptel.org makes no guarantees regarding the availability or functionality thereof. ".
"User may not sublicense its access rights to the SIP Server to any third party. ".
"\n\n".
"USER AGREES TO INDEMNIFY, DEFEND AND HOLD iptel.org, ITS AFFILIATES, DIRECTORS, OFFICERS, ".
"EMPLOYEES, AGENTS AND LICENSORS HARMLESS FROM AND AGAINST ANY AND ALL CLAIMS, ACTIONS, ".
"EXPENSES, LOSSES, AND LIABILITIES (INCLUDING COURTS COSTS AND REASONABLE ATTORNEYS' FEES), ".
"ARISING FROM OR RELATING TO THIS AGREEMENT INCLUDING USER'S ACCESS TO AND USE OF THE SIP SERVER. ".
"TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL iptel.org OR ANY OF ITS ".
"LICENSORS, BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, EXEMPLARY, OR CONSEQUENTIAL DAMAGES, ".
"ARISING OUT OF THE ACCESS TO OR USE OF OR INABILITY TO ACCESS OR USE THE SIP SERVER, OR THAT ".
"RESULT FROM MISTAKES, OMISSIONS, INTERRUPTIONS, DELETIONS OF FILES, ERRORS, DEFECTS, ".
"DELAYS IN TRANSMISSION OR OPERATION OR ANY FAILURE OF PERFORMANCE, EVEN IF ADVISED ".
"OF THE POSSIBILITY OF SUCH DAMAGES. ".
"\n\n".
"If User commits, in iptel.org's sole determination, a default of these terms and ".
"conditions, iptel.org may immediately terminate User's access to the SIP Server. ".
"Furthermore, iptel.org reserves the right to discontinue offering access to the ".
"SIP Server at any time. ".
"\n\n".
"User may not assign its rights hereunder without the prior written consent of ".
"iptel.org. User agrees to comply with all laws, regulations and other legal ".
"requirements that apply to these terms and conditions. ".
"\n\n".
"If any provision of this Agreement is held to be unenforceable for any reason, ".
"such provision shall be reformed only to the extent necessary to comply with ".
"applicable laws, and the remainder shall remain in full force and effect. ".
"\n\n".
"Any failure of iptel.org to enforce any provision of this Agreement shall ".
"not constitute a waiver of any rights under such provision or any other ".
"provision of this Agreement. ".
"\n\n".
"USER ACKNOWLEDGES THAT IT HAS READ THIS AGREEMENT, UNDERSTANDS IT, AND AGREES THAT ".
"IT IS THE COMPLETE AND EXCLUSIVE STATEMENT OF THE ENTIRE AGREEMENT BETWEEN COMPANY ".
"AND iptel.org WITH RESPECT TO THE SUBJECT MATTER HEREIN, AND SUPERSEDES ALL PRIOR ".
"AND CONTEMPORANEOUS PROPOSALS, DISCUSSIONS, AGREEMENTS, UNDERSTANDINGS, AND COMMUNICATIONS, ".
"WHETHER WRITTEN OR ORAL AND MAY BE AMENDED ONLY IN A WRITING EXECUTED BY BOTH USER AND iptel.org. ".
"\n\n";
}
}
$config=new Cconfig();
?>
__________________________________________________________________
anna rahm
ICQ#: 176699319
Current ICQ status:
+ More ways to contact me
__________________________________________________________________
Hi,
I am just trying the new ser version from CVS, and I get a too many hops
error message when a client tries to register. Any idea? I am running ser
on Linux.
I have tried both kphone 3.1 and spic 2.?? as user agents. I am sure I
must have missed something in my configuration file. I attach the current
ser.cfg.
thanks,
Stephan
--
The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA. Privileged/Confidential Information may
be contained in this message. If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. In such case, you should destroy this
message and kindly notify the sender by reply email. Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the official
business of the University of Stirling shall be understood as neither
given nor endorsed by it.
I finnaly have this thing in and running. I can make a call to another
person on the same server. But it appears that it is not checking a
password. I have everything configured the way all the how-to's say for
mysql authentication - but I am at a loss.
Also it does not appear to be supporting accounting (missed calls).
Can anyone help?
Here is my ser.cfg file.
#
# $Id: ser.cfg,v 1.12 2002/10/21 02:40:06 jiri Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=yes # (cmd line: -E)
check_via=no # (cmd. line: -v)
dns=yes # (cmd. line: -r)
rev_dns=yes # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/local/lib/ser/modules/auth.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("usrloc", "db_mode", 1)
# -- auth params --
[ Read 105
lines ]
root: /www/kalgonline/ser % cat/usr/local/etc/ser/ser.cfg
cat/usr/local/etc/ser/ser.cfg: Command not found.
root: /www/kalgonline/ser % cat /usr/local/etc/ser/ser.cfg
#
# $Id: ser.cfg,v 1.12 2002/10/21 02:40:06 jiri Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=yes # (cmd line: -E)
check_via=no # (cmd. line: -v)
dns=yes # (cmd. line: -r)
rev_dns=yes # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/local/lib/ser/modules/auth.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("usrloc", "db_mode", 1)
# -- auth params --
# Uncomment if you are using auth module
#
modparam("auth", "secret", "alsdkhglaksdhfkloiwr")
modparam("auth", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this
config),
# uncomment also the following parameter)
#
modparam("auth", "password_column", "password")
# ------------------------- request routing logic -------------------
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwars==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (len_gt( max_len )) {
sl_send_reply("513", "Message too big");
break;
};
# Do strict routing if pre-loaded route headers present
rewriteFromRoute();
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri=="kalg.net") {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("kalg.net", "subscriber")) {
www_challenge("kalg.net", "0");
break;
};
save("location");
break;
};
# native SIP destinations are handled using our USRLOC
DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
# forward to current uri now
if (!t_relay()) {
sl_reply_error();
};
}
Gary Goodloff
KALG Communications / Nebraska Classifieds
T: 402-898-4152
C: 402-208-5183
F: 413-294-3404
Hi,
according to the description on the site
http://developer.berlios.de/docman/display_doc.php?docid=32&group_id=2 I
have tried the CVS. Unfortunately it doesn't work with me:
bash-2.03# cvs -d:pserver:anonymous@cvs.ser.berlios.de/cvsroot/ser co auth
cvs server: cannot find module `auth' - ignored
cvs [checkout aborted]: cannot expand modules
When I input the whole directory like:
bash-2.03#
cvs -d:pserver:anonymous@cvs.ser.berlios.de/cvsroot/ser/sip_router/modules
co auth
then I get an erro:
cvs checkout: authorization failed: server cvs.ser.berlios.de rejected
access to /cvsroot/ser/sip_router/modules for user anonymous
cvs checkout: used empty password; try "cvs login" with a real password
What is wrong?
Thanks
Yang
COMer - Programming Language for Component Development
If you are a Windows Programmer, I would like to introduce something
interesting to you.
COMer is a native programming language for COM component development.
A COM component can be easily made in COMer as follow: [File:MyCom.cm]
#ifndef _MYCOM_CM
#define _MYCOM_CM
/*
* A COM Class
*/
[ clsid = "{EF6CD47E-B844-4219-B582-6F9FE16D45F6}",
progid = "Dexterity.MyCom1.1",
helpstring = "Dexterity Com1 Class",
export, unhandle ]
com CMyCom1
{
/*
* An Interface implemented in this class
*/
[iid="{A123799B-1D8B-4efb-8D43-42AE582767C1}"]
interface IMyInterface
{
method SetValue(int dVal)
{
m_dValue = dVal;
done;
}
method GetDoubleValue(int &dVal)
{
dVal = m_dValue << 1;
done;
}
}
/*
* Instance variables
*/
instvars
{
int m_dValue;
}
}
#endif
The design of COMer is native to the concept of the Component Object Model
(COM) mechanism. COM classes are defined as in the way that COM specifies.
Interfaces are specified or defined within a COM class and the methods of
the interfaces are defined within the interfaces. It is simple.
A special characteristic of COMer is that the COMer compiler generates C++
source code files as its final outputs. Therefore, you can use C++ code
within the COMer classes, like Lex, Yacc or MIDL. To build the component,
what you need to do is to specify one more file only to indicate the module
of the component to build.
E.g: [File:MyCom.cmdef]
module: inprocsvr
source { MyCom.cm }
Then, by the following command line (cmc is the COMer compiler program):
> cmc MyCom.cmdef
COMer compiler will generate the following C++ files:
Main.cpp
MyCom.h
MyCom.cpp
MyCom.def
Makefile
Finally, you only need to build these C++ files by using the generated
makefile by C++ build tools. The component 'MyCom.dll' will then be made.
It's so simple!
Lets try it! You will like it!
Home Page:
http://www.dexterity.com.hk/COMer/
Download Trial Version:
http://www.dexterity.com.hk/COMer/Download/Download.asp
Dexterity Technologies Limited
http://www.dexterity.com.hk/
If you don't want to receive any more message from us, please send an
e-mail to comer(a)dexteritytech.com to unsubscribe.
Please don't reply this e-mail.
We apologize for any inconvenience caused.
Hi All,
I need to implement an used based dialplans module on SER, so that depending
on the user information stored in the database, a certain prefix should be
inserted in the called number. Has anyone had a similar issue?
Thanks
Fernando
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.474 / Virus Database: 272 - Release Date: 4/18/2003
Is it possible to use ser behind a astaro firewall? Or can Iimplement it
on the firewall?
greetz
Hans Scheffers
JifLin B.V.
Leliestraat 7
7151 GH Eibergen
http://www.jiflin.nl