[OpenSER-Users] Catching 200 OK as part of INVITE CSeq.

Alex Balashov abalashov at evaristesys.com
Fri Oct 5 21:46:49 CEST 2007


Greetings,

I am proxying INVITEs and need to be able to know when the 200 OK that is 
part of that particular transaction dialogue (same CSeq as the INVITE)
appears so that I stamp voice-bearing media start in my logs.

However, I cannot seem to detect it.  I see from the packet capture that
the 200 OK from the far end of the call does go back through my OpenSER
proxy (I do record_route() on all methods but REGISTER & OPTIONS as per
the spec), but I can't seem to programmatically access it in any way.
Are there special steps required to get at it?

This is to say, my main route contains:

   if(is_method("INVITE")) {
   	...
   }

But I never seem to catch anything with it but actual INVITE messages. 
What gives?  I tried doing

   if(t_check_status("200"))

within that block, but without anything that I would describe as success. 
I never even get another message whose overall transaction method is 
INVITE even when I dump them all for debugging purposes in the main route.

Insights appreciated!

Thanks,

--
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : +1-678-954-0670
Direct : +1-678-954-0671




More information about the Users mailing list