[SR-Users] Re: Too many 200:OK sip responses

2023-01-05 Thread Waqar 40
Yes. The ACK is missing. Kamailio does not receive 200:OK from calling
points for these calls. How can I identify these calls which are in session
and was in a ringing state? I want to delete their data from the database.

On Thu, Jan 5, 2023 at 1:03 PM Olle E. Johansson  wrote:

>
>
> > On 5 Jan 2023, at 07:06, Waqar 40  wrote:
> >
> > Dear All,
> >
> > For a normal call, Kamailio receives 200:OK sip response for the method
> invite only once but for some calls, it receives 200:OK too many times
> around 6 to 7. And I also do not receive BYE or any other packets for this
> kind of call. How can I detect such calls in Kamailio and cancel them? I am
> inserting data of the calls in the database when the call occurs and
> deleting it when BYE is received but for these calls as I don't receive BYE
> so I am unable to delete the record of such calls.
> The 200 OK is retransmitted until an ACK is received. You have a routing
> problem somewhere.
>
> > Is there a way to detect such calls? Like How can I count if the number
> of 200:OK responses is more than one or anything like that?
> The problem is not the number of 200 Ok but the missing ACK. Does the 200
> OK reach the calling end point? Does it transmit an ACK? Is that received
> by Kamailio?
>
> /O
>
> __
> Kamailio - Users Mailing List - Non Commercial Discussions
> To unsubscribe send an email to sr-users-le...@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] Too many 200:OK sip responses

2023-01-04 Thread Waqar 40
Dear All,

For a normal call, Kamailio receives 200:OK sip response for the method
invite only once but for some calls, it receives 200:OK too many times
around 6 to 7. And I also do not receive BYE or any other packets for this
kind of call. How can I detect such calls in Kamailio and cancel them? I am
inserting data of the calls in the database when the call occurs and
deleting it when BYE is received but for these calls as I don't receive BYE
so I am unable to delete the record of such calls.
Is there a way to detect such calls? Like How can I count if the number of
200:OK responses is more than one or anything like that?

Regards
Vicky
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] ACK received instead of Status Code

2022-12-25 Thread Waqar 40
Dear All,
Attached in this email, is the screenshot of Kamailio logs for a call that
did not originate. When Kamailio sends the call to the media destination
which is an asterisk server, it should start sending status codes 100, 183,
and 180 but instead, it sends ACK and the call did not originate. This
happens only for some calls and I want to know why this is happening. Also,
I want to identify these cases and do some further logic like trying some
other media destination.
How can I do that?
[image: image.png]
Regards,
Vicky
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] Kamailio Lagging or Unreachable in Asterisk Peer

2022-12-22 Thread Waqar 40
Dear All,

I have three Kamailio in my production environment and I have written some
code in Kamailio.cfg using SqlOps to insert data into the database on
another remote server for every call. I deployed the code in one of the
Kamailio and it inserted data perfectly fine into the database but as soon
as I deployed it in the other two Kamailios. All three Kamailio's become
unreachable or lagging in asterisk. I don't know if it has anything to do
with SqlOps or queries being stuck somewhere as I am receiving logs
consistently for every call in Kamailios.
How can I identify if the queries are being stuck somewhere and that is why
Kamailio is unreachable or lagging? Calls are not dependent on that
database, this I know because even if I stop the mysql service calls will
still be dialed. If it is due to the SqlOps, is there any other way to save
information on every call without Kamailio being stuck?
Regards
VIcky
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


Re: [SR-Users] Database Failure Detection at runtime

2022-12-05 Thread Waqar 40
This module only provides redundancy. I want to check at runtime if the
database connection is failed. I want to add different kind of data into
the remote database if the connection of the main database is failed.



On Mon, Dec 5, 2022 at 9:22 PM Kaufman  wrote:

> DB_CLUSTER module, perhaps?
>
>
>
> *Kaufman*
>
>
>
> *From:* sr-users  * On Behalf Of *Waqar
> 40
> *Sent:* Monday, December 5, 2022 6:49 AM
> *To:* Kamailio (SER) - Users Mailing List 
> *Subject:* [SR-Users] Database Failure Detection at runtime
>
>
>
> Hello Everyone,
>
>
>
> I am using Kamailio sqlops module to write to a remote database which is
> not the database of Kamailio. It is working fine. But for redundancy
> purpose, if this database goes down, I want the Kamailio to detect the
> failure at runtime and write the data to another database (standby
> database).
> Is it possible? Can anybody please guide me on this asap?
>
>
>
> Regards,
>
> Vicky
> __
> Kamailio - Users Mailing List - Non Commercial Discussions
> sr-users@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
__
Kamailio - Users Mailing List - Non Commercial Discussions
sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Database Failure Detection at runtime

2022-12-05 Thread Waqar 40
Hello Everyone,

I am using Kamailio sqlops module to write to a remote database which is
not the database of Kamailio. It is working fine. But for redundancy
purpose, if this database goes down, I want the Kamailio to detect the
failure at runtime and write the data to another database (standby
database).
Is it possible? Can anybody please guide me on this asap?

Regards,
Vicky
__
Kamailio - Users Mailing List - Non Commercial Discussions
sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Sharing Database between three kamailios

2022-07-28 Thread Waqar 40
I have three Kamailios in three different servers which are dispatching
calls to 9 asterisks in three different servers using load balancing. All
these Kamailios are using databases installed on that servers. As the
entries of the dispatcher table are the same for all the Kamailio, so I
want that these Kamailio use a single database installed on one of the
servers. All these Kamailios instances should use the same database which
is common between them. And also I want these Kamailios to write into the
database by creating a table that stores all the active calls in three
Kamailios. Is it possible? How can I do it? Please guide me with
somewhat explanation as I am not this much expert in Kamailio.

Waiting for a quick response.
Regards
VoIP Engineer Vicky
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Need Suggestion/Idea to set call limit on 3 kamailios.

2022-07-13 Thread Waqar 40
Can you please elaborate a little bit? I am kind of new to Kamailio. If you
can refer me to some examples that will be very helpful.

Thanks

On Wed, Jul 13, 2022 at 11:11 AM Patrick Karton 
wrote:

> Use dialog module with dmq.
> Profiles are propagated in each instance.
>
> Le 13 juil. 2022 05:56, Waqar 40  a écrit :
>
> Please Read the Scenario in full and then guide me.
> In my scenario, I have three Kamailio (KamA, KamB, KamC) running in
> production. They do load balancing for the asterisks which are about 9.
> Kamailios randomly receive calls from the SIP trunk. I have set the limit
> of 750 calls on each kamailios. I want to provide only 1000 Calls to my
> client but they are enjoying calls more than this since each kamailio can
> receive 750 calls (I have set this limit for redundancy purpose). And I
> cannot set the limit like 750 on KamA and the rest on KamB and KamC for
> redundancy purposes. If one kamailio goes down then they send calls on the
> other kamailios so that no call drops. So, I want to know if there is a
> module or a way that my redundancy is not affected and I limit total calls
> on the three kamailios to not exceed 1000. Waiting for a prompt response.
>
> Let me know if you need any further information.
>
> Regards,
> Vicky
>
>
> __
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Need Suggestion/Idea to set call limit on 3 kamailios.

2022-07-12 Thread Waqar 40
Please Read the Scenario in full and then guide me.
In my scenario, I have three Kamailio (KamA, KamB, KamC) running in
production. They do load balancing for the asterisks which are about 9.
Kamailios randomly receive calls from the SIP trunk. I have set the limit
of 750 calls on each kamailios. I want to provide only 1000 Calls to my
client but they are enjoying calls more than this since each kamailio can
receive 750 calls (I have set this limit for redundancy purpose). And I
cannot set the limit like 750 on KamA and the rest on KamB and KamC for
redundancy purposes. If one kamailio goes down then they send calls on the
other kamailios so that no call drops. So, I want to know if there is a
module or a way that my redundancy is not affected and I limit total calls
on the three kamailios to not exceed 1000. Waiting for a prompt response.

Let me know if you need any further information.

Regards,
Vicky
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users