Hi All.
I'm using ser-0.8.99-dev19 and I'm trying to figure out how to get avpops to tell me if
(to_uri==from_uri) for INVITE messages.
I want to do a quick test to see if a user is calling their own extension and route them to
voicemail accordingly.
I'm having a bit of trouble understanding avpops. Do I need to use the database functionality to
do this or can I do it without MySQL?
Anyhow here is about what I've got - but is wrong and I'm unclear on how to get this to work
ser.cfg snippet:
loadmodule "/usr/local/lib/ser/modules/avpops.so"
route {
# usual checks
# REGISTER stuff
if ((method=="INVITE") && is_user_in("Request-URI", "voicemail")) {
if (avp_check("$from", "$to")) {
log(1, "Sending to Voicemail");
route(4);
};
};
# lookup aliases stuff
# etc
}
route [1] {
# send to voicemail route
}
But starting ser gives these errors
AVPops - initializing
ERROR:avpops:parse_check_value: parse error in <$to> pos -135487828
ERROR:avpops:fixup_check_avp: failed to parse checked value
ERROR: fix_expr : fix_actions error
Regards,
Paul
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
You do not have to tear down manually media sessions. The sessions are
automatically managed (added/deleted) per call by MediaProxy server.
Just make sure you rewrite the contact and forward the RE INVITES in
ser.cfg. With a correct ser.cfg configuration you see in the status
page that the call is on hold and becomes active once you return from
hold.
Adrian
>>
Hello,
What is the default behaviour for mediaproxy on call holds? Is there a
need
to tear down an open media session when a re-Invite is received with the
typical on-hold values? Or is this handled by the dispatcher
automatically?
Thanks,
best regards,
Martin
Good morning,
I was wondering if the SER supports RTCP XR?
Regards,
Walt Carter
EarthLink Service and Technology Monitoring
404-748-7240 Office
404-275-2441 Mobile
Hi,
I have just installed serweb successfully on FC 2. Initially, I notice
there is one user called admin show on the index page, but when I
clicked into account, an error shows in red color:
sorry -- cannot open write fifo
I try to add a user, and the same error message occurs.
What is the problem?
Thomas
Greetings:
Please see my previous posts regarding a bus error in 'dbt_tb.c'; since
dbtext wasn't working I thought I'd try mysql.so. For OpenBSD/sparc 3.2
the MySQL package binary distribution is release 3.23.49. Script
'ser_mysql.sh' successfully created the tables; 'serctl add'
successfully added a user. The same 'ser.cfg' as used for 'dbtext'
testing (attached to previous post) changed to load mysql.so and
reference the proper db_url parses ok.
The SIGBUS happens in a library routine in libmysqlclient.so.10.0 which
is not compiled with debugging symbols.
The core file is about 36MB. Please let me know if I should send a
tarball of the works to someone.
Again, all help is much appreciated.
Michael
--------------------------------------------------------------------------
Here is the log (after the aliases listing):
stateless - initializing
0(0) Maxfwd module- initializing
mysql - initializing
Here is the backtrace:
Program terminated with signal 10, Bus error.
Reading symbols from /usr/lib/libc.so.28.5...done.
Reading symbols from /usr/libexec/ld.so...done.
Reading symbols from /usr/local/lib/ser/modules/mysql.so...done.
Reading symbols from /usr/local/lib/libmysqlclient.so.10.0...done.
Reading symbols from /usr/lib/libz.so.1.4...done.
Reading symbols from /usr/lib/libm.so.0.1...done.
Reading symbols from /usr/local/lib/ser/modules/sl.so...done.
Reading symbols from /usr/local/lib/ser/modules/tm.so...done.
Reading symbols from /usr/local/lib/ser/modules/rr.so...done.
Reading symbols from /usr/local/lib/ser/modules/maxfwd.so...done.
Reading symbols from /usr/local/lib/ser/modules/usrloc.so...done.
Reading symbols from /usr/local/lib/ser/modules/registrar.so...done.
Reading symbols from /usr/local/lib/ser/modules/textops.so...done.
Reading symbols from /usr/local/lib/ser/modules/auth.so...done.
Reading symbols from /usr/local/lib/ser/modules/auth_db.so...done.
#0 0x86562b0 in simple_command ()
(gdb) bt
#0 0x86562b0 in simple_command ()
#1 0x865807b in mysql_real_query ()
#2 0x8657eb3 in mysql_query ()
#3 0x8522127 in submit_query (_h=0x2c03c8,
_s=0x8632770 "select table_version from version where
table_name='subscribe
'") at dbase.c:90
#4 0x8525267 in db_query () at dbase.c:305
#5 0x10d503 in table_version (dbf=0x93f8308, connection=0x2c03c8,
table=0xf7fff3a8) at db/db.c:176
#6 0x92f3c73 in auth_db_ver () at authorize.c:340
#7 0x92f1d73 in str_fixup (param=0x2c1650, param_no=2) at authdb_mod.c:238
#8 0x73007 in fix_actions (a=0x2c1638) at route.c:239
#9 0x71e0f in fix_expr (exp=0x2c1688) at route.c:133
#10 0x715eb in fix_expr (exp=0x2c16cc) at route.c:101
#11 0x72c57 in fix_actions (a=0x2c19c0) at route.c:217
#12 0x72cb3 in fix_actions (a=0x2c1c10) at route.c:221
#13 0x72cb3 in fix_actions (a=0x2c05c8) at route.c:221
#14 0x75413 in fix_rls () at route.c:695
#15 0x4514b in main (argc=7, argv=0xf7fff87c) at main.c:1433
#16 0x1610f in ___start ()
Has anyone tried, with or without success, using linux virtual server
along with SER for load balancing? Is this a good or bad idea? Any
ideas or suggstions are welcome. Thanks.
When running a debug on SER 0.8.14, I see "radius_is_user_in():
Failure" yet I dont even see any activity hitting my RADIUS server.
Authentication and URI_Radius both work fine on the same RADIUS
server. Im stumped, anyone else have this problem?
Hi ALL;
Hi Paul;
About Paul's email on SEP.19 with the subject " ingecting SIP NOTIFY INTO SER FIFO" , I come up with the following question:
Why we use "sipsak" for sending "NOTIFY" message from Asterisk to Ser?? Is it because of Asterisk is not a "b2bua"
Warnest Regards
mohammad
Hi everyone,
After I have installed serweb by default, with db_name=ser and
db_passwd=heslo, when I go to http://localhost/html/admin/index.php
login page, using
Username: admin
Password: heslo
I cannot login the page.
Thomas