[Serdev] Can the function is_to_local be added to the domain module

Klaus Darilion klaus.mailinglists at pernau.at
Tue May 25 12:12:02 UTC 2004


Hi!

Zeus Ng wrote:
> I appreciate the input. But what do you mean by just check the initial
> request? Does it mean that I just check INVITE and lax on ACK and BYE?

in-dialog requests should be forwarded by the loose_route() block in 
ser.cfg. You can further verify if there is a to-tag present in the 
messages (=>in dialog request). You can safely forward them as if they 
are faked, they will be rejected by the receiver (e.g. gateway) as there 
is no matching dialog present.

> How
> to prevent a malicious user sending a BYE to end the call between UA1 and
> UA2.

3rd parties can't disconnect the call as they don't know the from-tag, 
to-tag & call-id  - except they have physical access to the network and 
capture the packets.

Of course there is risk that this may happen. But challenging BYE, ACK 
and CANCEL typically causes problems with the user agents.

regards,
klaus

> 
> If you are talking about maintaining a dialog state, doesn't it requires a
> B2BUA?
> 
> A fragment of code would be appreciate.
> 
> Zeus
> 
> 
> 
>>your problem disappears if you only do the checks for initial 
>>requests and just forward in-dialog requests.
>>
>>-- juha
>>
> 
> 
> _______________________________________________
> Serdev mailing list
> serdev at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serdev
> 
> 




More information about the Serdev mailing list