Re: [OpenSIPS-Users] Weird behaviour in B2BUA with provisional media

2020-12-17 Thread Johan De Clercq
Opensips is not a full b2b, use something else for refer

On Thu, Dec 17, 2020, 12:25 Virgílio Cunha  wrote:

> Hello everyone,
>
> I have a problem in B2B behaviour with provisional media configured.
>
> In my scenario, I have a call to a call center that transfers the call
> (REFER) to another one. So, as I have a provisional media configured, a new
> SIP leg is generated by B2B between the user terminal and the media server
> until the call center answers it.
>
> Up to this point the call doesn't show any problem, but if the user
> terminal does a reINVITE to negotiate the SDP, I see weird behaviour.
>
> In the provisional media SIP leg, everything seems right. The media server
> answers to the reINVITE with 200 OK, but the 200 OK never was generated by
> B2B on the terminal SIP leg, instead of it I saw a new ACK forwarded to the
> user terminal (should be a 200 OK) and the B2B generates a new SIP leg to
> same call center referred previously.
>
> Why was a new SIP leg generated to the referred destination? If there's
> not any reinvite from the user terminal the REFER scenario doesn't have any
> problem.
>
> Does anyone know if this behavior was fixed in the latest version?
> Is there any additional configuration that I can do to fix this behaviour?
>
> I am currently using opensips 3.0.2.
>
> Best Regards,
> Virgílio Cunha
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Need some help while configuring opensips 3.1 with homer 7 .

2020-12-17 Thread Sasmita Panda
Hi Lorenzo ,

I was just following your video  tutorial of 2020 opensips summit for Homer
integration .

I am facing some issue while setting up docker with influxdb




* hom7-influx-tick]# docker-compose up -dERROR: yaml.parser.ParserError:
while parsing a block collection  in "./docker-compose.yml", line 136,
column 7expected , but found ''  in
"./docker-compose.yml", line 154, column 9*

*How to solve this ? *

I have installed Homer through docker successfully with prometheus .
I have attached the output of docker ps command .

I have allowed 9080/tcp traffic from everywhere .

When I am hitting http://public_ip:9080 on my browser the output is

*This site can't be reachable . *

*How I will solve this problem? Please help me . *


.



*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*


homer-docker
Description: Binary data
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Weird behaviour in B2BUA with provisional media

2020-12-17 Thread Virgílio Cunha
Hello everyone,

I have a problem in B2B behaviour with provisional media configured.

In my scenario, I have a call to a call center that transfers the call
(REFER) to another one. So, as I have a provisional media configured, a new
SIP leg is generated by B2B between the user terminal and the media server
until the call center answers it.

Up to this point the call doesn't show any problem, but if the user
terminal does a reINVITE to negotiate the SDP, I see weird behaviour.

In the provisional media SIP leg, everything seems right. The media server
answers to the reINVITE with 200 OK, but the 200 OK never was generated by
B2B on the terminal SIP leg, instead of it I saw a new ACK forwarded to the
user terminal (should be a 200 OK) and the B2B generates a new SIP leg to
same call center referred previously.

Why was a new SIP leg generated to the referred destination? If there's not
any reinvite from the user terminal the REFER scenario doesn't have any
problem.

Does anyone know if this behavior was fixed in the latest version?
Is there any additional configuration that I can do to fix this behaviour?

I am currently using opensips 3.0.2.

Best Regards,
Virgílio Cunha
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Quality Routing Module in Opensips_3.1

2020-12-17 Thread Saurabh Chopra
Hi All,

I want to test the new quality routing module, previously i have tested the
dynamic routing and it works for me. But somehow, qrouting module is not
running as per my expectation. My understanding is qrouting module helps us
to choose a better gateway at run time as per statistics like ASR,PDD,AST
etc. I took two asterisk gateways
1:- 162.243.XX.XXX
2:- 104.131.XXX.XXX

I have deliberately given 15sec wait on 104.131.XXX.XXX asterisk after this
it will send 200 OK response for the call. So as per qrouting module, AST
statistics for 104.131.XXX.XXX gateway would somewhat be lower than this
162.243.XX.XXX.

So,I am expecting the call should mostly be reached to 162.243.XX.XXX
gateway instead of 104.131.XXX.XXX, but this is not happening as calls are
reaching to 104.131.XXX.XXX gateway which has poor statistics i.e AST.

*Configuration done at mysql is given below:-*
mysql> select * from dr_rules;
++-++-+--+-+---+--+--+---++
| ruleid | groupid | prefix | timerec | priority | routeid | gwlist |
sort_alg | sort_profile | attrs | description|
++-++-+--+-+---+--+--+---++
|  1 | 1   || |0 | | gw2=50,gw1=50
| Q|1 |   | XXX_gateway |
++-++-+--+-+---+--+--+---++
1 row in set (0.00 sec)

mysql> select * from dr_gateways;
++--+--+--+---++---++---++--+
| id | gwid | type | address  | strip | pri_prefix | attrs |
probe_mode | state | socket | description |
++--+--+--+---++---++---++--+
|  1 | gw1  |3 | 162.243.XX.XXX:5080  | 0 || NULL  |
   0 | 0 | NULL   | 0|
|  2 | gw2  |3 | 104.131.XXX.XXX:5080 | 0 || NULL  |
   0 | 0 | NULL   | testing gateway2 |
++--+--+--+---++---++---++--+


*Configuration for loading qrouting module in opensips script is below:-*
loadmodule "qrouting.so"
modparam("qrouting", "db_url", "mysql://root:cccl0g1c@localhost/opensips")
modparam("qrouting", "algorithm", "best-dest-first")
modparam("qrouting", "history_span", 5)
modparam("qrouting", "table_name", "qr_profiles")
modparam("qrouting", "min_samples_pdd", 0)
modparam("qrouting", "min_samples_ast", 0)

Kindly help so that i can test this module successfully. Waiting for prompt
response

Best Regards
Saurabh Chopra
+918861979979
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users