Dear all,
Anyone encountered the problem below,please help. Thank you.
----- Original Message -----
From: Nicky
To: sems(a)lists.iptel.org ; serusers(a)lists.iptel.org
Sent: Thursday, June 16, 2005 3:51 PM
Subject: Problem on pthread and dtmf
Dear all,
1. Please help, when i run sems -E i experienced this error, what can be the caused of it:~
~~11352) ERROR: start (AmThread.cpp:73): pthread create failed with code 12
2. There is signal of DTMF which is not pressed but is being send to the server, please see below for the log. Please advice what can be the caused and problem.
Thank you in advance.
~~(4395) DEBUG: isdn_audio_eval_dtmf_relative (IvrDtmfDetector.cpp:349): Posting D
TMF 0: 5 (5)
(4395) DEBUG: postEvent (AmEventQueue.cpp:47): AmEventQueue: trying to post even
t
(4395) DEBUG: postEvent (AmEventQueue.cpp:55): AmEventQueue: event posted
(4395) DEBUG: processEvents (AmEventQueue.cpp:68): before processing event
(4395) DEBUG: process (IvrPython.cpp:988): IvrPython processing event...
(4395) DEBUG: process (IvrPython.cpp:991): IvrDialog processing event...
(4395) DEBUG: onDTMFEvent (IvrPython.cpp:1130): IvrPython::onDTMFEvent(): callin
g onDTMFCallback key is 5...
(4395) DEBUG: ivrEmptyMediaQueue (IvrPython.cpp:102): IVR: emptying media queue
.
(4395) DEBUG: IvrMediaEvent (IvrEvents.cpp:31): New Media Event: 1,
(4395) DEBUG: postEvent (AmEventQueue.cpp:47): AmEventQueue: trying to post even
t
(4395) DEBUG: postEvent (AmEventQueue.cpp:55): AmEventQueue: event posted
(4395) DEBUG: ivrStopRecording (IvrPython.cpp:132): IVR: stop recording.
best regards,
nicky
Hello,
Can someone tell me if the format for adding user aliases has changed?
I am trying to create an alias (serctl alias add 1234
sip:1234dt@xxx.xxx.xxx.xxx) and an error 400 ul_add flags expected is
happening.
Many Thanks,
Aisling.
-------------------Legal Disclaimer---------------------------------------
The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.
Hi TC,
Ok this solved my pbm.
Thanks a lot.
Rodrigue,
-----Message d'origine-----
De : TCCHAN [mailto:tikchoong.chan@redtone.com]
Envoyé : mardi 5 juillet 2005 05:57
À : Rodrigue ESTEVE
Objet : [Serusers] serctl : error: 400; check if you use aliases in SER
Hi,
You need to add lookup("aliases") in your script.
I had this problem before.
Regards,
TC Chan
Hi Sandra, and the others,
I found the solution to my pbm, in a previous test configuration I commented the modparam for acc module, if you look at the syslog in my previous message, the error is related to the loading of the acc module looking for the default password cause I forgot to set the modparam (in fact the conf is commented).
For those who have pbm with sql password take a deeper look (than me) to the syslog message.
Thanks for this great user list, and sorry for the kiddy pbm :)
Rodrigue
-----Message d'origine-----
De : sandrad(a)tid.es [mailto:sandrad@tid.es]
Envoyé : mardi 5 juillet 2005 11:12
À : Rodrigue ESTEVE
Objet : Re: [Serusers] Mysql with a different password than heslo
Hi Rodrigue!
I've change tha pass too, and in the cfg I only specify the param of usrloc:
modparam("usrloc", "db_url", "sql://ser:newpass@localhost/ser")
And its run ok, This and the param of msilo.
Rodrigue ESTEVE escribió:
> Hi all,
>
> I've got a pbm using mysql with ser 0.9.3 when I set a password
> different from the default passwd heslo for ser user.
>
> When using the default password configuration and the ser_mysql.sh
> script, I've got no pbm. I can use the localhost database and even a
> database started on another proxy with a different password than heslo
> (heslo2), using the settings below in ser.cfg:
>
> fifo_db_url="mysql://ser2:heslo2@172.30.30.104/ser2"
>
> modparam("auth_db|uri_db|usrloc", "db_url",
> "mysql://ser2:heslo2@172.30.30.104/ser2")
>
> But when I modify the ser_mysql.sh to use a different password than
> heslo (heslo 2 for example, see below), ser does not start using:
>
> fifo_db_url="mysql://ser:heslo2@localhost/ser"
>
> modparam("auth_db|uri_db|usrloc", "db_url",
> "mysql://ser:heslo2@localhost/ser").
>
> Moreover I'm now unable to log to the database loaded on the other
> proxy (172.30.30.104) using the first configuration above.
>
> When using mysql -h localhost -u ser -p and using the new password, I
> can connect to the database.
>
> The syslog shows this when trying with a different password:
>
> Jul 4 18:56:34 sip /sbin/ser[7155]: new_connection(): Access denied
> for user: 'ser@localhost' (Using password: YES)
>
> Jul 4 18:56:34 sip /sbin/ser[7155]: db_init(): Could not create a
> connection
>
> Jul 4 18:56:34 sip /sbin/ser[7155]: ERROR: acc_db_init: unable to
> connect to the database
>
> Jul 4 18:56:34 sip /sbin/ser[7155]: init_mod_child(): Error while
> initializing module acc
>
> Jul 4 18:56:34 sip /sbin/ser[7155]: init_child failed
>
> Jul 4 18:56:34 sip /sbin/ser[7155]: WARNING: destroy_fifo: cannot
> delete fifo (/tmp/ser_fifo): No such file or directory
>
> Does somebody can help me; I'm trying to get this working without success.
>
> Thanks a lot,
>
> Rodrigue
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>
--
Sandra Donaire Arroyo
Telefónica I+D
División de "Tecnologías de acceso a redes IP"
Hello,
please (CC) the list in your replies.
I exactly don't know why there is a "DB Error: syntax error". May be you
have some older version of mysql. Serweb needs mysql >= 4.0.
You may also try enable logging in serweb by set config variable
$config->enable_loging to true. In log file you will see sql queries and
more descriptive error messages. Please send me it.
Karel
zhaomin napsal(a):
> Thank you Karel,I resolve one question that show "DB Error: no such table" by your guidance.but I have a new question now it is when I want to show accounting and missed calls .it's show me "DB Error: syntax error" why that's for?
> ZhaoMin
> ----- Original Message -----
> From: "Karel Kozlik" <karel(a)iptel.org>
> To: "zhaomin" <zhaomin(a)kingdream.com>
> Cc: <serusers(a)lists.iptel.org>
> Sent: Monday, July 04, 2005 7:39 PM
> Subject: Re: [Serusers] SerWeb0.9.3 show me the error :DB Error: no such table Why?
>
>
>
>>Hello,
>>ser-0.9.3 and ser cvs useing a little diferent DB schema. There is a
>>confusion in names of tables for user preference. Check the names of
>>tables in config/config_data_layer.php and match them with you DB schema.
>>
>>Karel
>>
>>zhaomin napsal(a):
>>
>>>I used serweb-0.9.3 and Ser CVS version, I can register and login but
>>>when I login and open the my account show me error: DB Error: no such
>>>table.but it's can open the data in the mysql .I have this error prompt
>>>at many place include admin,anyone have this prompt? How can I resolve it?
>>> Thanks advance !
>>> ZhaoMin
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Serusers mailing list
>>>serusers(a)lists.iptel.org
>>>http://lists.iptel.org/mailman/listinfo/serusers
The effective transferring is done using REFER messages but since there
are several transfer methods, some INVITEs can be triggered before (put
on-hold, contact the referee). So, depending on how the user has
configured the transfer in his/her phone (blind, attended,
unattended,are there more??) the SIP request that the phone sends when
the user presses the button is different.
Take a look at the draft specifying the different transfer methods for
a detailled view of the message flows
(draft-ietf-sipping-service-examples I don't remember the most recent
number....probably 7 or 8)
Samuel.
Unclassified.
>>> Iqbal <iqbal(a)gigo.co.uk> 07/05/05 03:57AM >>>
which is why I am wondering if on pressing a transfer button request on
a
phone, should the first message being sent be a REFER or a INVITE,
cause
refer would make sense, although I havent looked at the rfc,
If anyone has a IP phones transferring a ngrep of transfer would be
appreciated
Iqbal
On 7/4/2005, "Nils Ohlmeier" <lists(a)ohlmeier.org> wrote:
>Hi,
>
>take a look at the SDP of the INVITE. Probably it just puts the other
side
>on-hold before sending the REFER.
>But I have no real clue how transfering without REFER should work.
(Except a
>cumbersome solution with Replaces and 3pcc, which I have never.)
>
> Nils
>
>On Monday 04 July 2005 21:07, Iqbal wrote:
>> Hi
>>
>> Should the call transfer use INVITE or REFER as a method, cause I
seem,
>> to be getting INVITE, but this then causes problems with
authentication.
>>
>> A <-->B then B transfer to C (all IP phones)
>>
>> This transfer seems fine, but it uses INVITE, no REFER . All phones
on
>> same sip domain/server
>>
>> Now when this setup changes
>>
>> pstn <---->B and then B tried to transfer to C, we get nothing, well
we
>> get 404 , it check the !location setting, and says ur not allowed.
>>
>> Is the REFER the first message to be sent, or is there a INVITE
>> transaction first,
>>
>> Iqbal
>>
>>
>> _______________________________________________
>> 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
Hi,
Can we determine what type of NAT environment UA is from by doing
nat_uac_test alone ?
i can't use STUN and am stuck in solving the NAT issue, as I can't
distinguish whether UA is from symmetric NAT.
Anyone has any clue other than using STUN? Thanks in advance
Regards,
Chia
Hello,
I want to use a dedicated ser+sems dedicated server
SER1---DB---SER2+SEMS
When i start SER2 I get :
serveur2:/etc/ser# tail /var/log/syslog
Jan 1 03:50:06 serveur2 /usr/sbin/ser[1086]: Maxfwd
module- initializing
Jan 1 03:50:06 serveur2 /usr/sbin/ser[1086]:
new_connection(): Can't connect to local MySQL server
through socket '/var/run/mysqld/mysqld.sock' (2)
Jan 1 03:50:06 serveur2 /usr/sbin/ser[1086]:
db_init(): Could not create a connection
Jan 1 03:50:06 serveur2 /usr/sbin/ser[1086]:
register_udomain(): Can not open database connection
Jan 1 03:50:06 serveur2 /usr/sbin/ser[1086]:
domain_fixup(): Error while registering domain
Jan 1 03:53:36 serveur2 /usr/sbin/ser[1094]: Maxfwd
module- initializing
Jan 1 03:53:36 serveur2 /usr/sbin/ser[1094]:
new_connection(): Can't connect to local MySQL server
through socket '/var/run/mysqld/mysqld.sock' (2)
Jan 1 03:53:36 serveur2 /usr/sbin/ser[1094]:
db_init(): Could not create a connection
Jan 1 03:53:36 serveur2 /usr/sbin/ser[1094]:
register_udomain(): Can not open database connection
Jan 1 03:53:36 serveur2 /usr/sbin/ser[1094]:
domain_fixup(): Error while registering domain
////////////////////////////////////////////////
ser.cfg:
port=5060
children=4
fifo="/tmp/ser_fifo"
fifo_db_url="mysql://ser:heslo@serveur1.home.net/ser"
user=ser
group=ser
fifo_user=ser # owner of the ser fifo
fifo_group=ser
fifo_mode=0660 # fifo's permissions
#disable_core=yes #disables core dumping
#open_fd_limit=1024 # sets the open file descriptors
limit
#mhomed=yes # usefull for multihomed hosts, small
performance penalty
#disable_tcp=yes
#tcp_accept_aliases=yes # accepts the tcp alias via
option (see NEWS)
listen=192.168.0.2
**************
# -- auth params --
# Uncomment if you are using auth module
#
modparam("auth_db", "db_url",
"mysql://ser:heslo@serveur1.home.net/ser")
modparam("auth_db", "calculate_ha1", yes)
Regards
harry
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
Hello guys, how do you think it is the best way to
implement some kind of partitions on ser?
I mean, extensions 1000 to 1999 belong to domainA and
can't call to extensions 2000 to 2999 on domainB. Also
there are independent dialing plans for each domain.
>From domainA to access international destinations
00+E164 should be dialed and from domainB 011+E164.
Do you have an example of doing this?
kind regards,
Pablo
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com