Hi All,
I have the following configuration:
> modparam("acc", "log_level", 1)
> modparam("acc", "log_flag", 1)
> modparam("acc", "multi_leg_enabled", 1)
> modparam("acc", "src_leg_avp_id", 110)
> modparam("acc", "dst_leg_avp_id", 111)
> modparam("acc", "db_flag", 1)
> modparam("acc", "log_missed_flag", 1)
> modparam("acc", "db_missed_flag", 1)
In the main route:
> avp_printf("i:110", "<$fu>");
> avp_printf("i:111", "<$ru>");
> setflag(1);
In the failure route:
> if (isflagset(26) && t_check_status("408") ) {
> avp_pushto("$ruri", "s:fwd_noanswer");
> resetdsturi();
> lookup("location");
> resetflag(26);
> avp_printf("i:110", "<$fu>");
> avp_printf("i:111", "<$ru>");
> t_relay();
> }
After making a call which has been forwarded I have several similar strings in
mysql but with the different src_leg and dst_leg. Is it the right behavior of
multi leg accountng ?
--------------
| sip_method |
+------------+
| INVITE |
| INVITE |
| INVITE |
| INVITE |
| ACK |
| ACK |
| BYE |
+------------+
It occurs when I tried to do a use_media_proxy().
I need to issue it when the call go through so that I can make use of
the mediaproxy. Whenever it happened , the calls will just bypass the
mediaproxy and go straight to the destination. This is all good , but
sometimes , it will end up as a one way voice session. Any ideas about
this ?
BTW, how effective is your mediaproxy implementation now ? Any tips on
how to further improve my implementation of the mediaproxy? I am also
looking at the option to forcibly push every calls through the
mediaproxy, but with this error, looks like there's nothing I can do
about it.
Regards,
Sam
-----Original Message-----
From: unplug [mailto:maillisting@gmail.com]
Sent: Tuesday, April 25, 2006 9:47 AM
To: Sam Lee
Cc: users(a)openser.org
Subject: Re: [Users] Mediaproxy problems
I also get this error. Mediaproxy seems to create such error in some
cases.
On 4/24/06, Sam Lee <sam.lee(a)super.net.sg> wrote:
>
> Hi all,
>
> I have been getting this error for some of the calls made from
> mediaproxy,
> error: use_media_proxy(): empty response from mediaproxy
>
> Any idea what is it ? It appears when i tried to do a
> use_media_proxy() What does it means ?
>
> Regards,
> Sam
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
Hello,
Is their a solution for video with rtpproxy ?
Regards
Harry
___________________________________________________________________________
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel.
Rendez-vous sur http://fr.yahoo.com/set
Hello,
I patched asterisk patched with the latest t38 support
.
I would need some people for tests.
Regards
harry
___________________________________________________________________________
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel.
Rendez-vous sur http://fr.yahoo.com/set
I'm still doing openser install, I'm stuck at creating database, Any know what is going on? This is the error message I get.
[root@localhost ~]# /usr/local/sbin/openser_mysql.sh create
MySql password for root:
Domain (realm) for the default user 'admin': localhost.localdomain
creating database openser ...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
I had a few cases in regards to SER (v.0.9.6) process crashing and leaving
core dumps. I've been debugging an issue and almost positive is in relation
to the code that parses URI's. During a few test cases, I have been
registering a user as "username@" in the username field. I believe something
and somewhere is stomping on the heap and causing a memory exception error
then crashes the process. I've included a core dump back trace while using
GDB debugger.
In response to this issue I modified a bit of code to patch the problem. I
am not submitting a fix to this issue just testing a temporary patch fix on
my end for testing. Excuse my programming ignorance I am not a professional
just submitting my findings to possibly fix this issue for my testing
purposes.
Is it possible to send my core dumps to a developer to analyze this problem
further? Please advise.
My current set-up is:
SER is configured using the auth radius module with FreeRADIUS and LDAP to
authenticate a user.
SER 0.9.6
Radiusclient-NG 0.5.2
FreeRADIUS 1.1.0
iPlanet Directory Server 5.2
Red Hat Enterprise 3 WS
This is the Malformed URI that seems to crash SER. Notice the double "@@" in
the registration URI:
parse_uri: bad host in uri (error at char @ in state 4)
parsed: <sip:mk%40@>(10) /<sip:mk%40@@x.x.x.x:3826> (30)
Possible place in (src/parser/parse_uri.c:476) where a bug resides:
case URI_HOST:
switch(*p){
case '[':
state=URI_HOST6_P;
break;
case ':':
case ';':
case '?': /* null host name ->invalid */
case '&':
case '@': /*chars not allowed in hosts names */
- //goto error_bad_host;
+ p++; /* Hack Fix */
default:
state=URI_HOST_P;
Back trace from 1 of 11 core dumps:
#0 0x0805934a in new_hash2 (call_id={s = 0xb7a1d9e1 <Address 0xb7a1d9e1 out
of bounds>, len = -1214129699}, cseq_nr=
{s = 0x522d6472 <Address 0x522d6472 out of bounds>, len = 1702131055})
at hash_func.c:119
119 v=(*p<<24)+(p[1]<<16)+(p[2]<<8)+p[3];
Hello,
I finally managed to get openser dispatching the registrations to my
asterisk servers (thanks to all those who helped out). I now tried to get a
natted client to register but with no success. After sniffing the packets
the whole process works fine, except the last leg. Let's see if I can
explain this clearly:
(We will consider 192.168.1.X to be natted and 10.X.X.X to be public (to
protect the innocent)
ATA 192.168.1.100
Router 192.168.1.1 and 10.1.1.45
SER server 10.1.3.6
Asterisk server 10.2.2.2
ATA sends a REGISTER from 192.168.1.100:5060 to the SER server
The router mangles the packet and makes it as from (on the IP side, not the
SIP side) 10.1.1.45:27000
SER received packet adds a received header and send it to the asterisk
server 10.2.2.2
>From an ethereal sniff there's a "Via:SIP/2.0/UDP 10.1.3.6:5060;" and a
"Via: SIP/2.0/UDP 192.168.1.100:5060;received=10.1.1.45" header on the
packet going from the SER server to the asterisk server.
Asterisk answers back to SER, SER strips the "Via:SIP/2.0/UDP
10.1.3.6:5060;" and forwards it to the router at 10.1.1.45 as indicated in
the Via.
And here lies the problem. When the response is sent back to the router, it
is sent back to port 5060 instead of the originating port 27000. So the
packet gets dropped by the router.
If we look at the received header, there is no port indicated. So logically
openser sends it back to the default port. But when the first packet was
received by openser shouldn't it have put the received port on the received
?
Thanks for your time,
Benjamin
Thanks Joao Pereira, earlier install is fixed by doing a yum install gcc, yum install biston, yum install flex. I have a new problem now when Creating MySQL Database.
creating database openser ...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[root@localhost sip-server]# /usr/local/sbin/openser_mysql.sh create
MySql password for root:
Domain (realm) for the default user 'admin': mysipserver.com
creating database openser ...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)