<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>be careful with using param transformation directly not to have a
conflict of parameter name between URI parameters and header
parameters.</p>
<p>It may be safer to chain the tobody and param transformations to
be sure you access the right part of the header.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 02.05.17 09:02,
<a class="moz-txt-link-abbreviated" href="mailto:vivek@advaitamtech.com">vivek@advaitamtech.com</a> wrote:<br>
</div>
<blockquote cite="mid:1493708538.60791914@apps.rackspace.com"
type="cite"><font face="arial" size="2">
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;">I used
" $(ct{param.value,tgrp});". It worked. Thanks for the input.</p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;">- Vivek.</p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;">-----Original Message-----<br>
From: "Juha Heinanen" <a class="moz-txt-link-rfc2396E" href="mailto:jh@tutpro.com"><jh@tutpro.com></a><br>
Sent: Monday, 1 May, 2017 6:15pm<br>
To: "Kamailio (SER) - Users Mailing List"
<a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.kamailio.org"><sr-users@lists.kamailio.org></a><br>
Subject: [SR-Users] Retrieving the custom header parameter
value from contact header<br>
<br>
</p>
<div id="SafeStyles1493708493">
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;"><a class="moz-txt-link-abbreviated" href="mailto:vivek@advaitamtech.com">vivek@advaitamtech.com</a>
writes:<br>
<br>
> Tried using @hf_value.contact.p.tgrp . But it is giving
me complete<br>
> contact header. <br>
> I want only "tgrp" paramter value "tg_0615_prsw1".
Anyone , any<br>
> sugeestions?<br>
<br>
Try {uri.param,name} transformation.<br>
<br>
-- Juha<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></p>
</div>
</font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - May 22-24 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>