[Users] Re: mediaproxy working, but not if asterisk is involved

Arne Van Theemsche arnevt at gmail.com
Fri Sep 29 10:25:36 CEST 2006


for the record (and the archive). The problem is located. *stupid me* didn't
use a transaction forward. I now use t_relay to go to my asterisk, and the
reply is recognised

arne


2006/9/21, Arne Van Theemsche <arnevt at gmail.com>:
>
> hi
>
> my users subscribe with openser, en asterisk is used as connectivity to
> pstn
>
> i am now installing a mediaproxy, for all users, so every call goes via a
> mediaproxy.
>
> I'm doing this as follows (relevant statements only)
>
> in route
>
>         #I installed the t_on_reply here to be sure that every reply gets
> parsed, but normally in the INVITE section should be enough?
>         t_on_reply("1");
>
>         if (method==INVITE) {
>                 use_media_proxy();
>         }
>
>
> onreply_route[1] {
>         log(-3,"reply received");
>         if (!search("^Content-Length:[ ]*0")) {
>                 log(-3,"using mediaproxy");
>                 use_media_proxy();
>         };
> }
>
>
> the weird is, for all local users, this works fine, but as soon as
> asterisk is involved, the reply doesn't get triggered (not seeing the "reply
> received" either, only when disconnecting the call). The call get's
> established fine, asterisk is sending media to the mediaproxy, but  the SDP
> towards the calling phone is not modified (since the onreply isn't
> triggered)
>
> am I missing something here?
>
> thanks
> Arne
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20060929/3f9828df/attachment.htm 


More information about the Users mailing list