[Serusers] append_hf, append_urihf (append_furihf)

Greger V. Teigre greger at teigre.com
Wed Oct 5 07:50:11 CEST 2005


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 at lists.iptel.org 
  Cc: greg at 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 at 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 at thursday.com 


------------------------------------------------------------------------------


  _______________________________________________
  Serusers mailing list
  serusers at lists.iptel.org
  http://lists.iptel.org/mailman/listinfo/serusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20051005/509f0c0c/attachment.htm>


More information about the sr-users mailing list