[Devel] sip-xmpp gateway domain test

Juha Heinanen jh at tutpro.com
Thu Oct 5 15:22:13 CEST 2006


in xmpp module document there is openser.cfg fragment:

 ### ---8<--- cut here ---8<--- ###
	if (search("To:.*@sip-xmpp\.openser\.org")) {
		if (!t_newtran()) {
			sl_reply_error();
	...........	 

why search on To header rather than

	if (avp_check("$ru", "eq/s:sip-xmpp.openser.org")) {

-- juha



More information about the Devel mailing list