[Serusers] MediaProxy Not Showing The Traffic

Greger V. Teigre greger at teigre.com
Fri Sep 23 08:29:42 CEST 2005


Felipe,
Sounds like asterisk is trying to send directly to xlite (has not registered 
with mediaproxy), i.e. you haven't run use_media_proxy() on the OK from 
Asterisk.
g-)

----- Original Message ----- 
From: "Felipe Louback" <louback at gmail.com>
To: <serusers at lists.iptel.org>
Sent: Friday, September 23, 2005 02:52 AM
Subject: [Serusers] MediaProxy Not Showing The Traffic


>I installed ser 8.14 and using mediaproxy 1.4.2.
>
> I am trying to use X-lite to make a call to the PSTN through a PSTN
> gateway (asterisk). The PSTN phone rings and get voice, but X-lite
> only pass voice. I can hear nothing.
>
> When I use the tool sessions.py available with mediaproxy, it shows me
> the call but shows that it is inactive, although the PSTN phone can
> hear audio. And after 60 seconds it drops the session, but the PSTN
> end still can hear the audio sent from X-lite. And sessions.py does
> not show the IP of asterisk....
>
> [root at someplace mediaproxy]# ./sessions.py
>
> Caller                Via               Called     Status    Duration
> Codec    Type   Traffic
> ----------------------------------------------------------------------------------------------
> 200.150.x.x:8000 - 127.0.0.1:35008 - ?.?.?.?:?  inactive     0'10"
> Unknown  Audio  0/0/0
>
> If I run the rtpgenerator.py it shows the test rtp with traffic flowing.
>
> Here it is what I do in ser.cfg:
>
>   if (method=="INVITE" || method=="ACK") {
>        use_media_proxy();
>    };
>
>
>     if (!lookup("location")) {
>                if ( ( uri=~"^sip:[0-9]{8}@.*" )  ) {
>                        t_relay_to_udp("X.X.X.X", "5060");
>                        break;
>                }
>            sl_send_reply("404", "User not found");
>            break;
>     };
>
> If I turn off mediaproxy and disable the use_media_proxy, everything works 
> fine.
>
> Any ideas? I read every possible document and found nothing about this.
>
> Thanks
>
> Felipe
>
> --
> Master Student - Electrical Engineering Department
> Computer Engineering and Telecommunications Research Group
> Universidade Federal de Minas Gerais - Brazil
>
> "For God so loved the world that he gave his one and only Son, that
> whoever believes in him shall not perish but have eternal life."
> John 3:16
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 




More information about the sr-users mailing list