Anyone on this one?
Thanks again
Ricardo.-
-----Mensaje original-----
De: Ricardo Martinez [mailto:rmartinez@redvoiss.net]
Enviado el: Viernes, 17 de Diciembre de 2004 17:28
Para: SER Users (E-mail)
Asunto: [Serusers] Mediaproxy question : client_nat_test ().?
Hello List
I have a question regarding the client_nat_test() in the mediaproxy
module.
If i have an INVITE something like this.
INVITE sip:5555848114@mydomain.com SIP/2.0.
Via: SIP/2.0/UDP sipgw.mydomain.com:5060;
branch=z9hG4bKNxvDQVViBAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_.
Via: SIP/2.0/TCP xx.xx.154.68:14123.
From: <sip:22408100@sipgw.mydomain.com>;tag=3655298548.
To: sip:5555848114@mydomain.com.
CSeq: 1 INVITE.
Call-ID: 3406152498(a)sipgw.mydomain.com.
Contact: <sip:22408100@sipgw.mydomain.com>.
Accept: application/sdp.
Max-Forwards: 69.
Content-Type: application/sdp.
Content-Length: 200.
.
v=0.
o=sipgw.mydomain.com 811562435 1354711274 IN IP4 xx.xx.154.36.
s=SIP Library call.
c=IN IP4 xx.xx.154.68.
t=3312294794 0.
m=audio 23264 RTP/AVP 18 4.
a=rtpmap:18 G729/8000.
a=rtpmap:4 g723/8000.
How is possible to mediaproxy module detect this client as a NAT'd? Because
all the calls coming from this GW are being proxied by mediaproxy.
It suppose that this GW's has a public IP, so i don't understand why is this
happening.
Beside this can someone tell me if this is ok that a VIA parameter has a
domain name ????
The snippet for my NAT'd mediaproxy enviroment is :
if (client_nat_test("3")) {
log(1, "NAT: Requerimiento de IP privada --> fixed contact
(en rutina principal)\n");
setflag(5);
force_rport();
fix_contact();
append_hf("P-hint: fixed NAT contact for request\r\n");
....
if (method=="INVITE") {
log(1, "ROUTING: Reply processing (online user) enabled to
handle NAT'd resonses\n");
t_on_reply("1");
if ( (isflagset(5)) && (method=="INVITE" ||
method=="ACK") ) {
log(1, "NAT: Invite received --> enabling
media proxy (else del lookup 2do if)\n");
use_media_proxy();
append_hf("P-hint: request forced to media
proxy\r\n");
};
};
....
onreply_route[1] {
# If we've got here, it's because we've previously passed through a
block
# which handles NAT requests and has set a t_on_reply condition. DB
03-08-2004
if (status =~ "(183)|(2[0-9][0-9])") {
if (client_nat_test("3") || isflagset(5)) {
log(1, "NAT: Reply from NAT'd client --> fixing contact
(onreply_route)\n");
fix_contact();
use_media_proxy();
setflag(5);
};
log(1, "NAT: NAT'd transaction answered --> enabling media proxy
(onreply_route)\n");
# use_media_proxy();
};
}
Thanks in advance.
Best reegards,
Ricardo.-
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
I have been meaning to ask how other SER sites add new users to
their system. It always seemed odd to me that serctl didn't provide
a command line mode for adding the first_name, last_name and phone
values. I've managed with such a mode but now that Help Desk
staff will be creating user accounts I'd like to package the account
creation process into one coherent step. How do other sites
handle the account creation process? Have you developed your
own tools or do you use serctl and mysql?
Thanks,Steve
-----BEGIN PGP SIGNED MESSAGE-----
Hash: MD5
Hello,
I have gotten serweb and installed. I can login with normal users, but
I am not able to login as admin (in serweb/admin/index.php). I am
trying to login with the default admin user: admin-heslo
Any idea of which is the problem?
Thanks.
Regards.
-----BEGIN PGP SIGNATURE-----
Version: 2.6
iQEVAwUAQca8mHHoJ4bX5QlXAQGXHwf/auhFnM9U6mRmbXxeCe+WjWNwxvYFmLKe
vtJyRvzRkFn0O5rt6EcKftNtGAt47IQ2OMbHCeNPbRCBR6vr4kBs6Y/o5yogjRwv
UA61ySUJJYDGmWKXqr2Ug1rEYFWotTdsbj8ZJgiMFaMGw/sms7HHkWkwBe4ROxYo
lPMLaPH1MikYRt51gNoyKiMrJFdFPrlGjmiNQooorkCOXM0oRwiqJh+LwRGQebXe
3kND0DZ2psv+W4xwTt5R8GbrlZf8BK3cFjI/zTOI5NRj3xnh76uQVLOwd3MWk/Xy
vd8tEj2yUZQIV4K4+aQRmSOY+WzguUZPs6oDqqlUHirzl/0SKiaDxw==
=+Qis
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: MD5
Hello,
How can I make that when a user logins in ser redirect login to
another server? and, all his calls to be redirected to that server?
Thank you.
Regards.
-----BEGIN PGP SIGNATURE-----
Version: 2.6
iQEVAwUAQca7ZnHoJ4bX5QlXAQGfEwf/YIjpDXy5aNye5AhA0VeA6EknzG5q3ro1
Am7i2kweKiNojXFgJyu78MmHW6iKCKiJFN4mANvNkOvh0BofR4mDuUICYuvdhpMe
XPhLcZ2RRC2c8mdfhTzjU48pqid8IZhbcspitda2EBjZH3oy3ImiTXL0s52idXsk
cvnzTWWpTgnL3MWQPS9Mmi4m95M0CazKohyVuPrWxrqaqeErMxQPwDHOf+mGWnwS
hOSDdsaC3Tc6GbZJRr3NP7LbMJ2Dp9/dsce28otmgpgyUKzzOWdmyGZcJ0fQwTEw
rq07Ywb43gEBR4AsG7ZgItRjDJNh4uhhefnYoSHWRc85PZzDQj4l6Q==
=qxEp
-----END PGP SIGNATURE-----
Hi!
There is an excellent articel about the various NAT implementations in
the current issue of the Internet Protocol Journal:
http://www.cisco.com/warp/public/759/ipj_7-3.pdf
There you will find the background info to your NAT problems ;-)
cheers,
klaus
Hello All,
Is anyone successfully used SER and VOVIDA as prepaid platform ?.
Could anyone point me to some resource that might be helpful with
some examples ?
Thanks in advance
-skt
Hello
I have one phone (phone1) in one network, the other (phone2) in public
network. both can call the other side; phone1 can be heard by phone2, phone2
can't be heard. I don't have NAT set on both end, but I use rtpproxy on SER.
Is NAT still necessary to be set on both phones?
Thank you!
steven
dear all,
i am an absolute newbie at SER, sorry if this is a more-than-essential
question :)
what do we basically code in ser.cfg? is it a script language? how can
i learn the syntax of the language?
and then we program SER with codes with remarks like "routing logic".
how do we learn about the methods & functions used there?
checked for documentation (like ser_howto) from iptel.org site,
however they are inadequate?
best,
HI everyone,
I am planning to configure SER with FreeRADIUS authentication and calls
accounting.
Do I need to have a RADIUS-enabled UA to use this feature properly?
If not so, How does a UA register a domain and thus proceed calling?
Many thanks.
Proson