I have set up ser according to howtos on iptel.org. I am having trouble
finding sample configs for logging CDRs to the MySQL database created
for use by SERWEB with the provided shell script. My main issue is what
flags to set for accounting and where to call the "setflag" function so
that call signals are properly logged as CDRs in to the SERWEB
database. I make calls, and nothing is there. I do not see any errors
either. I have compiled the acc.so module for MySQL support as well.
Any information would be greatly appreciated.
Thank you,
C. Ed Felt
caflobvi.com
Hi all.
I'm trying to "uncomplicate" my ser.cfg and part of this is coming up with a simplistic way to
handle failover to voicemail and unconditional call forwarding (forward busy and forward no answer
are also needed, but I'll do this later).
So serial forking seems perfect for this job but I'm having trouble getting it working.
I added the "type" to usr_preferences as described in the avpops README. And my ser.cfg was
modified similar to example 8.4 in the avpops online documentation at
http://www.voice-system.ro/docs/avpops/ar01s08.html#ex_serial_forking
My partial ser.cfg is below. Can anyone tell me why ser will not route calls? I just get dead air
when I dial a number. I can see in my MySQL logs that avpops is querying the database - but I
don't see how it is putting the read DB values in to the $serial_fork AVP. I also see plenty of
errors regarding media_proxy - so I know my code is messed up.
Many Thanks!
Paul
modparam("avpops", "avp_url", "mysql://ser:heslo@localhost/ser")
modparam("avpops", "avp_table", "usr_preferences")
modparam("avpops", "avp_aliases", "serial_fork=i:665")
route {
### all the usual stuff
if (uri=~"[@:](192\.168\.|10\.|172\.(1[6-9]|2[0-9]|3[0-1])\.)" && !search("^Route:")){
sl_send_reply("479", "We don't forward to private IP addresses");
break;
};
if (method=="INVITE" || method=="ACK") {
use_media_proxy();
};
if (method=="INVITE") {
# a hack to get the user's voicemail URI in to avp
# since the voicemail server is an external server
if (is_user_in("Request-URI", "voicemail")) {
rewritehostport("11.22.33.44:5060");
avp_write("$ruri", "$serial_fork");
revert_uri();
};
# load the "callfwd" attribute, if any, for the called party
avp_db_load("$to/username", "s:callfwd");
t_on_failure("1");
t_on_reply("1");
};
if (!t_relay()) {
if (method=="INVITE" || method=="ACK") {
end_media_session();
};
sl_reply_error();
};
}
failure_route[1] {
# if caller hung up then don't sent to voicemail or forward
if (t_check_status("487")) {
break;
};
if (avp_pushto("$ruri", "$serial_fork")) {
avp_delete("$serial_fork");
t_on_failure("1");
t_relay();
};
}
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
Hi all
I am running ser with sems.
I have some problems to configure the voicemail using sems.
I am running 2 processes of sers.
1- ser.cfg
2- ser.cfg1 -> voicemail.
when i am checking the logs i receiving :
ser[16298]: ERROR: fifo_t_reply: lookup failed
ser[16298]: ERROR: fifo_server: command (vm_reply) processing failed
Sems[12798]: Error: AmRequestUAS::reply: 481 fifo_t_reply: no such transaction
Any help will be appreciated.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hello All,
I have tried to install apache2, php, serweb, etc. and I will happy to know how to access the index page of serweb.
I seem to always get a blank page whenever I access any of the *.php files under /serweb/
Again, anytime i try to access http://host_IP/serweb/admin/ or http://host_IP/serweb/user_interface, I get the error below:
Fatal error: Call to undefined function mysql_pconnect() in /usr/local/www/phplib/db_mysql.inc on line 73
Please help with ideas. Your contribution is most welcome.
Emmanuel.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: MD5
Hello.
I would like to know if there is anyway to make ser users to use the
same account info to login the provider sip server. I want to share
this account with all of the users I have in ser. Is it possible?
Thank you.
Regards,
Tito
-----BEGIN PGP SIGNATURE-----
Version: 2.6
iQEVAwUAQeLKgHHoJ4bX5QlXAQHeEgf/d4hqXGUswweI9kJ18hNg0FKLHq7RHhIX
+Ji+HzHcf8hurv0Zg3qG1QahOjBDrZGXaoi2jACuJRtqKHMDU6n1KMauh9nFnxTE
FDEiCCcxukhsh3B7cOhcMSaEhn8fzEtsJx/rSs4h5k8o1edRK1MDi9lh+rP4w1Xq
j+FpTBZU/+opt3+Xn4MiS4efmMCJtN+zd1cl9jbyjChLAYQjKG3gwm3WB4TEw1Uo
EL9wp+fimy8yRKaILLGPhFkZbC1YbWHuMZpPFxnlor8EmRJrA4zQvve2vmiODR0t
ivvRtaoKzkKOm+txSchM+pt+TIsPvey9QVwWz+PR/35voaUeMRNypw==
=p+YW
-----END PGP SIGNATURE-----
Hi,
There are a couple of modules in version 0.9 which can be used for
dynamic routing depending on the desired functinality.
One is called dispatcher, and is meant to be a load balancer without
fair distribution. I think that you define a list of possible servers in
a database and the dispatcher module forwards message to one of them
(together with all within-dialog future responses and requests).
The other option is to use avpops module which provides an
attribute-value functionallity. You can use them to select the next hop
depending on the incoming SIP message parameters and the values present
in a database.
I would advise you to take a look at the documentation of both modules
to see if they suit your requirements before using the exec commands,
which are not 100% reliable and increases the memory requirements as you
have mentioned. From the exec module's readme:
1.5. Known Issues
There is currently no guarantee that scripts ever return and
stop blocking SIP server. (There is kill.c but it is not used
along with the current mechanisms based on popen. Besides that
kill.c is ugly).
Enjoy SER,
Samuel.
Unclassified.
>>> Ricardo Martinez <rmartinez(a)redvoiss.net> 01/10/05 05:22PM >>>
Darren:
Thanks for your quick answer. I was thinking in a similar
solution,
using a external program, in fact i use the exec_dset() functionality
for
something similar. I was thinking add to this solution a Redirect
Server?.
Maybe the call to the dynamic route proccess is in the Redirect
Server,
calling the exec_dset() function, so all the extra resource needed to
perform these tasks are used in the redirect server and no in my
Proxy-Registrar Server. Is just an idea..
IS this scalable maybe?
Is this posible?
Thanks in advance
Best Regards,
Ricardo Martinez.-
-----Mensaje original-----
De: Darren Nay [mailto:dnay@ionosphere.net]
Enviado el: Lunes, 10 de Enero de 2005 11:06
Para: Ricardo Martinez; 'serusers(a)lists.iptel.org'
Asunto: Re: [Serusers] Dynamic Routes with SER.
Take a look in the SER Admin guide at "Executing an External Program".
You
can write an application with perl, C, etc.. Which will process the
call
info and return a destination set. This functionality is available
using
the exec_dset function in SERs exec module.
I use this feature in our SER deployment and it works great. The only
problem I've found so far is that it definitely does increases the
resources
required per call, and hurts your scalability. Especially if you use
perl.
Try to use C if at all possible, or persistent perl at the very least.
Darren Nay
On 1/10/05 11:01 AM, "Ricardo Martinez" <rmartinez(a)redvoiss.net>
wrote:
> Hello List.
> I have a question on how to handle dynamic routes in SER. For what
> i know, SER by himself is not the best way to handle dynamic routes,
since
> every change in a route implies a change in the ser.cfg file and then
a
> restart of the service. So i'm thinking how to solve this problem
and a
was
> hoping that someone could give some advice on this issue.
> Any idea is welcome.
>
> Thanks in advance.
> BEst Regards.
>
> Ricardo Martinez.-
>
> _______________________________________________
> 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
Darren:
Thanks for your quick answer. I was thinking in a similar solution,
using a external program, in fact i use the exec_dset() functionality for
something similar. I was thinking add to this solution a Redirect Server?.
Maybe the call to the dynamic route proccess is in the Redirect Server,
calling the exec_dset() function, so all the extra resource needed to
perform these tasks are used in the redirect server and no in my
Proxy-Registrar Server. Is just an idea..
IS this scalable maybe?
Is this posible?
Thanks in advance
Best Regards,
Ricardo Martinez.-
-----Mensaje original-----
De: Darren Nay [mailto:dnay@ionosphere.net]
Enviado el: Lunes, 10 de Enero de 2005 11:06
Para: Ricardo Martinez; 'serusers(a)lists.iptel.org'
Asunto: Re: [Serusers] Dynamic Routes with SER.
Take a look in the SER Admin guide at "Executing an External Program". You
can write an application with perl, C, etc.. Which will process the call
info and return a destination set. This functionality is available using
the exec_dset function in SERs exec module.
I use this feature in our SER deployment and it works great. The only
problem I've found so far is that it definitely does increases the resources
required per call, and hurts your scalability. Especially if you use perl.
Try to use C if at all possible, or persistent perl at the very least.
Darren Nay
On 1/10/05 11:01 AM, "Ricardo Martinez" <rmartinez(a)redvoiss.net> wrote:
> Hello List.
> I have a question on how to handle dynamic routes in SER. For what
> i know, SER by himself is not the best way to handle dynamic routes, since
> every change in a route implies a change in the ser.cfg file and then a
> restart of the service. So i'm thinking how to solve this problem and a
was
> hoping that someone could give some advice on this issue.
> Any idea is welcome.
>
> Thanks in advance.
> BEst Regards.
>
> Ricardo Martinez.-
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
Hello List.
I have a question on how to handle dynamic routes in SER. For what
i know, SER by himself is not the best way to handle dynamic routes, since
every change in a route implies a change in the ser.cfg file and then a
restart of the service. So i'm thinking how to solve this problem and a was
hoping that someone could give some advice on this issue.
Any idea is welcome.
Thanks in advance.
BEst Regards.
Ricardo Martinez.-
Dear sir,
As the radius accounting modules are not include in the tar ball. so to include them i tried to install the ser from its source and edit the make file by ommitting radius related modules from the exclude section .but when make install it gives the error "radius.O not compiled"
what should i do?
pranav
MNIT
Indiatimes Email now powered by APIC Advantage. Help!
HelpClick on the image to chat with meIndiatimes Email now powered by APIC Advantage. Help!
HelpClick on the image to chat with me