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 <[email protected]>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 : [email protected]**** > > MSN ID :[email protected] **** > > 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: [email protected] Email: [email protected]
<<image001.png>>
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
