[prev in list] [next in list] [prev in thread] [next in thread]
List: sr-users
Subject: [OpenSER-Users] Editing of SDP's?
From: klaus.mailinglists () pernau ! at (Klaus Darilion)
Date: 2007-06-29 13:14:11
Message-ID: 468505A3.5060102 () pernau ! at
[Download RAW message or body]
Geir O. Jensen wrote:
> strings, I can't match the entire string as it's unknown...
That's why regular expressions exists.
>
>> Geir O. Jensen wrote:
>>> Hm, my problem escalated a bit... Apparently... If I do this in my
>>> .cfg
>>>
>>> if (has_body()){
>>> xlog("L_INFO","- body found");
>>> };
>> Do you use it in a reply route? It should work in reply-route
>> too. If not, it is a bug.
>
> I did this in the main route just after the sanity checks and before the
> loose_route. Has_body() triggers only on outgoing messages containing a sdp
> (i.e. invites) - not on replies (i.e. 200 OK w/SDP).
>
> Soo... Is it a bug?
No. Replies do not enter route{}, thus the function is never called. You
either have to explicitly activate a reply route (tm module README,
t_on_reply("1") ) or use the default reply route (
onreply_route{...}).
regards
klaus
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic