Hello,
My network is composed of 2 PCs,on the first 1, I installed
Linux redhat 9 with mysql , SER and DNS (ulfg1.lb), on the other one I installed
winXP with User Ugent Sjphone and ethereal.
I configured SER to work with mysql and I created a user named
test using serctl. ( I am implementing all said in ser_howto.pdf)
And I start ser :
service ser start
And ser starts successfully.
with Sjphone I configured the proxy domain and the user domain
to the domain ulfg1.lb, and i signed in with user test just created
with serctl. And I examin the traffic with ethereal.
SJphone tried to register the user test(a)ulfg1.lb but the response was
error 483 (too many hops).
Can someone helps me to resolve this problem.
Best regards.
Richa_Ziad(a)yahoo.fr
2004-04-09
Hello,
My network is composed of 2 PCs,on the first 1, I installed
Linux redhat 9 with mysql , SER and DNS (ulfg1.lb), on the other one I installed
winXP with User Ugent Sjphone and ethereal.
I configured SER to work with mysql and I created a user named
test using serctl. ( I am implementing all said in ser_howto.pdf)
And I start ser :
service ser start
And ser starts successfully.
with Sjphone I configured the proxy domain and the user domain
to the domain ulfg1.lb, and i signed in with user test just created
with serctl. And I examin the traffic with ethereal.
SJphone tried to register the user test(a)ulfg1.lb but the response was
error 483 (too many hops).
Can someone helps me to resolve this problem.
Best regards.
Richa_Ziad(a)yahoo.fr
2004-04-09
Hi,
Can anyone tell me if Sipsak is capable of specifying multiple contacts in
usrloc mode with various q values for sequential fork testing?
Thanks,
Paul
Important Notice *************************************************
This e-mail may contain information that is confidential, privileged or
otherwise protected from disclosure. If you are not an intended recipient of
this e-mail, do not duplicate or redistribute it by any means. Please delete
it and any attachments and notify the sender that you have received it in
error. Unintended recipients are prohibited from taking action on the basis
of information in this e-mail.
E-mail messages may contain computer viruses or other defects, may not be
accurately replicated on other systems, or may be intercepted, deleted or
interfered with without the knowledge of the sender or the intended
recipient. If you are not comfortable with the risks associated with e-mail
messages, you may decide not to use e-mail to communicate with IPC.
IPC reserves the right, to the extent and under circumstances permitted by
applicable law, to retain, monitor and intercept e-mail messages to and from
its systems.
Hi,
Thank you for your reply. Now sems is running now...Thank you so much.
When I try to do test call. It show "connected" on my UA but I hear no audio
and the session ended. Please advice. Thanks again.
<<logNoAudio.txt>>
Regards,
Shirley
> -----Original Message-----
> From: Ulrich Abend [SMTP:ullstar@iptel.org]
> Sent: Thursday, April 08, 2004 4:15 PM
> To: serusers(a)lists.iptel.org
> Cc: Shirley
> Subject: Re: [Serusers] Sems Error
>
> Hi,
>
> from your debugging:
>
> Apr 8 11:53:41 sipserver2 sems: (7785) DEBUG: loadAppPlugIn
> (AmPlugIn.cpp:262): application 'number_reader' loaded.
> Apr 8 11:53:41 sipserver2 sems: (7785) WARNING: reloadModuleConfig
> (SemsConfiguration.cpp:66): no configuration found for module
> number_reader,
> maybe you want to specify config.number_reader in config file.
> Apr 8 11:53:41 sipserver2 sems: (7785) ERROR: onLoad
> (NumberReader.cpp:55):
> required parameter number_path missing
> Apr 8 11:53:41 sipserver2 sems: (7785) ERROR: load (AmPlugIn.cpp:85):
> while
> loading plug-in '/usr/local/lib/sems/plug-in/apps/number_reader.so'
>
> This says that number reader refuses to start and therefor SEMS refuses to
>
> start at all. You have two options now:
>
> 1. configure number_reader to start by supplying valid entries in the
> following new section of your sems.conf (edit wav to your valid path!):
>
> config.number_reader=inline
> number_path=wav
> prolog_file=wav/prolog.wav
> epilog_file=wav/prolog.wav
> config.number_reader=end
>
> 2. remove '/usr/local/lib/sems/plug-in/apps/number_reader.so', then sems
> should start. Be careful, if you do a "make install" again, the module
> will
> be regenerated, you might have to delete it again.
>
>
> I call this a bug in SEMS, we will fix it someday. Modules should start
> without any configuration entries. By now, please use one of the options
> above.
>
> > I have also tested this ps ax | grep sems. I get this result:~
> > [root@sipserver2 root]# ps ax | grep sems
> > 5518 ? S 1:25 gedit file:///etc/sems/sems.conf
> > 7805 pts/0 S 0:00 grep sems
>
> This shows, that no SEMS is running, from all processes containing "sems"
> in
> their command line, it's only your editor and the grep command itself.
>
> Please always view the output of SEMS startup and review all lines
> starting
> with ERROR.
>
> Regards,
>
> Uli.
>
>
> On Thursday 08 April 2004 06:05, Shirley wrote:
> > Hi,
> >
> > Thank you for your prompt reply.
> > I have tested :~ set log_stderr=yes and fork=no and debug=3 in
> sems.conf.
> > I have attached the log. Please help.
> >
> > <<SemsError1.txt>> <<sems.conf>>
> > I have also tested this ps ax | grep sems. I get this result:~
> > [root@sipserver2 root]# ps ax | grep sems
> > 5518 ? S 1:25 gedit file:///etc/sems/sems.conf
> > 7805 pts/0 S 0:00 grep sems
> >
> > Regards,
> > Shirley
> >
> > > -----Original Message-----
> > > From: Ulrich Abend [SMTP:ullstar@iptel.org
> > > Sent: Thursday, April 08, 2004 12:18 AM
> > > To: Shirley
> > > Cc: serusers(a)lists.iptel.org
> > > Subject: Re: [Serusers] Sems Error
> > >
> > > Hi,
> > >
> > > try to set log_stderr=yes and fork=no and debug=3 in sems.conf for
> > > testing, it
> > > should produce a lot of debugging output on your console when starting
> > > up.
> > >
> > > There are a lot of possible reasons for SEMS not starting, please post
> > > the
> > >
> > > debugging output either from the commands above or from
> /var/log/syslog
> > > (under redhat the file might be another one under /var/log/ ...)
> > >
> > > You can also check is sems runs by calling in your shell:
> > >
> > > ps ax | grep sems
> > >
> > > Regards,
> > >
> > > Uli.
> > >
> > > P.S.: Please always CC to the list, others might answer quicker than
> me
> > >
> > > :-)
> > >
> > > On Wednesday 07 April 2004 14:43, Shirley wrote:
> > > > Hi,
> > > >
> > > > Thank you for your reply. How to make sure that the SEMS is running?
> > > > I uses the /usr/local/sin/sems.redhat start- to start the sems
> service?
> > >
> > > Am
> > >
> > > > I correct?
> > > > My fifo name is same in both file that you mention. Please advice!
> > >
> > > Thanks
> > >
> > > > Regards,
> > > > Shirley
> > > >
> > > > > -----Original Message-----
> > > > > From: Ulrich Abend [SMTP:ullstar@iptel.org]
> > > > > Sent: Wednesday, April 07, 2004 8:00 PM
> > > > > To: serusers(a)lists.iptel.org
> > > > > Cc: Shirley
> > > > > Subject: Re: [Serusers] Sems Error
> > > > >
> > > > > Hi,
> > > > >
> > > > > you should make shure, SEMS is running and uses the same fifo name
> > > > > (in sems.conf) as SER (in ser.cfg).
> > > > >
> > > > > It is also important, that the fifo file (default: /tmp/am_fifo)
> has
> > > > > write
> > > > >
> > > > > permissions for the user SER runs as. The easiest setup is to run
> SER
> > >
> > > and
> > >
> > > > > SEMS as the same user.
> > > > >
> > > > > If you still experience problems, please post SER and SEMS
> debugging
> > > > > output,
> > > > > the config files, and the results of
> > > > > ls -la /tmp/*fifo
> > > > >
> > > > > Regards,
> > > > >
> > > > > Uli.
> > > > >
> > > > > On Wednesday 07 April 2004 12:28, Shirley wrote:
> > > > > > Hi all,
> > > > > >
> > > > > > Please Help!!! I am trying to install the sems when I try to
> start
> > >
> > > the
> > >
> > > > > sems
> > > > >
> > > > > > I encountered this problem as per below. I am running on Linux
> 9.0
> > >
> > > and
> > >
> > > > > > please also advice on how to check the fifo version....Thanks
> > > > > >
> > > > > > Mar 24 19:04:25 sipserver2 /usr/local/sbin/ser[12876]: ERROR:
> > > > > > voicemail: ans_machine deamon is not running !
> > > > > > Mar 24 19:04:25 sipserver2 /usr/local/sbin/ser[12876]: ERROR:
> > > > > > voicemail:
> > > > >
> > > > > No
> > > > >
> > > > > > such device or address
> > > > > > Mar 24 19:04:25 sipserver2 /usr/local/sbin/ser[12876]: ERROR:
> > >
> > > vm_start:
> > > > > > write_to_fifo failed
> > > > > > Mar 24 19:04:35 sipserver2 /usr/local/sbin/ser[12874]: ERROR:
> > > > > > voicemail: ans_machine deamon is not running !
> > > > > > Mar 24 19:04:35 sipserver2 /usr/local/sbin/ser[12874]: ERROR:
> > > > > > voicemail:
> > > > >
> > > > > No
> > > > >
> > > > > > such device or address
> > > > > > Mar 24 19:04:35 sipserver2 /usr/local/sbin/ser[12874]: ERROR:
> > >
> > > vm_start:
> > > > > > write_to_fifo failed
> > > > > >
> > > > > > regards,
> > > > > > shirley
> > > > > >
> > > > > > _______________________________________________
> > > > > > Serusers mailing list
> > > > > > serusers(a)lists.iptel.org
> > > > > > http://lists.iptel.org/mailman/listinfo/serusers
That means that if I want that call in next step use RTP proxy I should
enable it in first step regardless if it needed or not ?
That is weird :)
Is there other way to to that ?
I am trying to use rtp proxy only where it is absolutely necessary is
anybody accomplish this ?
-----Original Message-----
From: Jan Janak [mailto:jan@iptel.org]
Sent: Wednesday, April 07, 2004 5:31 PM
To: Vitaly Nikolaev
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] routing question
failure_route works with the original request (not response). SER will
trigger failure_route when it decides what response code (from which
branch) should be forwarded upstream. It is not possible to call
force_rtp_proxy in this section, you should call force_rtp_proxy in the
main routing section.
Jan.
On 07-04 13:45, Vitaly Nikolaev wrote:
>
>
> Hello,
>
> I have small problem with dinamic routing.. my config looks like:
> (page down)
>
>
> as u see i have two steps routing.. second exec_dset return me uri of
> voicemail or it could be another number. the question is:
>
> how can i do rtp_proxy on second step ? i can not just put
> force_rtp_proxy(); in failure_route.. it is not allowed....
>
> Please help
>
>
>
> short version:
>
>
>
>
> route {
> if (nat_uac_test("2")) {
> xlog("L_ALERT", "(%ci) src address different than via
header->NAT detected");
> force_rport();
> fix_nated_contact();
> setflag(5);
> }
> if(uri==myself) {
> exec_dset("/usr/local/ser/bin/getroute");
> route(1);
> }
> }
>
> route [1] {
> xlog("L_ALERT", "(%ci) entering route[1] - relaying SIP
message to online user\n");
> if ((isflagset(5)) || (isflagset(6))) {
> xlog("L_ALERT", "(%ci) at least one of the
participants is NATed->record_route\n");
> record_route();
> xlog("L_ALERT", "(%ci) -->setting up reply
processing ->onreply_route[1]");
> t_on_reply("1");
> if (method=="INVITE") {
> xlog("L_ALERT", "(%ci) INVITE
request-->force_rtp_proxy, set NATED-INVITE flag(7)");
> force_rtp_proxy();
> append_hf("P-hint: request forced to rtp
proxy\r\n");
> setflag(7);
> };
> };
> t_on_failure("1");
>
> xlog("L_ALERT", "(%ci) relaying message ...(%tu)");
> if (!t_relay()) {
> xlog("L_ALERT", "(%ci) t_relay error occured\n");
> sl_reply_error();
> };
> }
>
>
> onreply_route[1] {
> xlog("L_ALERT", "(%ci) onreply_route[1] entered\n");
> if ( (status=~"200" || status=~"183") ) {
> xlog("L_ALERT", "(%ci) status 2xx or 183");
> if ( isflagset(7) ) {
> xlog("L_ALERT", "(%ci) marked(7) as
NATED-INVITE -> force_rtp_proxy \n");
> force_rtp_proxy();
> append_hf("P-hint: response forced to rtp
proxy\r\n");
> };
> };
> }
>
>
> failure_route[3] {
> /* XX: note: unsafe if preloaded routes without username used */
> xlog("L_ALERT", "(%ci) failureroute[1] entered\");
>
> exec_dset("/usr/local/ser/bin/getroute vm");
>
> t_on_failure("4");
>
> xlog("L_ALERT", "(%ci) relaying message ...(%tu)");
> append_branch();
> if (!t_relay()) {
> xlog("L_ALERT", "(%ci) t_relay error occured\n");
> # sl_reply_error();
> };
>
> }
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
At 12:43 PM 4/8/2004, Raymond Chen wrote:
>Then what should I do to take care of the problem?
I'm not sure even what the problem is. If a call is dropped after one
minute that's hardly related to mismatched reply. Similar behaviour
often happens when an ACK is misrouted. Just watch SIP traffic to see
what is going on.
-jiri
> I 've use the simple example and test every added step now.
>
>Ray
>
>-----Original Message-----
>From: Jiri Kuthan [mailto:jiri@iptel.org]
>Sent: Thursday, April 08, 2004 6:18 PM
>To: Raymond Chen; serusers(a)lists.iptel.org
>Cc: serdev(a)lists.iptel.org
>Subject: Re: [Serdev] call drop
>
>At 03:17 AM 4/8/2004, Raymond Chen wrote:
>>Dear all,
>>
>>We¡¯ve setup a call scenario AS5300-¨¤SER¨¤as5300 but all calls drop around 1 minute after connection,
>
>SER does not keep transactions in memory for ever. If you wish them
>to be kept longer, try longer TM timers. Nevertheless, the reply
>in question should be delivered statelessly even if the transaction
>context is already expired.
>
>-jiri
>
>
>
>_______________________________________________
>Serdev mailing list
>serdev(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serdev
--
Jiri Kuthan http://iptel.org/~jiri/