[OpenSIPS-Users] Mediaproxy 2.1.0: dispatcher - relay problems

Magnus Burman magnus.burman at adamoeurope.com
Tue Dec 9 12:46:56 CET 2008


Found the error... my modification of the from-header must be faulty, 
cut out the if-clause below and everything works!

Note to self, get some sleep before asking stupid questions... ;)

Best Regards,
Magnus

Magnus Burman wrote:
> Having some troubles getting Mediaproxy 2.1.0 working. I'm on a VPS 
> with a fresh Debian Etch, running OpenSips 1.4.3 (which log below is 
> for, also tried Kamailio 1.4.1 earlier [separate debian installation], 
> log was pretty much identical).
>
> Best Regards,
> Magnus
>
> --- syslog ---
> Dec  9 01:01:30 host001 media-relay[2492]: 
> [RelayClientProtocol,client] error: Required header "from_tag" for 
> command "update" not found

> route[1] {
>    ## Forward statefully
>    # Find users caller-id
>    if(avp_db_query("select call_id from subscriber_extras where 
> username = '$fU'", "$avp(s:cid)")) {
>        remove_hf("From");
>        append_hf("From: <sip:$avp(s:cid)@<opensips ip>>\r\n", "To");
>    }
>    setflag(1);
>    if (!t_relay()) {
>        sl_reply_error();
>    };
>    exit;
> }



More information about the Users mailing list