--- chan_sip.c.orig	2009-08-11 18:11:54.000000000 +0200
+++ chan_sip.c	2009-09-11 13:25:55.000000000 +0200
@@ -9320,6 +9320,10 @@
 		else
 			ast_str_append(&tmp, 0, "<dialog id=\"%s\">\n", p->exten);
 		ast_str_append(&tmp, 0, "<state>%s</state>\n", statestring);
+		if((state & AST_EXTENSION_RINGING) && global_notifyringing && strstr(p->useragent,"THOMSON ST2030")) {
+		    ast_str_append(&tmp, 0, "<local><identity display=\"%s\">%s</identity><target uri=\"%s\"/></local>\n", p->exten, mfrom, mfrom);
+		    ast_str_append(&tmp, 0, "<remote><identity display=\"%s\">sip:*8%s</identity><target uri=\"sip:*8%s\"/></remote>\n", "pickup", mto+4, mto+4);
+		}
 		if (state == AST_EXTENSION_ONHOLD) {
 			ast_str_append(&tmp, 0, "<local>\n<target uri=\"%s\">\n"
 			                                "<param pname=\"+sip.rendering\" pvalue=\"no\"/>\n"
