My question was referencing this email thread
Hi Jiang,
the problem is the USRLOC module saves (in the user location record) the
socket the REGISTER was received from (to use it when sending the
traffic to the users). But if you have multiple servers on the same DB,
there will be a kind of
Bogdan,
Are you saying that its not possible to have two Active/Active SIP Proxies
share the same Location table when the clients are NATed?
I currently have two OpenSIPS proxies set up and sharing the same database
and if NATed Client A registered with Proxy1 and NATed Client B registered
with
Hi,
I want to pass an aliased user to the drouting module like :
route[8] {
uac_replace_from("$avp(s:from_alias)");
do_routing("","1");
uac_restore_from();
This doesn't work; is the module reparsing the from-header or is there
another solution ?
Brgds
Erik
--
Th
Thanks.
On 14/03/2010, Mario Stocco wrote:
> Gavin,
>
> OpenSIPS works as well as any other service managed by HA (heartbeat).
> A typical /etc/ha.d/ha.cnf file may look like this:
>
> logfile /var/log/ha-log
> logfacility local0
> keepalive 2
> warntime 4
> deadtime 8
> initdead 120
> bcast eth0
I have a small guess (why you get the bogus signalling as a side effect
of the slow queries): enable in auth module the disable_nonce_check:
http://www.opensips.org/html/docs/modules/1.6.x/auth.html#id228317
-> modparam("auth", "disable_nonce_check", 1)
and most probably the signalling wi
Wondering if anyone has ran into an issue like this
I have a server with a public IP 66.X.X.X that is running
OpenSIPSMediaDispatcher and also MySQL. I set up a second
OpenSIPS/MediaDispatcher with a public IP of 12.X.X.X and pointed the config
to the 66.X.X.X for all database queries. I also h
Hi Brett
Brett Nemeroff wrote:
> Bogdan / Jeff,
> Thanks for the replies. I got it working now with serialize_branches.
> Just goes to show that sometimes the magic is "up to you". :)
>
> Question tho. I know serialize_branches order branches by q-value.
> However, does it smartly handle q-values
Bogdan / Jeff,
Thanks for the replies. I got it working now with serialize_branches.
Just goes to show that sometimes the magic is "up to you". :)
Question tho. I know serialize_branches order branches by q-value.
However, does it smartly handle q-values that are the same to be
parallel branches?
All,
When attempting to add a new rule with drouting dynamic groups, I get
the following error:
Fatal error: Call to a member function queryAll() on a non-object
in/var/www/opensips-cp/web/tools/system/drouting/lib/rules.functions.inc.php
on lineĀ 32
Everything else seems to be working fine. The SQL
(gdb) file /usr/local/sbin/opensips
(gdb) core-file /var/core/opensips.sig-11.pid-14612.time-1269526223
warning: Can't read pathname for load map: Input/output error.
Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips.pid'.
Program terminated with signal 11, Segmentation fault.
[N
Yes :), CANCEL message send by asterisk to cancel the INVITE. Thank you.
Regards
Rajib
On Thu, Mar 25, 2010 at 6:55 PM, Bogdan-Andrei Iancu wrote:
> you mean the 487 in for INVITE that was cancelled and not for the CANCEL
> itself ;).
>
> if, you can use the onreply_route for the INVITE transac
Where the core files are generated?
On Thu, Mar 25, 2010 at 10:13 AM, Anca Vamanu wrote:
> Hi Daniel,
>
> Please investigate the core file with gdb. Print in an email the output
> for 'bt full'.
>
> Regards,
>
> --
> Anca Vamanu
> www.voice-system.ro
>
>
> Daniel Ribeiro wrote:
> > Hi guys,
> >
I've fixed it now, instead of using root credentials to connect to the
database I made the opensips user and password in the mysql database and
tried connecting with those and it worked fine.
Thanks for the help!
--
View this message in context:
http://n2.nabble.com/Add-db-mysql-module-tp479
maybe there is another module that uses the default db_url -> check all
the module you are using to see if they have a db_url param; if so, set
it according to your DB setup.
(hint: in the logs, after the access error, you may get some following
logs about the module that failed to init).
Rega
you mean the 487 in for INVITE that was cancelled and not for the CANCEL
itself ;).
if, you can use the onreply_route for the INVITE transaction and use
"status" keyword to check the code -> append_hf()
Regards,
Bogdan
rajib deka wrote:
> Hi Bogdan,
>
> My situation as follows
>
> asteris
t_relay() does not accept variables as parameters. To get the same
behaviour, use $du (destination uri):
$du = $var(new_uri);
t_relay();
Regards,
Bogdan
CheeWii wrote:
> Can I use :
>
> $var(new_uri)="udp:"+"192:168:0:3"+":5060";
> t_relay("$var(new_uri)") or t_relay($var(new_uri))
>
Hi Daniel,
Please investigate the core file with gdb. Print in an email the output
for 'bt full'.
Regards,
--
Anca Vamanu
www.voice-system.ro
Daniel Ribeiro wrote:
> Hi guys,
>
> Trying to do call forward no answer with early media enabled crash
> opensips. Did you know where I can found te
Hi Bogdan,
My situation as follows
asterisk -> opensips -> SIP trunk
I am receiving 487 at asterisk from opensips for CANCEL. I want to add a
header to 487 from opensips reply or failure route, so that i can parse it
in asterisk to get the header.
Regards
Rajib
On Thu, Mar 25, 2010 at 4:15 PM, B
Can I use :
$var(new_uri)="udp:"+"192:168:0:3"+":5060";
t_relay("$var(new_uri)") or t_relay($var(new_uri))
Maybe there is something wrong in use t_relay()~~
2010/3/25 Bogdan-Andrei Iancu
> Hi,
>
> replace
>if (src_ip == "$var(aster_ip)" && src_port== "$var(aster_port)") {
>
> with
>if
Hi guys,
Trying to do call forward no answer with early media enabled crash opensips.
Did you know where I can found teh core dump file generated?
Thanks,
Mar 25 09:25:14 danielribeiro /usr/local/sbin/opensips[13515]: forwarded to:
sip:1...@192.168.1.200
Mar 25 09:25:14 danielribeiro /usr/local
Right, I realised I was missing these parameters from the config:
modparam("auth_db", "db_url","mysql://root:passw...@localhost/opensips")
modparam("auth_db", "load_credentials", "")
So I've added those and all the auth_db parameters are:
modparam("auth_db", "calculate_ha1", yes)
modparam("au
Hi Rajib,
is this 487 reply received? if so, use onreply_route + append_hf("Foo:
bar \r\n");
Regards,
Bogdan
rajib deka wrote:
> Hi List,
>
> is it possible to add a header to '487' response. I tried the same in
> on_reply and failure route but I am not getting it at the UAC end.
> Regards
>
Hi,
replace
if (src_ip == "$var(aster_ip)" && src_port== "$var(aster_port)") {
with
if ( $si == $var(aster_ip) && $sp== $var(aster_port) ) {
Regards,
Bogdan
CheeWii wrote:
> Hi,
> I have read the Script variables introduction,and I make a test in my
> opensips.cfg. But the opensips can
Hi,
lb_disable() cannot be used in onreply ! - use the failure route to
catch the 408 failure event and use lb_disable() there.
Regards,
Bogdan
liuf wrote:
> Hell All:
>
> I tried load_balancer module, when received 408 in onreply route block, I
> cannot use lb_disable to mark this unavailble d
Hi Brain,
if you get that message, it means opensips failed to start, so check the
log file for the error. In your case, doing a "ps" shows any process
running? also try to increase the logging level (set debug=4 in cfg) to
get more indications on the failure.
Regards,
Bogdan
brianpocock wrot
Hi Brett,
As Jeff already pointed out (and I'm making it official ;) ), the
get_redirects() creates parallel branches. If you want to use them in a
serial approach, you need to use the serialize_branches() function right
after the get_redirects() -> it will order the branches according to q
va
Hi, I got it all install now thanks, Im getting an error when starting up
though:
ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start
failed
I have done some googling and found the opensips Where to check OpenSIPS
does not start? page and looked in my /var/log/messages file.
Hi List,
is it possible to add a header to '487' response. I tried the same in
on_reply and failure route but I am not getting it at the UAC end.
Regards
--
Rajib Deka
Software Engineer
Servion Global Solution
Chennai, India
Mobile No: + 91 80157 09130
___
Hi Christian,
The wrong path has been fixed.
Thanks,
Alex
On 3/24/2010 20:11, Christian Vo wrote:
I've just installed the latest version of opensips-cp
Here's what I found:
1) Monit link error:
[Wed Mar 24 10:41:53 2010] [error] [client 10.31.53.156] PHP Fatal
error: require_once(): Faile
Hi,
I have read the Script variables introduction,and I make a test in my
opensips.cfg. But the opensips cannot start up.
I have added:
$var(aster_ip)="192.168.0.176";
$var(aster_port)="5060";
if (src_ip == "$var(aster_ip)" && src_port== "$var(aster_port)") {
xlog("L_NOTICE","Incoming Request is f
30 matches
Mail list logo