[OpenSIPS-Users] ACK Timer

Muhammad Shahzad shaheryarkh at gmail.com
Tue Feb 12 14:05:08 CET 2013


This may work, only if you create dialog with 'B' flag, also 3 seconds look
very short, destination must be very quick to ACK the call.

I think there is a better way to achieve this, you only need to ensure
CANCEL is received at destination.

Thank you.


On Tue, Feb 12, 2013 at 1:45 PM, M.Khaled W Chehab <kchehab at icucall.com>wrote:

> Hi ,****
>
> ** **
>
> I face a lot of scenarios where the customer send a cancel while the
> trunk send 200 OK and start the billing from its side ,so the client call
> will be canceled from his side and goes to the max call duration from my
> side and trunk side .****
>
> Si I draw this function below ****
>
> loadmodule "dialog.so"****
>
> modparam("dialog", "timeout_avp", "$avp(timeout2)")****
>
> ** **
>
> if (has_totag()) {****
>
>               if ( is_method("INVITE")) {****
>
>                      $avp(timeout2) = 3; ****
>
>               } else if (is_method("ACK")) {****
>
>                      $avp(timeout2) = 3540; ****
>
>               }****
>
> ** **
>
> Do this function effect on my calls or cause  any problem****
>
> ** **
>
> Regards****
>
> ** **
>
> ** **
>
> ** **
>
> Khaled Chehab****
>
> Senior NGN Engineer****
>
> [image: Description: icucall]****
>
> Operations Office - Lebanon****
>
> Office    : +961 1 515155 ext 300****
>
> Mobile  : +961 3 045212****
>
> E-mail    : kchehab at icucall.com****
>
> MSN ID :khalidchehab at hotmail.com ****
>
> Skype    : k_chehab ****
>
> Web Site: http://www.icucall.com****
>
>                      http://www.allohi.com****
>
> ** **
>



-- 
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk at hotmail.com
Email: shaheryarkh at googlemail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130212/7afa0042/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5316 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20130212/7afa0042/attachment-0001.png>


More information about the Users mailing list