Hi,
Is there any way in which I could use pseudo variables in one of the
exec functions? It would be incredibly useful!
Thanks,
Patrick
--
Patrick Jordan-Smith
Network Operations
Mercury Telecommunications Ltd /
Quicksilver Internet
voice +64-9-916-0300 / +64-27-5900595
fax +64-9-916-0301
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
Hi all,
I would like to restrict registration based on IP in Contact,
something like:
foo(a)bar.com --> allowed contact IP are 192.168.1.10 or 192.168.1.15
boo(a)bar.com --> allowed contact IP are 192.168.1.20 or 192.168.1.30
I tried with permissions module:
if (!allow_register("register.allow", "register.deny")) {
sl_send_reply("403", "Permission denied");
break;
};
and
# content of register.allow
"^sip:foo@.*$" : "^sip:.*192\.168\.1\.10$"
"^sip:foo@.*$" : "^sip:.*192\.168\.1\.15$"
"^sip:boo@.*$" : "^sip:.*192\.168\.1\.20$"
"^sip:boo@.*$" : "^sip:.*192\.168\.1\.30$"
but it doesn't work. SER lets foo@ and boo@ register using
whatever IP they want to. Where is the mistake? Am I missing something?
Thank you
Ciao
FF
Hi,
what you mean for 2-way replication in mysql??
The replica as A-->B-->A or the clustering of mysql 5??
I see limitation in both situation:
In A-->B-->A you have trouble in case of failure of one server to get again a
working environment being sure that all is syncrhonized well. If you can
suggest a good way to accomplish it will be welcome. I'm trying to do the
same thing.
As i know (may be i'm wrong and i will be happy to be) In clustering you do
not have support for fereign keys and there are other kind of limitation.
Let me know if you can suggest a good way to do it.
I need the transactional functions, foreign keys and to be sure that data are
flushed to disk almost immediately after the query executed (this is
something that the cluster do not assure to you because it keep in memory lot
of data and flush it to disk in big chunks) for the application that run on
top of SER/OpenSer.
The goal of my application is to have 2 OpenSer (balanced using SRV records or
something like this) servers working on two separate mysql but dealing with
the same data. For now the best solution for reliability that i found is to
have 2 OpenSer servers to operate on the 1st mysql and the 2nd in sync as
slave with one way replication and in case of failure to move the IP address
of mysql on the slave and restart the slave as master. All this with
Heartbeat package.
Bye,
Marcello
>Hi Daryl,
>
>the 2-way replication in Mysql works and it might be used along with
>OpenSER - depends of your configuration.
>
>regards,
>bogdan
>
>Daryl Sanders wrote:
Valued Colleagues,
Can someone tell me how ser.cfg interprets the integer code returned by
module functions?
I want to be able to distinguish, in ser.cfg, between success and
failure
of a module function's execution when invoked from ser.cfg.
As long as I return "1" from the module function to signalize success,
things work fine but when I try returning "0" or "-1" to indicate
failure
of the function, ser can not complete the call and in a way appears
to stop processing. My UA continuously retransmits INVITES to SER
but nothing happens.
I would appreciate your help
ramin
What is best way to make SER/OpenSER route to a different feature
server if the first one doesn't respond? Should this be done with an
additional failure route? Can either SER or OpenSER do SRV queries?
I am basically trying to get a little extra redundancy in place for my
VM server. They will be replicating between each other, but if one
goes down I need to make sure SER can still forward calls to a VM
server that is still alive.
My current ser.cfg is based off of the onsip call-forwarding config.
Thanks!
- Daryl
Hello Group,
I am a new user to this software. I have a couple of questions, and would
really appreciate if someone can take time to clarify.
1. Is OpenSER the same as SER? If no, is there a huge difference?
2. Does any of the above have any media processing capabilities? Eg, say
there are 2 SIP endpoints one can talk only G711 and the other only G729.
Can SER/OpenSER act as a Gateway for these 2? I would assume no,
but are there any modules that can enable this?
Thanks
Hi,
could anybody tell me how to use the function load_avp(). I'm trying
to use openser with sems...
Currently I am using as "load_avp("ruri", "email",0)" but the proxy
gives an error.
I am using the openser-0.9.4. But I think that this function doesn't
anymore exist in this version...
Could I use other function?
Best regards
[]'s
--------------------------------------------------
Loide Mara Verdes de Jesus
6º período - Ciência da Computação / UFAM
Laboratório VoIP - UFAM
Hi all:
i install the SER-0.9.4 with radius accounting ,but it
is can't work ,there are error log information in
/var/log/messages as follow:
rc-avpair_new:unknow attribute 4
ERROR:acc_rad_request:radius-ing failed.
i had configured the right radius server at
/etc/radiusclient-ng/radiusclient.conf and servers
file.
please help me .
thanks
___________________________________________________________
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱
http://cn.mail.yahoo.com
But you can rewrite the user then.. if it comes user(a)ser.com and you
rewrite to user_number(a)asterisk.com doesn't it work?
Jose Simoes
2005/11/20, Pol <kuroki(a)gmail.com>:
> Of course i do rewritehost to forward to asterisk but, voicemail.conf
> is configured to accept only numbers not users like pnovell@domain, so
> before rewritehost i should overwrite my TO header ( pnovell ) for (
> user alias which is always numerical 17940 ).
> understood?
> Thx Users!
>
> --
> Pol Novell
> UPF - Universitat Pompeu Fabra.
>