<div dir="ltr">We are currently using ENUM query to determine the LRN for a ported number. This works fine, but now I am looking for a way to return some value in the NAPTR response which can be added as a custom header to a 302 response. <div>
<br></div><div>For example this response:</div><div><br></div><div><div><a href="http://0.6.0.5.9.2.2.9.4.9.1.e164.org">0.6.0.5.9.2.2.9.4.9.1.e164.org</a>. 103 IN NAPTR 100 50 "u" "E2U+pstn:sip" "!^(.*)$!tel:\\1\;npdi\;rn=12139350001\;spid=979E!" .</div>
</div><div><br></div><div>results in a 302:</div><div><br></div><div>U 2013/07/02 20:40:03.902255 <a href="http://10.251.1.123:5060">10.251.1.123:5060</a> -> <a href="http://192.168.1.1:5060">192.168.1.1:5060</a> SIP/2.0 302 Redirect<br>
</div><div><div>Via: SIP/2.0/UDP 10.251.1.123:5060;branch=z9hG4bK1580013244rdb178</div><div>To: <<a href="mailto:sip%3A%2B19492295555@192.168.1.1">sip:+19492295555@192.168.1.1</a>>;tag=e62e844df37eed41859feb28dd9c191b.e058</div>
<div>From: <<a href="mailto:sip%3A2135551212@10.251.1.123">sip:2135551212@10.251.1.123</a>;otg=000622>;tag=580013244rdb178</div><div>Call-ID: <a href="mailto:lnp-264160668-1-2940542680@10.251.1.123">lnp-264160668-1-2940542680@10.251.1.123</a></div>
<div>CSeq: 1 INVITE</div><div>Contact: <tel:+19492295555;npdi;rn=12139350001;spid=979E>;q=0.99</div><div>Content-Length: 0<br></div></div><div><br></div><div>I would like to add an additional header to the 302, containing some other information, such as 'wireless':</div>
<div><br></div><div><div>U 2013/07/02 20:40:03.902255 <a href="http://10.251.1.123:5060">10.251.1.123:5060</a> -> <a href="http://192.168.1.1:5060">192.168.1.1:5060</a> SIP/2.0 302 Redirect<br></div><div><div>Via: SIP/2.0/UDP 10.251.1.123:5060;branch=z9hG4bK1580013244rdb178</div>
<div>To: <<a href="mailto:sip%3A%2B19492295555@192.168.1.1">sip:+19492295555@192.168.1.1</a>>;tag=e62e844df37eed41859feb28dd9c191b.e058</div><div>From: <<a href="mailto:sip%3A2135551212@10.251.1.123">sip:2135551212@10.251.1.123</a>;otg=000622>;tag=580013244rdb178</div>
<div>Call-ID: <a href="mailto:lnp-264160668-1-2940542680@10.251.1.123">lnp-264160668-1-2940542680@10.251.1.123</a></div><div>CSeq: 1 INVITE</div><div>Contact: <tel:+19492295555;npdi;rn=12139350001;spid=979E>;q=0.99</div>
<div>Content-Length: 0</div></div></div><div>X-Phone-Type: Wireless</div><div><br></div><div>Does either the sipmsgops.so or enum.so modules have a way to use a portion of the NAPTR response to create (append_hf) a custom header (i.e. X-Phone-Type)?</div>
<div><br></div><div>Thanks.</div><div><br></div><div><br></div><div><br></div><div><br></div></div>