hi, thanks for your response.
is the sending of CANCEL handled by the openser engine internally? i need to do this from
the openser config file. basically, my statement is like this:
onreply_route[2] {
if (status =~ "(183)|(2[0-9][0-9])") {
if (client_nat_test("1")) {
fix_contact();
append_hf("P-hint: Reply applied\r\n");
}
use_media_proxy();
}
if (status == "200") {
invoke_my_function_from_here("$fu:$tu:$ci");
if (retcode == 1)
{
# propagate OK to caller; do nothing
}
else
{
# terminate or cancel INVITE from here
}
}
}
i should also be able to do this in proxy1 from the figure below. i think i need to send
CANCEL to UAC1 and BYE to UAC2. this is my understanding of the RFC. someone may have
implemented a function or module to handle this. thanks again.
"Premnath, KN" <Premnath.KN(a)siemens.com> wrote: Hi Sho,
When you get 200OK, you send an "ACK", so it is a good indication for the
initial "INVITE" that it is ACKnowledged. When you get an error, anyway you
will not send "ACK" instead still send the "CANCEL" so the UAC2 is
clearly handled (and it will not wait for ACK), give a try !!!
Thank You,.
With warm regards,
Premnath Narayanan
---------------------------------
From: users-bounces(a)openser.org [mailto:users-bounces@openser.org] On Behalf Of Web
Monkey
Sent: Monday, February 26, 2007 9:24 AM
To: users(a)openser.org; users(a)iptel.org
Subject: [Users] cancelling INVITE during OK response
hi, is there a way to cancel or terminate an INVITE or call upon receipt of the OK reply.
my configuration invokes an external program which either return success or failure for
OK message (response to INVITE). when failure is returned, i want the script to terminate
the call or cancel the INVITE (OK message will not be forwarded to the calling UA). is
there an existing function or module to realize this? the scenario is drawn below with
provisional messages removed.
UAC1 ------------------ proxy1 ----------------- proxy2 --------------- UAC2
call:
INVITE
---------------------------> INVITE
---------------------->
INVITE
----------------->
OK
<----------------
*XXX
- error
occurred
during
processing
OK
message
thanks,
sho
---------------------------------
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
The new company Nokia Siemens Networks is expected to start operations in the first
quarter of 2007, subject to customary regulatory approvals, the completion of standard
closing conditions, and the agreement of a number of detailed implementation steps.
Disclaimer:
This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential
information. If you have received this e-mail in error, you are hereby notified that any
review, copying or distribution of it is strictly prohibited. Please inform us immediately
and destroy the original transmittal. Thank you for your cooperation.
---------------------------------
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done
faster.