Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-09-30 Thread Daniel Tryba
On Fri, Sep 30, 2016 at 09:08:50AM +0530, Infinicalls Infinicalls wrote:
> Edge proxies is a nice suggestion. Thanks.
> 
> Can I implement, as suggested here,
> https://blog.voipxswitch.com/2015/03/27/kamailio-basic-sip-proxy-all-requests-setup/
> to setup a proxy and direct requests to the registrar?

Looks similar to my own setup, which I posted here
http://lists.sip-router.org/pipermail/sr-users/2016-August/094280.html

> But, my main intention was to bring down the server load of the sole
> registrar and as bonus act as failover.

Than a edge proxy setup will help, the config in them is static (and can
be stateless). Dispatcher can distribute anyway you want, if you need to
do maintenance/add more registrars you just edit dispatcher.list and
reload them on the edge.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio stop processing SIP

2016-09-30 Thread Igor Potjevlesch
Hello,

 

Someone has an idea?

Again, Kamailio stop processing SIP during more than 30s. Nothing print in
the logs.

 

The processing back on when a script detect no answer and restart the
service.

Regards,

 

Igor.

 

De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] 
Envoyé : vendredi 23 septembre 2016 11:05
À : sr-users@lists.sip-router.org
Objet : Dimension number of child

 

Hello,

 

I'm wondering if there's a best practise to dimension the number of child to
setup?

 

I see, very often, Kamailio that stops to reply to SIP traffic for couple a
seconds. This cause some calls drop if RE-INVITE are not processed for
example.

 

So, I'm wondering if the issue is not due to a lack of child for processing
the SIP traffic.

 

Thank you for your inputs.

Regards,

 

Igor.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio stop processing SIP

2016-09-30 Thread Aqs Younas
You need to increase the number of child. What is current CPS?

On 30 September 2016 at 14:34, Igor Potjevlesch 
wrote:

> Hello,
>
>
>
> Someone has an idea?
>
> Again, Kamailio stop processing SIP during more than 30s. Nothing print in
> the logs.
>
>
>
> The processing back on when a script detect no answer and restart the
> service.
>
> Regards,
>
>
>
> Igor.
>
>
>
> *De :* Igor Potjevlesch [mailto:igor.potjevle...@gmail.com]
> *Envoyé :* vendredi 23 septembre 2016 11:05
> *À :* sr-users@lists.sip-router.org
> *Objet :* Dimension number of child
>
>
>
> Hello,
>
>
>
> I'm wondering if there's a best practise to dimension the number of child
> to setup?
>
>
>
> I see, very often, Kamailio that stops to reply to SIP traffic for couple
> a seconds. This cause some calls drop if RE-INVITE are not processed for
> example.
>
>
>
> So, I'm wondering if the issue is not due to a lack of child for
> processing the SIP traffic.
>
>
>
> Thank you for your inputs.
>
> Regards,
>
>
>
> Igor.
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] ims_charging state machine issue

2016-09-30 Thread 4fba81+8i7felu07050
Wanted to ask about changing rates while a call is not yet connected.

I did this,

$var(cc_ret1) = Ro_CCR_Stop("term", "487", "Request Terminated");
$var(cc_ret2) = Ro_CCR("RO_REPLY", "term", 30, "1", "1");

however, upon sending the new CCR, i get this

ERROR: cdp [acctstatemachine.c:185]: cc_acc_client_stateful_sm_process(): 
Received unknown event [1] in state [1]

and

CRITICAL: ims_charging [ro_timer.c:122]: insert_ro_timer(): Trying to insert a 
bogus ro tl=0x7f484ab48728 tl->next=0x7f484ab42858 tl->prev=0x7f484aaa1090


looks like there is some statemachine issue.
question is, how do we change rate?






Sent using GuerrillaMail.com
Block or report abuse: 
https://www.guerrillamail.com/abuse/?a=UlM5EB4FUac1hAen5G1RYR3XANifx8NV1epNbtg%3D




___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Call forking priority

2016-09-30 Thread Igor Potjevlesch
In the two proxys? What would the value q be? as permanent contacts is with
an expiring date in 2080 for example no?

2016-09-28 17:58 GMT+02:00 Juha Heinanen :

> Igor Potjevlesch writes:
>
> > I have a proxy that manage fix calls and a proxy that manage mobile
> calls.
> > I want to implement call forking so when I call to a fix phone the call
> goes
> > to the fix proxy and it forks to the mobile proxy who manage the call and
> > viceversa. I want the fix to ring 2 or 3 times before the mobile.
> >
> > In order to do so I relay first to the fixed proxy, which will bounce
> back
> > to mobile proxy the branch for mobile device.
> >
> > But now if I want to be able to choose which phone (mobile or fixe) rings
> > before I have tried by doing the "async_route("RELAY", "7");" in the fixe
> > proxy like in the mobile proxy but it doesn't work.
>
> One possibility might be to add the two phones to location table as
> permanent contacts with desired q values.
>
> -- Juha
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Migrating from OpenSER config file question.

2016-09-30 Thread Brian McCrary
Hello group,

I know this may be hard to believe but I'm in the process of upgrading 
an old, but stable, OpenSER 1.0 group of servers to Kamilio.  I'm 
basically going to sort of start from scratch with the database and 
export my old MySQL database and write some scripts to reimport the data 
using kamctl scripts since the database structure has changed 
substantially since then it looks like.

I've mostly migrated the config file over fairly easily, except for 
AVPops.  I've got a section of config file that writes into the 
usr_preferences database for call forwarding, but I seem to get the same 
error anywhere I try to write to the database using AVPops.  Here's the 
output I get when checking the config:

 0(1378) DEBUG:  [pvapi.c:268]: pv_cache_add(): PV cache not initialized, 
doing it now
 0(1378) ERROR:  [pvapi.c:828]: pv_parse_spec2(): error searching pvar 
"avp"
 0(1378) ERROR:  [pvapi.c:1032]: pv_parse_spec2(): wrong char [s/115] in 
[$avp(s:callfwd)] at [5 (5)]
 0(1378) :  [cfg.y:3368]: yyerror_at(): parse error in config file 
/usr/local/etc/kamailio/kamailio.cfg, line 145, column 4-18: Can't get from 
cache: $avp(s:callfwd)
ERROR: bad config file (1 errors)

Here's what I think are the revelant portions of the config file:

modparam("avpops", "db_url", "mysql://user:pass@localhost/kamailio")
modparam("avpops", "avp_table", "usr_preferences")
modparam("avpops", "uuid_column", "uuid")
modparam("avpops", "username_column", "username")
modparam("avpops", "domain_column", "domain")
modparam("avpops", "attribute_column", "attribute")
modparam("avpops", "value_column", "value")
modparam("avpops", "type_column", "type")

if (avp_db_load("$from/username", "$avp(s:callfwd)"))
{
if(!avp_db_delete("$from/username", 
"$avp(s:callfwd)/usr_preferences"))
{
sl_send_reply("500", "Server DB 
error");}
}

#   avp_write("$ruri","$avp(s:callfwd)"); # Old OpenSER 1.0 
syntax...
$avp(s:callfwd) = $ruri; # New Kamailio syntax ??

avp_db_store("$from/username","$avp(s:callfwd)/usr_preferences");
t_relay();
return;

Basically I just want to write the ruri into the usr_preferences 
database with an attribute of callfwd but not sure what I'm missing.  I 
see the error "Can't get from cache" but not sure how that pertains to 
what I'm trying to do.  Anyone have any ideas?

Thanks,

Brian

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Proxy unable to connect - 420 Bad Extension error

2016-09-30 Thread Infinicalls Infinicalls
Hi,
 I have setup a proxy and able to connect to the registrar. However,
after a few attempts, it throws the

"420:Bad Extension" error, saying

"Unsupported: path.
Path: .
Supported: outbound.
P-Registrar-Error: No support for found Path indicated."

Any idea, how to overcome this ? 10.1.0.4 is not my IP anywhere. I
don;t know where it takes that value from.

Thanks.

regards
Ganesh Kumar

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Proxy unable to connect - 420 Bad Extension error

2016-09-30 Thread Infinicalls Infinicalls
Hi,

After changing

modparam("registrar", "use_path", 0)

in the registrar, it connects. But I am unable to make/receive calls.
It throws an "SIP/2.0 500 I'm terribly sorry, server error occurred
(1/SL)." error. Any idea?

thanks

regards
Ganesh Kumar



On 10/1/16, Infinicalls Infinicalls  wrote:
> Hi,
>  I have setup a proxy and able to connect to the registrar. However,
> after a few attempts, it throws the
>
> "420:Bad Extension" error, saying
>
> "Unsupported: path.
> Path: .
> Supported: outbound.
> P-Registrar-Error: No support for found Path indicated."
>
> Any idea, how to overcome this ? 10.1.0.4 is not my IP anywhere. I
> don;t know where it takes that value from.
>
> Thanks.
>
> regards
> Ganesh Kumar
>


-- 
---
http://www.infinicalls.com

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Sip Proxy server_kamailio Features

2016-09-30 Thread Surender Singh
Hello,

Thanks to all to develop the such type  Sip Proxy server.

Please suggest whether  SIP proxy server is open source ,If yes than it can 
fulfil the my below requirement .


1)  I having some sip clients which are registered on IMS .Can I use the 
kamailio Sip proxy sever between sip client and IMS.



Sip client --Kamailio Sip Proxy ---IMS


2)  Second things, can I use Kamailio Sip Proxy to interconnect two IMS 
nodes . Can I create the SIP trunk without registration mode (username and 
password) between IMS nodes using Kamailio. Because the my IMS node doesn't 
support sip trunk in registration mode. Its support one normal trunk (SIP-T)

My current IMS set up like below.



IMS-1 (IBCF)---IMS2(IBCF).

Regards
Surender Singh











::DISCLAIMER::


The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on 
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written 
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please 
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users