[OpenSER-Devel] How to stop OpenSER from replying with 100 Trying?

Iñaki Baz Castillo ibc at in.ilimit.es
Mon Feb 18 10:08:50 CET 2008


Firt of all, IMHO this is not a question related to "devel" maillist, but 
to "users" maillist.


El Monday 18 February 2008 09:56:48 Rajat Dudeja escribió:
> I have the above scenario:
> 1. I'm required to send Msg1 from client to OpenSER.
> 2. OpenSER as expected is passing Msg1 to AppServer in the form of Msg2.
> 3. However, Msg4 gets passed by OpenSER, before Msg2 is passed to
> AppServer, which certainly I don't like OpenSER to do itself unless
> Appserver first instructs it by passing Msg3.

Note that a "100 Trying" is usually sent by proxies since it's function is to 
stop retransmissions. With a "100 Trying" the proxy says:
"Hi, I've already received your message and I'm processing it now. Stop 
resending your request, it's not neccesary".

>
> So, the problem is I'm not able to stop OpenSER to not reply to the Msg1
> unless it is asked by AppServer in the form of Msg3. So, my question is :
> 1. Are there any special settings by which I can stop OpenSER doing so?
> (...  in openser.cfg ? or through some other settings? )

Yes, you can add some flags to "t_relay()" in order to avoid OpenSer replying 
with a "100 Trying". Read the t_relay doc in "tm" module.


Regards.

-- 
Iñaki Baz Castillo
ibc at in.ilimit.es



More information about the Devel mailing list