I haven't tried, but what about: avp_write("$from","i:35"); avp_pushto("$P-Asserted-ID","i:35"); avp_delete("i:35"); g-) ----- Original Message ----- From: Greg Fausak To: serusers@lists.iptel.org Cc: greg@thursday.com Sent: Tuesday, October 04, 2005 10:52 PM Subject: [Serusers] append_hf, append_urihf (append_furihf)
Hi,
I'm about to hack up the textops module a bit, and wondered if anyone else has run into this.
I'd like to create a line like:
P-Asserted-ID: 14085551212@mydomain.com
and insert this into the sip packet.
I'd use append_hf(), except the number listed above is contained in the From: URI.
I was going to hack a append_urihf() into a append_furihf() to accomplish the task...can I do this with an exec_dset or something else?
-g
-- Greg Fausak greg@thursday.com
------------------------------------------------------------------------------
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers