you mean adding the required parameters in AVP? is it possible to to emplain how can i add diffrent cpc into p-asserted-id based on calling party number? e.g if the calling party is mobile then cpc is mobile <br><br>Thanks,<br>
<br>Asim<br><br><div class="gmail_quote">On Mon, Feb 1, 2010 at 10:44 AM, Iñaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
El Lunes, 1 de Febrero de 2010, Asim Riaz escribió:<br>
<div class="im">> Yes its valid to add such parameter into Remote-part-ID and<br>
> P-Asserted-Identity heade, do I need to use Textops ?<br>
> I also need to add diffrent cpc for diffrent calling party types e.g<br>
> mobile, landline etc.<br>
<br>
</div>Remote-Party-ID can be added using some functions in textops module (I think,<br>
or perhaps they are in other module). However it's easier just to create P-<br>
Asserted-Identity (which is the real standard rather than Remote-Party-Id)<br>
from scrath:<br>
<br>
append_hf("P-Asserted-Identity: <sip:$AVP(SOME_AVP)@MY_DOMAIN>\r\n");<br>
<br>
You can add there the required parameters.<br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="h5">Iñaki Baz Castillo <<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
<br>
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></div></div></blockquote></div><br>