s
>> Klaus
>>
>> On 03.10.2013 11:38, Grant Bagdasarian wrote:
>> > Hello,
>> >
>> > Is it possible to append a new header to a reply generated by Kamailio
>> > and also have it present when duplicating the message to a capture
>> server?
>
er exit is called.
> >
> > From what I understood: onreply_route is only executed when receiving
> > replies.
> >
> > Is there a reply_route which is executed for all replies, including the
> > ones generated by kamailio itself?
> >
> > For instance inside this code block:
> >
> >
eplies.
> >
> > Is there a reply_route which is executed for all replies, including the
> > ones generated by kamailio itself?
> >
> > For instance inside this code block:
> >
> > request_route {
> >
> > .
> >
> >
We use something like this:
if ((uri =~ "^sip:90[0-9]{6}@.*") &&
(!avp_check("$avp(s:perms)","re/9/g"))) {
xlog("$ru : No permissions to call 90X numbers ($ci)");
sl_send_reply("403", "No permissions to call 90XX");
exit;
}
and t