calls have max call duration

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

calls have max call duration

M.Khaled W Chehab

Dears,

 

How to drop  the call  when a cancel received from UA and a 200 OK from the trunk in the same second, note back the client cdr will be a canceled call and the trunk cdr will be 1 sec duration but on my cdr its the max daialog  timeout duration

 

I am searching for a  solution for this since two weeks as I tried all trick I know and all didn’t succeed ,

Find attached the scenario I have problem with, which you can find it at  wireshark time line (30.877027)  the Client with IP ( 74.114.101.170) sends  a cancel ,and the opensips version 1.8.2  server with IP 89.207.133.144   send the client 200 canceling and  in its terms forward the cancel to the trunk provider with IP 74.114.101.190 ,but at 31.015333 wireshark time line the trunk sends a 200 OK  then 487 request terminated  and the billing stops from the trunk provider  .

The problem is my opensips with IP 89.207.133.144 didn’t hangup the call and go for the max call duration in the dialog module .

-how to let opensips cancel the call immediately  and stop it with no billing .

Please find attached my opensips.cfg configuration file

 

Regards

 

 

Khaled Chehab

Senior NGN Engineer

Description: icucall

Operations Office - Lebanon

Office    : +961 1 515155 ext 300

Mobile  : +961 3 045212

E-mail    : [hidden email]

MSN ID :[hidden email]

Skype    : k_chehab

Web Site: http://www.icucall.com

                     http://www.allohi.com

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

capture+config.zip (14K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: calls have max call duration

Muhammad Shahzad
Your opensips config is pretty messed up and hard to read. So, while i try to read it to find the problem, as a workaround you should set RTP timeouts in your mediaproxy configuration file (i.e. config.ini), e.g.

stream_timeout = 30
on_hold_timeout = 1800

This will result in automatic call hangup if there is no media for at least 30 seconds. This will reduce wrong billing problem to 30 seconds, and your customer's balance will not be exhausted completely. Similarly if call is on hold for more then 30 minutes and no media is transferred during this time (not even music on hold) then call will hangup (change this timeout to whatever appropriate for you).

Thank you.


On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab <[hidden email]> wrote:

Dears,

 

How to drop  the call  when a cancel received from UA and a 200 OK from the trunk in the same second, note back the client cdr will be a canceled call and the trunk cdr will be 1 sec duration but on my cdr its the max daialog  timeout duration

 

I am searching for a  solution for this since two weeks as I tried all trick I know and all didn’t succeed ,

Find attached the scenario I have problem with, which you can find it at  wireshark time line (30.877027)  the Client with IP ( 74.114.101.170) sends  a cancel ,and the opensips version 1.8.2  server with IP 89.207.133.144   send the client 200 canceling and  in its terms forward the cancel to the trunk provider with IP 74.114.101.190 ,but at 31.015333 wireshark time line the trunk sends a 200 OK  then 487 request terminated  and the billing stops from the trunk provider  .

The problem is my opensips with IP 89.207.133.144 didn’t hangup the call and go for the max call duration in the dialog module .

-how to let opensips cancel the call immediately  and stop it with no billing .

Please find attached my opensips.cfg configuration file

 

Regards

 

 

Khaled Chehab

Senior NGN Engineer

Description: icucall

Operations Office - Lebanon

Office    : <a href="tel:%2B961%201%20515155%20ext%20300" value="+9611515155" target="_blank">+961 1 515155 ext 300

Mobile  : <a href="tel:%2B961%203%20045212" value="+9613045212" target="_blank">+961 3 045212

E-mail    : [hidden email]

MSN ID :[hidden email]

Skype    : k_chehab

Web Site: http://www.icucall.com

                     http://www.allohi.com

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: calls have max call duration

M.Khaled W Chehab

Dears,

 

Thanks for your kindly reply, and I will try to arrange my opensips configuration file  and send it back if the media configuration didn’t solve this problem  ,

BTW I am using  a mix between a residential and trunking script  ,do you have a config tested  having a permission ,routing  dialplan  module tested  for small carrier level ,you can send me a copy of it  .

My old config mediaproxy was

stream_timeout = 90

on_hold_timeout = 3540

so set it now to

stream_timeout = 30

on_hold_timeout = 600

 

I will  monitor it now  and inform you about the result , but my question is ,is there a solution using signaling  function I can implement ?

 

 

Regards

 

 

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Muhammad Shahzad
Sent: Friday, November 16, 2012 5:01 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Your opensips config is pretty messed up and hard to read. So, while i try to read it to find the problem, as a workaround you should set RTP timeouts in your mediaproxy configuration file (i.e. config.ini), e.g.

 

stream_timeout = 30

on_hold_timeout = 1800

This will result in automatic call hangup if there is no media for at least 30 seconds. This will reduce wrong billing problem to 30 seconds, and your customer's balance will not be exhausted completely. Similarly if call is on hold for more then 30 minutes and no media is transferred during this time (not even music on hold) then call will hangup (change this timeout to whatever appropriate for you).

 

Thank you.

 

On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab <[hidden email]> wrote:

Dears,

 

How to drop  the call  when a cancel received from UA and a 200 OK from the trunk in the same second, note back the client cdr will be a canceled call and the trunk cdr will be 1 sec duration but on my cdr its the max daialog  timeout duration

 

I am searching for a  solution for this since two weeks as I tried all trick I know and all didn’t succeed ,

Find attached the scenario I have problem with, which you can find it at  wireshark time line (30.877027)  the Client with IP ( 74.114.101.170) sends  a cancel ,and the opensips version 1.8.2  server with IP 89.207.133.144   send the client 200 canceling and  in its terms forward the cancel to the trunk provider with IP 74.114.101.190 ,but at 31.015333 wireshark time line the trunk sends a 200 OK  then 487 request terminated  and the billing stops from the trunk provider  .

The problem is my opensips with IP 89.207.133.144 didn’t hangup the call and go for the max call duration in the dialog module .

-how to let opensips cancel the call immediately  and stop it with no billing .

Please find attached my opensips.cfg configuration file

 

Regards

 

 

Khaled Chehab

Senior NGN Engineer

Description: icucall

Operations Office - Lebanon

Office    : <a href="tel:%2B961%201%20515155%20ext%20300" target="_blank">+961 1 515155 ext 300

Mobile  : <a href="tel:%2B961%203%20045212" target="_blank">+961 3 045212

E-mail    : [hidden email]

MSN ID :[hidden email]

Skype    : k_chehab

Web Site: http://www.icucall.com

                     http://www.allohi.com

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



 

--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: calls have max call duration

M.Khaled W Chehab

dears,

the mediaproxy timeout didnt.suceed any more ideas?

Regards

Sent from my android device.



-----Original Message-----
From: "M.Khaled W Chehab" <[hidden email]>
To: 'OpenSIPS users mailling list' <[hidden email]>
Sent: Fri, 16 Nov 2012 5:18 PM
Subject: Re: [OpenSIPS-Users] calls have max call duration

Dears,

 

Thanks for your kindly reply, and I will try to arrange my opensips configuration file  and send it back if the media configuration didn’t solve this problem  ,

BTW I am using  a mix between a residential and trunking script  ,do you have a config tested  having a permission ,routing  dialplan  module tested  for small carrier level ,you can send me a copy of it  .

My old config mediaproxy was

stream_timeout = 90

on_hold_timeout = 3540

so set it now to

stream_timeout = 30

on_hold_timeout = 600

 

I will  monitor it now  and inform you about the result , but my question is ,is there a solution using signaling  function I can implement ?

 

 

Regards

 

 

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Muhammad Shahzad
Sent: Friday, November 16, 2012 5:01 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Your opensips config is pretty messed up and hard to read. So, while i try to read it to find the problem, as a workaround you should set RTP timeouts in your mediaproxy configuration file (i.e. config.ini), e.g.

 

stream_timeout = 30

on_hold_timeout = 1800

This will result in automatic call hangup if there is no media for at least 30 seconds. This will reduce wrong billing problem to 30 seconds, and your customer's balance will not be exhausted completely. Similarly if call is on hold for more then 30 minutes and no media is transferred during this time (not even music on hold) then call will hangup (change this timeout to whatever appropriate for you).

 

Thank you.

 

On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab <[hidden email]> wrote:

Dears,

 

How to drop  the call  when a cancel received from UA and a 200 OK from the trunk in the same second, note back the client cdr will be a canceled call and the trunk cdr will be 1 sec duration but on my cdr its the max daialog  timeout duration

 

I am searching for a  solution for this since two weeks as I tried all trick I know and all didn’t succeed ,

Find attached the scenario I have problem with, which you can find it at  wireshark time line (30.877027)  the Client with IP ( 74.114.101.170) sends  a cancel ,and the opensips version 1.8.2  server with IP 89.207.133.144   send the client 200 canceling and  in its terms forward the cancel to the trunk provider with IP 74.114.101.190 ,but at 31.015333 wireshark time line the trunk sends a 200 OK  then 487 request terminated  and the billing stops from the trunk provider  .

The problem is my opensips with IP 89.207.133.144 didn’t hangup the call and go for the max call duration in the dialog module .

-how to let opensips cancel the call immediately  and stop it with no billing .

Please find attached my opensips.cfg configuration file

 

Regards

 

 

Khaled Chehab

Senior NGN Engineer

Description: icucall

Operations Office - Lebanon

Office    : <a href="tel:%2B961%201%20515155%20ext%20300" target="_blank">+961 1 515155 ext 300

Mobile  : <a href="tel:%2B961%203%20045212" target="_blank">+961 3 045212

E-mail    : [hidden email]

MSN ID :[hidden email]

Skype    : k_chehab

Web Site: http://www.icucall.com

                     http://www.allohi.com

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



 

--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: calls have max call duration

Muhammad Shahzad
humm, how can this be? It always works. Something is really weird going on in your opensips configuration.

OK, let me prepare an alternative configuration for you and send you in 2-3 hours.

BTW, you can call me Muhammad.

Thank you.


On Sun, Nov 18, 2012 at 12:34 AM, M. KHaled W. Chehab <[hidden email]> wrote:

dears,

the mediaproxy timeout didnt.suceed any more ideas?

Regards

Sent from my android device.



-----Original Message-----
From: "M.Khaled W Chehab" <[hidden email]>
To: 'OpenSIPS users mailling list' <[hidden email]>
Sent: Fri, 16 Nov 2012 5:18 PM
Subject: Re: [OpenSIPS-Users] calls have max call duration

Dears,

 

Thanks for your kindly reply, and I will try to arrange my opensips configuration file  and send it back if the media configuration didn’t solve this problem  ,

BTW I am using  a mix between a residential and trunking script  ,do you have a config tested  having a permission ,routing  dialplan  module tested  for small carrier level ,you can send me a copy of it  .

My old config mediaproxy was

stream_timeout = 90

on_hold_timeout = 3540

so set it now to

stream_timeout = 30

on_hold_timeout = 600

 

I will  monitor it now  and inform you about the result , but my question is ,is there a solution using signaling  function I can implement ?

 

 

Regards

 

 

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Muhammad Shahzad
Sent: Friday, November 16, 2012 5:01 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Your opensips config is pretty messed up and hard to read. So, while i try to read it to find the problem, as a workaround you should set RTP timeouts in your mediaproxy configuration file (i.e. config.ini), e.g.

 

stream_timeout = 30

on_hold_timeout = 1800

This will result in automatic call hangup if there is no media for at least 30 seconds. This will reduce wrong billing problem to 30 seconds, and your customer's balance will not be exhausted completely. Similarly if call is on hold for more then 30 minutes and no media is transferred during this time (not even music on hold) then call will hangup (change this timeout to whatever appropriate for you).

 

Thank you.

 

On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab <[hidden email]> wrote:

Dears,

 

How to drop  the call  when a cancel received from UA and a 200 OK from the trunk in the same second, note back the client cdr will be a canceled call and the trunk cdr will be 1 sec duration but on my cdr its the max daialog  timeout duration

 

I am searching for a  solution for this since two weeks as I tried all trick I know and all didn’t succeed ,

Find attached the scenario I have problem with, which you can find it at  wireshark time line (30.877027)  the Client with IP ( 74.114.101.170) sends  a cancel ,and the opensips version 1.8.2  server with IP 89.207.133.144   send the client 200 canceling and  in its terms forward the cancel to the trunk provider with IP 74.114.101.190 ,but at 31.015333 wireshark time line the trunk sends a 200 OK  then 487 request terminated  and the billing stops from the trunk provider  .

The problem is my opensips with IP 89.207.133.144 didn’t hangup the call and go for the max call duration in the dialog module .

-how to let opensips cancel the call immediately  and stop it with no billing .

Please find attached my opensips.cfg configuration file

 

Regards

 

 

Khaled Chehab

Senior NGN Engineer

Description: icucall

Operations Office - Lebanon

Office    : <a href="tel:%2B961%201%20515155%20ext%20300" target="_blank">+961 1 515155 ext 300

Mobile  : <a href="tel:%2B961%203%20045212" target="_blank">+961 3 045212

E-mail    : [hidden email]

MSN ID :[hidden email]

Skype    : k_chehab

Web Site: http://www.icucall.com

                     http://www.allohi.com

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



 

--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: <a href="tel:%2B49%20176%2099%2083%2010%2085" value="+4917699831085" target="_blank">+49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: calls have max call duration

M.Khaled W Chehab

Thank Mohammad,

really appriciated.
waiting your script.

khaled chehab

Sent from my android device.



-----Original Message-----
From: Muhammad Shahzad <[hidden email]>
To: OpenSIPS users mailling list <[hidden email]>
Sent: Sun, 18 Nov 2012 4:45 PM
Subject: Re: [OpenSIPS-Users] calls have max call duration

humm, how can this be? It always works. Something is really weird going on
in your opensips configuration.

OK, let me prepare an alternative configuration for you and send you in 2-3
hours.

BTW, you can call me Muhammad.

Thank you.


On Sun, Nov 18, 2012 at 12:34 AM, M. KHaled W. Chehab
<[hidden email]>wrote:

> dears,
>
> the mediaproxy timeout didnt.suceed any more ideas?
>
> Regards
>
> Sent from my android device.
>
>
>
> -----Original Message-----
> From: "M.Khaled W Chehab" <[hidden email]>
> To: 'OpenSIPS users mailling list' <[hidden email]>
> Sent: Fri, 16 Nov <a href="tel:20125">2012 5:18 PM
> Subject: Re: [OpenSIPS-Users] calls have max call duration
>
> Dears,****
>
> ** **
>
> Thanks for your kindly reply, and I will try to arrange my opensips
> configuration file  and send it back if the media configuration didn’t
> solve this problem  ,****
>
> BTW I am using  a mix between a residential and trunking script  ,do you
> have a config tested  having a permission ,routing  dialplan  module tested
>  for small carrier level ,you can send me a copy of it  .****
>
> ****
>
> My old config mediaproxy was ****
>
> stream_timeout = 90****
>
> on_hold_timeout = 3540****
>
> so set it now to ****
>
> stream_timeout = 30****
>
> on_hold_timeout = 600****
>
> ** **
>
> I will  monitor it now  and inform you about the result , but my question
> is ,is there a solution using signaling  function I can implement ?****
>
> ** **
>
> ** **
>
> Regards****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* [hidden email] [mailto:
> [hidden email]] *On Behalf Of *Muhammad Shahzad
> *Sent:* Friday, November 16, <a href="tel:20125">2012 5:01 PM
> *To:* OpenSIPS users mailling list
> *Subject:* Re: [OpenSIPS-Users] calls have max call duration****
>
> ** **
>
> Your opensips config is pretty messed up and hard to read. So, while i try
> to read it to find the problem, as a workaround you should set RTP timeouts
> in your mediaproxy configuration file (i.e. config.ini), e.g.****
>
> ** **
>
> stream_timeout = 30****
>
> on_hold_timeout = 1800
>
> This will result in automatic call hangup if there is no media for at
> least 30 seconds. This will reduce wrong billing problem to 30 seconds, and
> your customer's balance will not be exhausted completely. Similarly if call
> is on hold for more then 30 minutes and no media is transferred during this
> time (not even music on hold) then call will hangup (change this timeout to
> whatever appropriate for you).****
>
> ** **
>
> Thank you.****
>
> ** **
>
> On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab <[hidden email]>
> wrote:****
>
> Dears,****
>
>  ****
>
> How to drop  the call  when a cancel received from UA and a 200 OK from
> the trunk in the same second, note back the client cdr will be a canceled
> call and the trunk cdr will be 1 sec duration but on my cdr its the max
> daialog  timeout duration****
>
>  ****
>
> I am searching for a  solution for this since two weeks as I tried all
> trick I know and all didn’t succeed ,****
>
> Find attached the scenario I have problem with, which you can find it at
>  wireshark time line (<a href="tel:30877027">30.877027)  the Client with IP ( 74.114.101.170)
> sends  a cancel ,and the opensips version 1.8.2  server with IP
> 89.207.133.144   send the client 200 canceling and  in its terms forward
> the cancel to the trunk provider with IP 74.114.101.190 ,but at <a href="tel:31015333">31.015333
> wireshark time line the trunk sends a 200 OK  then 487 request terminated
>  and the billing stops from the trunk provider  .****
>
> The problem is my opensips with IP 89.207.133.144 didn’t hangup the call
> and go for the max call duration in the dialog module .****
>
> -how to let opensips cancel the call immediately  and stop it with no
> billing .****
>
> Please find attached my opensips.cfg configuration file ****
>
>  ****
>
> Regards****
>
>  ****
>
>  ****
>
> Khaled Chehab****
>
> Senior NGN Engineer****
>
> [image: Description: icucall]****
>
> Operations Office - Lebanon****
>
> Office    : <a href="tel:+9611515155">+961 1 515155 ext 300****
>
> Mobile  : <a href="tel:+9613045212">+961 3 045212****
>
> E-mail    : [hidden email]****
>
> MSN ID :[hidden email] ****
>
> Skype    : k_chehab ****
>
> Web Site: http://www.icucall.com****
>
>                      http://www.allohi.com****
>
>  ****
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users****
>


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: calls have max call duration

Muhammad Shahzad
Just send you modified configuration file in private email. Hope this works.

Let me know if you need any further assistance.

Thank you.


On Sun, Nov 18, 2012 at 4:54 PM, M. KHaled W. Chehab <[hidden email]> wrote:

Thank Mohammad,

really appriciated.
waiting your script.

khaled chehab

Sent from my android device.



-----Original Message-----
From: Muhammad Shahzad <[hidden email]>
To: OpenSIPS users mailling list <[hidden email]>
Sent: Sun, 18 Nov 2012 4:45 PM
Subject: Re: [OpenSIPS-Users] calls have max call duration

humm, how can this be? It always works. Something is really weird going on
in your opensips configuration.

OK, let me prepare an alternative configuration for you and send you in 2-3
hours.

BTW, you can call me Muhammad.

Thank you.


On Sun, Nov 18, 2012 at 12:34 AM, M. KHaled W. Chehab
<[hidden email]>wrote:

> dears,
>
> the mediaproxy timeout didnt.suceed any more ideas?
>
> Regards
>
> Sent from my android device.
>
>
>
> -----Original Message-----
> From: "M.Khaled W Chehab" <[hidden email]>
> To: 'OpenSIPS users mailling list' <[hidden email]>
> Sent: Fri, 16 Nov <a href="tel:20125" target="_blank">2012 5:18 PM
> Subject: Re: [OpenSIPS-Users] calls have max call duration
>
> Dears,****
>
> ** **
>
> Thanks for your kindly reply, and I will try to arrange my opensips
> configuration file  and send it back if the media configuration didn’t
> solve this problem  ,****
>
> BTW I am using  a mix between a residential and trunking script  ,do you
> have a config tested  having a permission ,routing  dialplan  module tested
>  for small carrier level ,you can send me a copy of it  .****
>
> ****
>
> My old config mediaproxy was ****
>
> stream_timeout = 90****
>
> on_hold_timeout = 3540****
>
> so set it now to ****
>
> stream_timeout = 30****
>
> on_hold_timeout = 600****
>
> ** **
>
> I will  monitor it now  and inform you about the result , but my question
> is ,is there a solution using signaling  function I can implement ?****
>
> ** **
>
> ** **
>
> Regards****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* [hidden email] [mailto:
> [hidden email]] *On Behalf Of *Muhammad Shahzad
> *Sent:* Friday, November 16, <a href="tel:20125" target="_blank">2012 5:01 PM
> *To:* OpenSIPS users mailling list
> *Subject:* Re: [OpenSIPS-Users] calls have max call duration****
>
> ** **
>
> Your opensips config is pretty messed up and hard to read. So, while i try
> to read it to find the problem, as a workaround you should set RTP timeouts
> in your mediaproxy configuration file (i.e. config.ini), e.g.****
>
> ** **
>
> stream_timeout = 30****
>
> on_hold_timeout = 1800
>
> This will result in automatic call hangup if there is no media for at
> least 30 seconds. This will reduce wrong billing problem to 30 seconds, and
> your customer's balance will not be exhausted completely. Similarly if call
> is on hold for more then 30 minutes and no media is transferred during this
> time (not even music on hold) then call will hangup (change this timeout to
> whatever appropriate for you).****
>
> ** **
>
> Thank you.****
>
> ** **
>
> On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab <[hidden email]>
> wrote:****
>
> Dears,****
>
>  ****
>
> How to drop  the call  when a cancel received from UA and a 200 OK from
> the trunk in the same second, note back the client cdr will be a canceled
> call and the trunk cdr will be 1 sec duration but on my cdr its the max
> daialog  timeout duration****
>
>  ****
>
> I am searching for a  solution for this since two weeks as I tried all
> trick I know and all didn’t succeed ,****
>
> Find attached the scenario I have problem with, which you can find it at
>  wireshark time line (<a href="tel:30877027" target="_blank">30.877027)  the Client with IP ( 74.114.101.170)
> sends  a cancel ,and the opensips version 1.8.2  server with IP
> 89.207.133.144   send the client 200 canceling and  in its terms forward
> the cancel to the trunk provider with IP 74.114.101.190 ,but at <a href="tel:31015333" target="_blank">31.015333
> wireshark time line the trunk sends a 200 OK  then 487 request terminated
>  and the billing stops from the trunk provider  .****
>
> The problem is my opensips with IP 89.207.133.144 didn’t hangup the call
> and go for the max call duration in the dialog module .****
>
> -how to let opensips cancel the call immediately  and stop it with no
> billing .****
>
> Please find attached my opensips.cfg configuration file ****
>
>  ****
>
> Regards****
>
>  ****
>
>  ****
>
> Khaled Chehab****
>
> Senior NGN Engineer****
>
> [image: Description: icucall]****
>
> Operations Office - Lebanon****
>
> Office    : <a href="tel:+9611515155" target="_blank">+961 1 515155 ext 300****
>
> Mobile  : <a href="tel:+9613045212" target="_blank">+961 3 045212****
>
> E-mail    : [hidden email]****
>
> MSN ID :[hidden email] ****
>
> Skype    : k_chehab ****
>
> Web Site: http://www.icucall.com****
>
>                      http://www.allohi.com****
>
>  ****
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users****
>


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: calls have max call duration

M.Khaled W Chehab

Mohammad,

 

There is no file attached ,kindly can you resend it .

 

 

Regards

Khaled

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Muhammad Shahzad
Sent: Sunday, November 18, 2012 9:38 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Just send you modified configuration file in private email. Hope this works.

Let me know if you need any further assistance.

Thank you.

On Sun, Nov 18, 2012 at 4:54 PM, M. KHaled W. Chehab <[hidden email]> wrote:

Thank Mohammad,

really appriciated.
waiting your script.

khaled chehab

Sent from my android device.



-----Original Message-----

From: Muhammad Shahzad <[hidden email]>
To: OpenSIPS users mailling list <[hidden email]>

Sent: Sun, 18 Nov 2012 4:45 PM
Subject: Re: [OpenSIPS-Users] calls have max call duration

humm, how can this be? It always works. Something is really weird going on
in your opensips configuration.

OK, let me prepare an alternative configuration for you and send you in 2-3
hours.

BTW, you can call me Muhammad.

Thank you.


On Sun, Nov 18, 2012 at 12:34 AM, M. KHaled W. Chehab
<[hidden email]>wrote:


> dears,
>
> the mediaproxy timeout didnt.suceed any more ideas?
>
> Regards
>
> Sent from my android device.
>
>
>
> -----Original Message-----
> From: "M.Khaled W Chehab" <[hidden email]>
> To: 'OpenSIPS users mailling list' <[hidden email]>
> Sent: Fri, 16 Nov <a href="tel:20125" target="_blank">2012 5:18 PM
> Subject: Re: [OpenSIPS-Users] calls have max call duration
>

> Dears,****
>
> ** **

>
> Thanks for your kindly reply, and I will try to arrange my opensips
> configuration file  and send it back if the media configuration didn’t

> solve this problem  ,****

>
> BTW I am using  a mix between a residential and trunking script  ,do you
> have a config tested  having a permission ,routing  dialplan  module tested

>  for small carrier level ,you can send me a copy of it  .****
>
> ****
>
> My old config mediaproxy was ****
>
> stream_timeout = 90****
>
> on_hold_timeout = 3540****
>
> so set it now to ****
>
> stream_timeout = 30****
>
> on_hold_timeout = 600****
>
> ** **

>
> I will  monitor it now  and inform you about the result , but my question

> is ,is there a solution using signaling  function I can implement ?****
>
> ** **
>
> ** **
>
> Regards****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* [hidden email] [mailto:
> [hidden email]] *On Behalf Of *Muhammad Shahzad
> *Sent:* Friday, November 16, <a href="tel:20125" target="_blank">2012 5:01 PM
> *To:* OpenSIPS users mailling list
> *Subject:* Re: [OpenSIPS-Users] calls have max call duration****
>
> ** **

>
> Your opensips config is pretty messed up and hard to read. So, while i try
> to read it to find the problem, as a workaround you should set RTP timeouts

> in your mediaproxy configuration file (i.e. config.ini), e.g.****
>
> ** **
>
> stream_timeout = 30****

>
> on_hold_timeout = 1800
>
> This will result in automatic call hangup if there is no media for at
> least 30 seconds. This will reduce wrong billing problem to 30 seconds, and
> your customer's balance will not be exhausted completely. Similarly if call
> is on hold for more then 30 minutes and no media is transferred during this
> time (not even music on hold) then call will hangup (change this timeout to

> whatever appropriate for you).****
>
> ** **
>
> Thank you.****
>
> ** **

>
> On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab <[hidden email]>

> wrote:****
>
> Dears,****
>
>  ****

>
> How to drop  the call  when a cancel received from UA and a 200 OK from
> the trunk in the same second, note back the client cdr will be a canceled
> call and the trunk cdr will be 1 sec duration but on my cdr its the max

> daialog  timeout duration****
>
>  ****

>
> I am searching for a  solution for this since two weeks as I tried all

> trick I know and all didn’t succeed ,****

>
> Find attached the scenario I have problem with, which you can find it at
>  wireshark time line (<a href="tel:30877027" target="_blank">30.877027)  the Client with IP ( 74.114.101.170)
> sends  a cancel ,and the opensips version 1.8.2  server with IP
> 89.207.133.144   send the client 200 canceling and  in its terms forward
> the cancel to the trunk provider with IP 74.114.101.190 ,but at <a href="tel:31015333" target="_blank">31.015333
> wireshark time line the trunk sends a 200 OK  then 487 request terminated

>  and the billing stops from the trunk provider  .****

>
> The problem is my opensips with IP 89.207.133.144 didn’t hangup the call

> and go for the max call duration in the dialog module .****

>
> -how to let opensips cancel the call immediately  and stop it with no

> billing .****
>
> Please find attached my opensips.cfg configuration file ****
>
>  ****
>
> Regards****
>
>  ****
>
>  ****
>
> Khaled Chehab****
>
> Senior NGN Engineer****
>
> [image: Description: icucall]****
>
> Operations Office - Lebanon****
>
> Office    : <a href="tel:+9611515155" target="_blank">+961 1 515155 ext 300****
>
> Mobile  : <a href="tel:+9613045212" target="_blank">+961 3 045212****
>
> E-mail    : [hidden email]****
>
> MSN ID :[hidden email] ****
>
> Skype    : k_chehab ****
>
> Web Site: http://www.icucall.com****
>
>                      http://www.allohi.com****
>
>  ****

>
>
> _______________________________________________
> Users mailing list
> [hidden email]

> http://lists.opensips.org/cgi-bin/mailman/listinfo/users****
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: calls have max call duration

M.Khaled W Chehab

Thanks I found it

 

Regards

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of M.Khaled W Chehab
Sent: Monday, November 19, 2012 11:35 AM
To: 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Mohammad,

 

There is no file attached ,kindly can you resend it .

 

 

Regards

Khaled

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Muhammad Shahzad
Sent: Sunday, November 18, 2012 9:38 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Just send you modified configuration file in private email. Hope this works.

Let me know if you need any further assistance.

Thank you.

On Sun, Nov 18, 2012 at 4:54 PM, M. KHaled W. Chehab <[hidden email]> wrote:

Thank Mohammad,

really appriciated.
waiting your script.

khaled chehab

Sent from my android device.



-----Original Message-----

From: Muhammad Shahzad <[hidden email]>
To: OpenSIPS users mailling list <[hidden email]>

Sent: Sun, 18 Nov 2012 4:45 PM
Subject: Re: [OpenSIPS-Users] calls have max call duration

humm, how can this be? It always works. Something is really weird going on
in your opensips configuration.

OK, let me prepare an alternative configuration for you and send you in 2-3
hours.

BTW, you can call me Muhammad.

Thank you.


On Sun, Nov 18, 2012 at 12:34 AM, M. KHaled W. Chehab
<[hidden email]>wrote:


> dears,
>
> the mediaproxy timeout didnt.suceed any more ideas?
>
> Regards
>
> Sent from my android device.
>
>
>
> -----Original Message-----
> From: "M.Khaled W Chehab" <[hidden email]>
> To: 'OpenSIPS users mailling list' <[hidden email]>
> Sent: Fri, 16 Nov <a href="tel:20125" target="_blank">2012 5:18 PM
> Subject: Re: [OpenSIPS-Users] calls have max call duration
>

> Dears,****
>
> ** **

>
> Thanks for your kindly reply, and I will try to arrange my opensips
> configuration file  and send it back if the media configuration didn’t

> solve this problem  ,****

>
> BTW I am using  a mix between a residential and trunking script  ,do you
> have a config tested  having a permission ,routing  dialplan  module tested

>  for small carrier level ,you can send me a copy of it  .****
>
> ****
>
> My old config mediaproxy was ****
>
> stream_timeout = 90****
>
> on_hold_timeout = 3540****
>
> so set it now to ****
>
> stream_timeout = 30****
>
> on_hold_timeout = 600****
>
> ** **

>
> I will  monitor it now  and inform you about the result , but my question

> is ,is there a solution using signaling  function I can implement ?****
>
> ** **
>
> ** **
>
> Regards****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* [hidden email] [mailto:
> [hidden email]] *On Behalf Of *Muhammad Shahzad
> *Sent:* Friday, November 16, <a href="tel:20125" target="_blank">2012 5:01 PM
> *To:* OpenSIPS users mailling list
> *Subject:* Re: [OpenSIPS-Users] calls have max call duration****
>
> ** **

>
> Your opensips config is pretty messed up and hard to read. So, while i try
> to read it to find the problem, as a workaround you should set RTP timeouts

> in your mediaproxy configuration file (i.e. config.ini), e.g.****
>
> ** **
>
> stream_timeout = 30****

>
> on_hold_timeout = 1800
>
> This will result in automatic call hangup if there is no media for at
> least 30 seconds. This will reduce wrong billing problem to 30 seconds, and
> your customer's balance will not be exhausted completely. Similarly if call
> is on hold for more then 30 minutes and no media is transferred during this
> time (not even music on hold) then call will hangup (change this timeout to

> whatever appropriate for you).****
>
> ** **
>
> Thank you.****
>
> ** **

>
> On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab <[hidden email]>

> wrote:****
>
> Dears,****
>
>  ****

>
> How to drop  the call  when a cancel received from UA and a 200 OK from
> the trunk in the same second, note back the client cdr will be a canceled
> call and the trunk cdr will be 1 sec duration but on my cdr its the max

> daialog  timeout duration****
>
>  ****

>
> I am searching for a  solution for this since two weeks as I tried all

> trick I know and all didn’t succeed ,****

>
> Find attached the scenario I have problem with, which you can find it at
>  wireshark time line (<a href="tel:30877027" target="_blank">30.877027)  the Client with IP ( 74.114.101.170)
> sends  a cancel ,and the opensips version 1.8.2  server with IP
> 89.207.133.144   send the client 200 canceling and  in its terms forward
> the cancel to the trunk provider with IP 74.114.101.190 ,but at <a href="tel:31015333" target="_blank">31.015333
> wireshark time line the trunk sends a 200 OK  then 487 request terminated

>  and the billing stops from the trunk provider  .****

>
> The problem is my opensips with IP 89.207.133.144 didn’t hangup the call

> and go for the max call duration in the dialog module .****

>
> -how to let opensips cancel the call immediately  and stop it with no

> billing .****
>
> Please find attached my opensips.cfg configuration file ****
>
>  ****
>
> Regards****
>
>  ****
>
>  ****
>
> Khaled Chehab****
>
> Senior NGN Engineer****
>
> [image: Description: icucall]****
>
> Operations Office - Lebanon****
>
> Office    : <a href="tel:+9611515155" target="_blank">+961 1 515155 ext 300****
>
> Mobile  : <a href="tel:+9613045212" target="_blank">+961 3 045212****
>
> E-mail    : [hidden email]****
>
> MSN ID :[hidden email] ****
>
> Skype    : k_chehab ****
>
> Web Site: http://www.icucall.com****
>
>                      http://www.allohi.com****
>
>  ****

>
>
> _______________________________________________
> Users mailing list
> [hidden email]

> http://lists.opensips.org/cgi-bin/mailman/listinfo/users****
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: calls have max call duration

M.Khaled W Chehab

Hi,

 

Kindly note that I can still find Calls have the same problem (max dialog timeout  duration and the call capture mark to be a canceled call )with a label in dialog module while the call is not hanged by system  ( confirmed  but not ACK),as for the avp queries in my script you can delete any AVP you want in order to make a scope on this hitch in order to  run a script without this problem

 

Regards

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of M.Khaled W Chehab
Sent: Monday, November 19, 2012 12:04 PM
To: 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Thanks I found it

 

Regards

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of M.Khaled W Chehab
Sent: Monday, November 19, 2012 11:35 AM
To: 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Mohammad,

 

There is no file attached ,kindly can you resend it .

 

 

Regards

Khaled

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Muhammad Shahzad
Sent: Sunday, November 18, 2012 9:38 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Just send you modified configuration file in private email. Hope this works.

Let me know if you need any further assistance.

Thank you.

On Sun, Nov 18, 2012 at 4:54 PM, M. KHaled W. Chehab <[hidden email]> wrote:

Thank Mohammad,

really appriciated.
waiting your script.

khaled chehab

Sent from my android device.



-----Original Message-----

From: Muhammad Shahzad <[hidden email]>
To: OpenSIPS users mailling list <[hidden email]>

Sent: Sun, 18 Nov 2012 4:45 PM
Subject: Re: [OpenSIPS-Users] calls have max call duration

humm, how can this be? It always works. Something is really weird going on
in your opensips configuration.

OK, let me prepare an alternative configuration for you and send you in 2-3
hours.

BTW, you can call me Muhammad.

Thank you.


On Sun, Nov 18, 2012 at 12:34 AM, M. KHaled W. Chehab
<[hidden email]>wrote:


> dears,
>
> the mediaproxy timeout didnt.suceed any more ideas?
>
> Regards
>
> Sent from my android device.
>
>
>
> -----Original Message-----
> From: "M.Khaled W Chehab" <[hidden email]>
> To: 'OpenSIPS users mailling list' <[hidden email]>
> Sent: Fri, 16 Nov <a href="tel:20125" target="_blank">2012 5:18 PM
> Subject: Re: [OpenSIPS-Users] calls have max call duration
>

> Dears,****
>
> ** **

>
> Thanks for your kindly reply, and I will try to arrange my opensips
> configuration file  and send it back if the media configuration didn’t

> solve this problem  ,****

>
> BTW I am using  a mix between a residential and trunking script  ,do you
> have a config tested  having a permission ,routing  dialplan  module tested

>  for small carrier level ,you can send me a copy of it  .****
>
> ****
>
> My old config mediaproxy was ****
>
> stream_timeout = 90****
>
> on_hold_timeout = 3540****
>
> so set it now to ****
>
> stream_timeout = 30****
>
> on_hold_timeout = 600****
>
> ** **

>
> I will  monitor it now  and inform you about the result , but my question

> is ,is there a solution using signaling  function I can implement ?****
>
> ** **
>
> ** **
>
> Regards****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* [hidden email] [mailto:
> [hidden email]] *On Behalf Of *Muhammad Shahzad
> *Sent:* Friday, November 16, <a href="tel:20125" target="_blank">2012 5:01 PM
> *To:* OpenSIPS users mailling list
> *Subject:* Re: [OpenSIPS-Users] calls have max call duration****
>
> ** **

>
> Your opensips config is pretty messed up and hard to read. So, while i try
> to read it to find the problem, as a workaround you should set RTP timeouts

> in your mediaproxy configuration file (i.e. config.ini), e.g.****
>
> ** **
>
> stream_timeout = 30****

>
> on_hold_timeout = 1800
>
> This will result in automatic call hangup if there is no media for at
> least 30 seconds. This will reduce wrong billing problem to 30 seconds, and
> your customer's balance will not be exhausted completely. Similarly if call
> is on hold for more then 30 minutes and no media is transferred during this
> time (not even music on hold) then call will hangup (change this timeout to

> whatever appropriate for you).****
>
> ** **
>
> Thank you.****
>
> ** **

>
> On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab <[hidden email]>

> wrote:****
>
> Dears,****
>
>  ****

>
> How to drop  the call  when a cancel received from UA and a 200 OK from
> the trunk in the same second, note back the client cdr will be a canceled
> call and the trunk cdr will be 1 sec duration but on my cdr its the max

> daialog  timeout duration****
>
>  ****

>
> I am searching for a  solution for this since two weeks as I tried all

> trick I know and all didn’t succeed ,****

>
> Find attached the scenario I have problem with, which you can find it at
>  wireshark time line (<a href="tel:30877027" target="_blank">30.877027)  the Client with IP ( 74.114.101.170)
> sends  a cancel ,and the opensips version 1.8.2  server with IP
> 89.207.133.144   send the client 200 canceling and  in its terms forward
> the cancel to the trunk provider with IP 74.114.101.190 ,but at <a href="tel:31015333" target="_blank">31.015333
> wireshark time line the trunk sends a 200 OK  then 487 request terminated

>  and the billing stops from the trunk provider  .****

>
> The problem is my opensips with IP 89.207.133.144 didn’t hangup the call

> and go for the max call duration in the dialog module .****

>
> -how to let opensips cancel the call immediately  and stop it with no

> billing .****
>
> Please find attached my opensips.cfg configuration file ****
>
>  ****
>
> Regards****
>
>  ****
>
>  ****
>
> Khaled Chehab****
>
> Senior NGN Engineer****
>
> [image: Description: icucall]****
>
> Operations Office - Lebanon****
>
> Office    : <a href="tel:+9611515155" target="_blank">+961 1 515155 ext 300****
>
> Mobile  : <a href="tel:+9613045212" target="_blank">+961 3 045212****
>
> E-mail    : [hidden email]****
>
> MSN ID :[hidden email] ****
>
> Skype    : k_chehab ****
>
> Web Site: http://www.icucall.com****
>
>                      http://www.allohi.com****
>
>  ****

>
>
> _______________________________________________
> Users mailing list
> [hidden email]

> http://lists.opensips.org/cgi-bin/mailman/listinfo/users****
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: calls have max call duration

Muhammad Shahzad
Your media proxy configuration is also wrong, just sent you config for media proxy. Just sent you config for media proxy as well.

Hope this helps.

Thank you.


On Mon, Nov 19, 2012 at 2:24 PM, M.Khaled W Chehab <[hidden email]> wrote:

Hi,

 

Kindly note that I can still find Calls have the same problem (max dialog timeout  duration and the call capture mark to be a canceled call )with a label in dialog module while the call is not hanged by system  ( confirmed  but not ACK),as for the avp queries in my script you can delete any AVP you want in order to make a scope on this hitch in order to  run a script without this problem

 

Regards

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of M.Khaled W Chehab
Sent: Monday, November 19, 2012 12:04 PM


To: 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Thanks I found it

 

Regards

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of M.Khaled W Chehab
Sent: Monday, November 19, 2012 11:35 AM
To: 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Mohammad,

 

There is no file attached ,kindly can you resend it .

 

 

Regards

Khaled

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Muhammad Shahzad
Sent: Sunday, November 18, 2012 9:38 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Just send you modified configuration file in private email. Hope this works.

Let me know if you need any further assistance.

Thank you.

On Sun, Nov 18, 2012 at 4:54 PM, M. KHaled W. Chehab <[hidden email]> wrote:

Thank Mohammad,

really appriciated.
waiting your script.

khaled chehab

Sent from my android device.



-----Original Message-----

From: Muhammad Shahzad <[hidden email]>
To: OpenSIPS users mailling list <[hidden email]>

Sent: Sun, 18 Nov 2012 4:45 PM
Subject: Re: [OpenSIPS-Users] calls have max call duration

humm, how can this be? It always works. Something is really weird going on
in your opensips configuration.

OK, let me prepare an alternative configuration for you and send you in 2-3
hours.

BTW, you can call me Muhammad.

Thank you.


On Sun, Nov 18, 2012 at 12:34 AM, M. KHaled W. Chehab
<[hidden email]>wrote:

> dears,
>
> the mediaproxy timeout didnt.suceed any more ideas?
>
> Regards
>
> Sent from my android device.
>
>
>
> -----Original Message-----
> From: "M.Khaled W Chehab" <[hidden email]>
> To: 'OpenSIPS users mailling list' <[hidden email]>
> Sent: Fri, 16 Nov <a href="tel:20125" target="_blank">2012 5:18 PM
> Subject: Re: [OpenSIPS-Users] calls have max call duration
>

> Dears,****
>
> ** **

>


> Thanks for your kindly reply, and I will try to arrange my opensips
> configuration file  and send it back if the media configuration didn’t

> solve this problem  ,****

>
> BTW I am using  a mix between a residential and trunking script  ,do you
> have a config tested  having a permission ,routing  dialplan  module tested

>  for small carrier level ,you can send me a copy of it  .****
>
> ****
>
> My old config mediaproxy was ****
>
> stream_timeout = 90****
>

> on_hold_timeout = 3540****

>
> so set it now to ****
>
> stream_timeout = 30****
>
> on_hold_timeout = 600****
>
> ** **

>
> I will  monitor it now  and inform you about the result , but my question

> is ,is there a solution using signaling  function I can implement ?****
>

> ** **

>
> ** **
>
> Regards****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* [hidden email] [mailto:
> [hidden email]] *On Behalf Of *Muhammad Shahzad
> *Sent:* Friday, November 16, <a href="tel:20125" target="_blank">2012 5:01 PM
> *To:* OpenSIPS users mailling list
> *Subject:* Re: [OpenSIPS-Users] calls have max call duration****
>
> ** **

>
> Your opensips config is pretty messed up and hard to read. So, while i try
> to read it to find the problem, as a workaround you should set RTP timeouts

> in your mediaproxy configuration file (i.e. config.ini), e.g.****
>
> ** **
>
> stream_timeout = 30****

>
> on_hold_timeout = 1800
>
> This will result in automatic call hangup if there is no media for at
> least 30 seconds. This will reduce wrong billing problem to 30 seconds, and
> your customer's balance will not be exhausted completely. Similarly if call


> is on hold for more then 30 minutes and no media is transferred during this
> time (not even music on hold) then call will hangup (change this timeout to

> whatever appropriate for you).****
>
> ** **
>
> Thank you.****
>
> ** **

>
> On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab <[hidden email]>

> wrote:****
>
> Dears,****
>
>  ****

>
> How to drop  the call  when a cancel received from UA and a 200 OK from

> the trunk in the same second, note back the client cdr will be a canceled
> call and the trunk cdr will be 1 sec duration but on my cdr its the max

> daialog  timeout duration****
>
>  ****

>
> I am searching for a  solution for this since two weeks as I tried all

> trick I know and all didn’t succeed ,****

>
> Find attached the scenario I have problem with, which you can find it at
>  wireshark time line (<a href="tel:30877027" target="_blank">30.877027)  the Client with IP ( 74.114.101.170)
> sends  a cancel ,and the opensips version 1.8.2  server with IP
> 89.207.133.144   send the client 200 canceling and  in its terms forward
> the cancel to the trunk provider with IP 74.114.101.190 ,but at <a href="tel:31015333" target="_blank">31.015333
> wireshark time line the trunk sends a 200 OK  then 487 request terminated

>  and the billing stops from the trunk provider  .****

>
> The problem is my opensips with IP 89.207.133.144 didn’t hangup the call

> and go for the max call duration in the dialog module .****

>
> -how to let opensips cancel the call immediately  and stop it with no

> billing .****
>
> Please find attached my opensips.cfg configuration file ****
>


>  ****
>
> Regards****
>
>  ****
>
>  ****
>
> Khaled Chehab****
>
> Senior NGN Engineer****
>
> [image: Description: icucall]****
>
> Operations Office - Lebanon****
>
> Office    : <a href="tel:+9611515155" target="_blank">+961 1 515155 ext 300****
>
> Mobile  : <a href="tel:+9613045212" target="_blank">+961 3 045212****
>
> E-mail    : [hidden email]****
>
> MSN ID :[hidden email] ****
>
> Skype    : k_chehab ****
>
> Web Site: http://www.icucall.com****
>
>                      http://www.allohi.com****
>
>  ****

>
>
> _______________________________________________
> Users mailing list
> [hidden email]

> http://lists.opensips.org/cgi-bin/mailman/listinfo/users****
>


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: <a href="tel:%2B49%20176%2099%2083%2010%2085" value="+4917699831085" target="_blank">+49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: calls have max call duration

M.Khaled W Chehab

 

After I run mediaproxy/opensips  with the new config files ,I still facing such issue ,

What kind of trouble shooting I can do ….

 

Regards

Khaled

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Muhammad Shahzad
Sent: Monday, November 19, 2012 3:33 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Your media proxy configuration is also wrong, just sent you config for media proxy. Just sent you config for media proxy as well.

Hope this helps.

Thank you.

On Mon, Nov 19, 2012 at 2:24 PM, M.Khaled W Chehab <[hidden email]> wrote:

Hi,

 

Kindly note that I can still find Calls have the same problem (max dialog timeout  duration and the call capture mark to be a canceled call )with a label in dialog module while the call is not hanged by system  ( confirmed  but not ACK),as for the avp queries in my script you can delete any AVP you want in order to make a scope on this hitch in order to  run a script without this problem

 

Regards

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of M.Khaled W Chehab
Sent: Monday, November 19, 2012 12:04 PM


To: 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Thanks I found it

 

Regards

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of M.Khaled W Chehab
Sent: Monday, November 19, 2012 11:35 AM
To: 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Mohammad,

 

There is no file attached ,kindly can you resend it .

 

 

Regards

Khaled

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Muhammad Shahzad
Sent: Sunday, November 18, 2012 9:38 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Just send you modified configuration file in private email. Hope this works.

Let me know if you need any further assistance.

Thank you.

On Sun, Nov 18, 2012 at 4:54 PM, M. KHaled W. Chehab <[hidden email]> wrote:

Thank Mohammad,

really appriciated.
waiting your script.

khaled chehab

Sent from my android device.



-----Original Message-----

From: Muhammad Shahzad <[hidden email]>
To: OpenSIPS users mailling list <[hidden email]>

Sent: Sun, 18 Nov 2012 4:45 PM
Subject: Re: [OpenSIPS-Users] calls have max call duration

humm, how can this be? It always works. Something is really weird going on
in your opensips configuration.

OK, let me prepare an alternative configuration for you and send you in 2-3
hours.

BTW, you can call me Muhammad.

Thank you.


On Sun, Nov 18, 2012 at 12:34 AM, M. KHaled W. Chehab
<[hidden email]>wrote:


> dears,
>
> the mediaproxy timeout didnt.suceed any more ideas?
>
> Regards
>
> Sent from my android device.
>
>
>
> -----Original Message-----
> From: "M.Khaled W Chehab" <[hidden email]>
> To: 'OpenSIPS users mailling list' <[hidden email]>
> Sent: Fri, 16 Nov <a href="tel:20125" target="_blank">2012 5:18 PM
> Subject: Re: [OpenSIPS-Users] calls have max call duration
>

> Dears,****
>
> ** **

>
> Thanks for your kindly reply, and I will try to arrange my opensips
> configuration file  and send it back if the media configuration didn’t

> solve this problem  ,****

>
> BTW I am using  a mix between a residential and trunking script  ,do you
> have a config tested  having a permission ,routing  dialplan  module tested

>  for small carrier level ,you can send me a copy of it  .****
>
> ****
>
> My old config mediaproxy was ****
>
> stream_timeout = 90****
>
> on_hold_timeout = 3540****
>
> so set it now to ****
>
> stream_timeout = 30****
>
> on_hold_timeout = 600****
>
> ** **

>
> I will  monitor it now  and inform you about the result , but my question

> is ,is there a solution using signaling  function I can implement ?****
>
> ** **
>
> ** **
>
> Regards****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* [hidden email] [mailto:
> [hidden email]] *On Behalf Of *Muhammad Shahzad
> *Sent:* Friday, November 16, <a href="tel:20125" target="_blank">2012 5:01 PM
> *To:* OpenSIPS users mailling list
> *Subject:* Re: [OpenSIPS-Users] calls have max call duration****
>
> ** **

>
> Your opensips config is pretty messed up and hard to read. So, while i try
> to read it to find the problem, as a workaround you should set RTP timeouts

> in your mediaproxy configuration file (i.e. config.ini), e.g.****
>
> ** **
>
> stream_timeout = 30****

>
> on_hold_timeout = 1800
>
> This will result in automatic call hangup if there is no media for at
> least 30 seconds. This will reduce wrong billing problem to 30 seconds, and
> your customer's balance will not be exhausted completely. Similarly if call
> is on hold for more then 30 minutes and no media is transferred during this
> time (not even music on hold) then call will hangup (change this timeout to

> whatever appropriate for you).****
>
> ** **
>
> Thank you.****
>
> ** **

>
> On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab <[hidden email]>

> wrote:****
>
> Dears,****
>
>  ****

>
> How to drop  the call  when a cancel received from UA and a 200 OK from
> the trunk in the same second, note back the client cdr will be a canceled
> call and the trunk cdr will be 1 sec duration but on my cdr its the max

> daialog  timeout duration****
>
>  ****

>
> I am searching for a  solution for this since two weeks as I tried all

> trick I know and all didn’t succeed ,****

>
> Find attached the scenario I have problem with, which you can find it at
>  wireshark time line (<a href="tel:30877027" target="_blank">30.877027)  the Client with IP ( 74.114.101.170)
> sends  a cancel ,and the opensips version 1.8.2  server with IP
> 89.207.133.144   send the client 200 canceling and  in its terms forward
> the cancel to the trunk provider with IP 74.114.101.190 ,but at <a href="tel:31015333" target="_blank">31.015333
> wireshark time line the trunk sends a 200 OK  then 487 request terminated

>  and the billing stops from the trunk provider  .****

>
> The problem is my opensips with IP 89.207.133.144 didn’t hangup the call

> and go for the max call duration in the dialog module .****

>
> -how to let opensips cancel the call immediately  and stop it with no

> billing .****
>
> Please find attached my opensips.cfg configuration file ****
>
>  ****
>
> Regards****
>
>  ****
>
>  ****
>
> Khaled Chehab****
>
> Senior NGN Engineer****
>
> [image: Description: icucall]****
>
> Operations Office - Lebanon****
>
> Office    : <a href="tel:+9611515155" target="_blank">+961 1 515155 ext 300****
>
> Mobile  : <a href="tel:+9613045212" target="_blank">+961 3 045212****
>
> E-mail    : [hidden email]****
>
> MSN ID :[hidden email] ****
>
> Skype    : k_chehab ****
>
> Web Site: http://www.icucall.com****
>
>                      http://www.allohi.com****
>
>  ****

>
>
> _______________________________________________
> Users mailing list
> [hidden email]

> http://lists.opensips.org/cgi-bin/mailman/listinfo/users****
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: <a href="tel:%2B49%20176%2099%2083%2010%2085" target="_blank">+49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: calls have max call duration

M.Khaled W Chehab
In reply to this post by Muhammad Shahzad

Hi,

 

Please  that the problem still exists, now  I can find calls having  190 or 188 seconds since the value at /proc/sys/net/ipv4/netfilter/ip_conntrack_udp_timeout_stream is    180

,since it should be 0 seconds,

Any idea to drop  the accounting if the UA send a  cancel as  the  below scenario .

 

Regards

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Muhammad Shahzad
Sent: Friday, November 16, 2012 5:01 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Your opensips config is pretty messed up and hard to read. So, while i try to read it to find the problem, as a workaround you should set RTP timeouts in your mediaproxy configuration file (i.e. config.ini), e.g.

 

stream_timeout = 30

on_hold_timeout = 1800

This will result in automatic call hangup if there is no media for at least 30 seconds. This will reduce wrong billing problem to 30 seconds, and your customer's balance will not be exhausted completely. Similarly if call is on hold for more then 30 minutes and no media is transferred during this time (not even music on hold) then call will hangup (change this timeout to whatever appropriate for you).

 

Thank you.

 

On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab <[hidden email]> wrote:

Dears,

 

How to drop  the call  when a cancel received from UA and a 200 OK from the trunk in the same second, note back the client cdr will be a canceled call and the trunk cdr will be 1 sec duration but on my cdr its the max daialog  timeout duration

 

I am searching for a  solution for this since two weeks as I tried all trick I know and all didn’t succeed ,

Find attached the scenario I have problem with, which you can find it at  wireshark time line (30.877027)  the Client with IP ( 74.114.101.170) sends  a cancel ,and the opensips version 1.8.2  server with IP 89.207.133.144   send the client 200 canceling and  in its terms forward the cancel to the trunk provider with IP 74.114.101.190 ,but at 31.015333 wireshark time line the trunk sends a 200 OK  then 487 request terminated  and the billing stops from the trunk provider  .

The problem is my opensips with IP 89.207.133.144 didn’t hangup the call and go for the max call duration in the dialog module .

-how to let opensips cancel the call immediately  and stop it with no billing .

Please find attached my opensips.cfg configuration file

 

Regards

 

 

Khaled Chehab

Senior NGN Engineer

Description: icucall

Operations Office - Lebanon

Office    : <a href="tel:%2B961%201%20515155%20ext%20300" target="_blank">+961 1 515155 ext 300

Mobile  : <a href="tel:%2B961%203%20045212" target="_blank">+961 3 045212

E-mail    : [hidden email]

MSN ID :[hidden email]

Skype    : k_chehab

Web Site: http://www.icucall.com

                     http://www.allohi.com

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



 

--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users