On Tuesday 29 December 2009 01:55:27 juergen(a)glowka.de wrote:
> Hello,
>
> I'm new here. So I say "hello" to everybody.
>
> Maybe, somebody can help me or push me in the right direction.
>
> If there are Caller and Callee behind the same NAT, so it should
> be better, they connect directly (e.g. 192.168.x.1 <-->192.168.x.2),
> instead of using the rtp-proxy (this causes a jitter noise) .
>
>
> I'm using Kamailio 1.5.3 with RTPPROXY 1.2.1.
>
> Has anybody a code snip or a sample kamailio.cfg for me?
> I would be thankful for it.
Better than giving you the solution, try to guest it ...
Think a little ... what have in common a REQUEST from UAC A to UAC B if they
are behing THE SAME NAT ROUTER ?
--
Raúl Alexis Betancor Santana
Dimensión Virtual
____________________________________________
Dear Mr. Santana
Thanks for trying to help.
oh, I guess, they've got the same IP-Address ;-)
I found this code-snip in :
dokuwiki/doku.php/examples:caller-callee-behind-same-nat
______________________________________
else if ( isflagset(2) and isflagset(3) )
{
log(1, "Both Clients are behind NAT");
# Store the destination domain into an AVP
avp_printf("$avp(i:450)", "$dd");
if ( avp_check("i:450", "eq/$src_ip/g") )
{
xlog("L_INFO", "2 Clients Behind the Same NAT - Disabling Mediaproxy");
# Do not use mediaproxy as the clients seem to be behind the same NAT
resetflag(2);
resetflag(3);
}
}
_______________________________________
But this Code-snip contains many mistakes
so I changed it to :
_______________________________________
if ( isflagset(5) and isbflagset(6) )
{
lookup("location");
log(1, "Both Clients are behind NAT");
# Store the destination domain into an AVP
avp_printf("$avp(i:450)", "$dd");
if ( avp_check("$avp(i:450)", "eq/$src_ip/g") )
{
xlog("L_INFO", "2 Behind the Same NAT - Disabling Mediaproxy");
# Do not use mediaproxy as the clients seem to be behind the same NAT
resetflag(5);
resetbflag(6);
}
}
_______________________________________
This seems to work, but I still have got this looping, jittering feeping
noise witch is getting louder and louder ...
Two or three words I can talk, then it sounds, as if a group of Navajo-Indians
gone attack me .... :-)
Could it be the client? I use 2 PDAs, Windows Mobile, Portsip Ver. 2.6
Best Wishes, also for me
Juergen Glowka
Hi every body
I am using ser to solve the nat problem,
In my environment: invite A-->SER-->B
1. SER receive the invite message REQA from A(invite B)
2. SER judge the use B, if the B is in public network, will fix nat in the REQA message
if judge the B is in private network , will not fix anything
and I want to know, how to judge the B's network, when the SER receive the INVITE from A?
Is there any examle code used in ser.cfg
thank you very much
2009-12-29
姓名:王振中
公司:艾诺通信系统(苏州)有限公司
地址:苏州工业园区苏虹西路81号苏虹工业坊A8单元二楼
Hello,
I'm new here. So I say "hello" to everybody.
Maybe, somebody can help me or push me in the right direction.
If there are Caller and Callee behind the same NAT, so it should
be better, they connect directly (e.g. 192.168.x.1 <-->192.168.x.2),
instead of using the rtp-proxy (this causes a jitter noise) .
I'm using Kamailio 1.5.3 with RTPPROXY 1.2.1.
Has anybody a code snip or a sample kamailio.cfg for me?
I would be thankful for it.
Best wishes
Juergen Glowka
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/usershttp://lists.openser-project.org/cgi-bin/mailman/listinfo/users
please always Cc: the list....
On 23.12.2009 16:24, Rodney wrote:
> Well could you explain how to actually get peering functioning
> between Kamailio on inbound and outbound?
>
There is no "peering functioning" in kamailio. You self have to define
how you want to peer.
For example if you want to peer with somebody sending you inbound
requests, you have to define at least:
- number format
- authentication (IP-based, TLS, digest)
One you have defined those parameters, you can implement it, e.g. digest
authentication or IP based authentication.
The same for outbound route - you have to configure Kamailio so that
outbound requests are sent in the proper format.
And Kamailio can not register to any other SIP service. If you need such
a feature, you better use Asterisk.
regards
klaus
>
> -----Original Message----- From: Klaus Darilion
> [mailto:klaus.mailinglists@pernau.at] Sent: Wednesday, December 23,
> 2009 8:49 AM To: Rodney Cc: users(a)lists.kamailio.org Subject: Re:
> [Kamailio-Users] adding inbound and outbound routes seperately
>
>
> On 22.12.2009 22:35, Rodney wrote:
>> Ok, I have kamailio and siremis, and I need to know how to set up
>> a separate in bound and outbound route.
>>
>> Peering with inbound and registering with outbound
>>
>
> Kamailio is a sip proxy, thus it can not register to other SIP
> proxy.
>
> regards klaus
>
>> Any ideas guys?
>>
>> R
>>
>>
>>
>> _______________________________________________ Kamailio (OpenSER)
>> - Users mailing list Users(a)lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Hi,
I have used asterisk before, but now am looking at kamailio for scaling up.
I've read 'Building Telephony Systems with OpenSER', but I still have lots
of questions.... so, here it goes:
- I could not find a way to reboot a phone remotely, can it send
SIP NOTIFY to all phones?
- does it have something like the Asterisk Manager Interface,
so I can connect/create an operator panel for it? Does that
already exist somewhere? Something like FOP where operators can
transfer calls, and check availability?
- according to the docs it is not a BTBUA. What does this mean?
I know that asterisk is a BTBUA, but what can a BTBUA do that a
SIP proxy cannot? Is it only the moh and conferences?
- lastly, is there a good tutorial on load-balancing somewhere?
Thanks,
Antonio.
Hi folks,
I used a Draytek Vigor 2820PBX to register iptel, and I found 400 missing
cookie issue. When my pbx send the reinvite to hold another side, iptel
always responded pbx 400 missing cookie. But I checked invite Via field, its
branch included magic cookie "z9hG4bK". I attached wireshark packets.
BR
Dennis
Hi everybody,
before you leave the computers and go on holidays, I want to thank you
all for the good work and support of the Kamailio and SIP Router projects.
I wish you a Merry Christmas and a Happy New Year!
As the project name is a Hawaiian word - the "Kamailian" greeting is:
"Mele Kalikimaka me ka Hau'oli Makahiki Hou!"
How would it be in your language?
May the new year bring you joy, peace, good health and prosperity! Enjoy
the winter holidays!
Ramona
Hello All,
I am trying to setup a test scenario, where i have Kamailio and rtpproxy
running on one CentOS box (Server1) and i have Asterisk running on
another CentOS box (Server2). Server1 has 2 NIC's eth0 and eth1 that are
both assigned Public IP's. There is a transparent bridge br0 connecting
eth0 and eth1 which also has its own Public IP. Finally eth0 on Server2
also has a Public IP.
Server2 must be assigned a Public IP.
My goal is to modify rtpproxy so that i can intercept packets traveling
to Server2, process them and let them resume along their original path.
I would like to know if there is another way of setting this up so that
i dont use as many Public IP's ?
Do any of you see a problem with this setup, things that may not work
eventually, or any other concerns ?
Thanks,
Vikram.
Hi,
I'll (like in the last years) participate in the annual congress of the
CCC in Berlin next week - the 26c3. More informations can be found on
their site:
http://events.ccc.de/congress/2009/wiki/Welcome
So if you are in Berlin as well in this week (not necessarly on this
event) and are interested in meeting for some discussions, please drop me
a mail.
Best regards,
Henning