Hi list,
I´m trying to put to work a NATed environment and want to share some
information and request some I don´t realized yet.
I use an asterisk gateway, with a public IP, working really fine for UAs
with public IPs. At the same machine I runs SER that receives all SIP
messages and handle when it should go to a SIP UA or to asterisk,
rewriting the port (to the one asterisk uses) and sending to it. I don´t
replicate register to asterisk, and use the user accounts as "peer",
instead of "friends".
My ser.cfg is using the "force_rport()" and "fix_nated_contact()" for
every REGISTER it receives from nat UAs - I know when it comes from a
NATed UA using nat_uac_test("2").
Every INVITE that comes from NATed UA passes through a
"fix_nated_sdp("2"), that rewrites the IP address of SDP headers. Using
a onreply route I fix the 200 OK INVITE message, just in case that the
NATed UA is on the called side.
The UAs I´m using are X-Lite, Clipcomm CP-100 IP Phone, and Grandstream
HT-488.
Below I wrote the different kinds of configuration into the UA and in
ser.cfg, and the results I got:
1) Using without touching the UA - It don´t know it is a NATed UA.
-----------------------------------------------------------------------------------------------------------------------------
All REGISTER are treated ok because the force_rport make SER respond to
the register on the same external IP:Port it received. On the same hand,
it stores the right URI into the location database making the UA receive
the subsequent INVITES or other SIP messages through the external IP:Port.
The INVITES that comes from NATed UA have their SDP IP address rewriten
by SER and the external IP takes place. But the port is kept the
internal value, so when the called UA tries to reach the
External_IP:Internal_port the NAT/Firewall probably block/drops the
packets, and the result is a one-way audio - The one-way audio is
probably due to the right value that comes from the SDP headers of the
called UA - asterisk -, that has a public IP.
2) a=direction:active
----------------------------------
If I add into ser.cfg a "fix_nated_sdp("1")" command, it will add the
"a=direction:active" parameter to SDP header of INVITE that comes from
NATed UAs. I saw that it´s happening but the asterisk seems to not
understand that and don´t expect for the first RTP packet to get the
IP:Port information of the media. A one-way audio is the result of that.
The asterisk is probably sending RTP packets to the
Ext_IP:Internal_port, and the firewall is blocking the packets.
3) Using STUN
------------------------
When I set the STUN server into the UA configuration - I used
stunserver.org - the ua correct replaces the contact and sdp headers IP
address, but do nothing about the RTP port, keeping the problem that the
internal port of the UA, for media path, that the asterisk - or any
other public UA - tries to reach is blocked by the firewall.
DO ANYBODY WANTS TO SHARE SOME INFORMATION ABOUT THIS PROBLEM?
Thanks in advance,
Ricardo Poppi
I installed serweb on my Centos 4.1 server and edited all the paths,
configs. When I try to login with admin and heslo, I get "Bad Password"
I checked that register_globals=on and short_open_tag=on and restarted
apache.
I can't find the solution, I'd appreciate any help.
Chris
Hello,
I'm trying to send out a SIP BYE Message with sipsak to make my phones
hanging up (to force them to hang up)...
I used a file that is called bye.ser and looks like this:
BYE sip:55@192.168.1.101:5060 SIP/2.0
Route: <sip:192.168.1.222:5061;lr>
From: sip:14@192.168.1.101:5062;user=phone
To: sip:55@192.168.1.101:5060;user=phone
Contact: sip:14@192.168.1.101:5062;user=phone
CSeq: 42759 BYE
Call-ID: 746707906-47a484e6(a)192.168.1.101
User-Agent: sipsak 0.8.13
Max-Forwards: 16
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE
Content-Length: 0
...using the command:
sipsak -f bye.ser -s sip:192.168.1.222:5061 -vvv
... but the message doesn't go out. My ser is running on 192.168.1.222:5061
Well, my question is: How can I capture the SIP messages that are going
through my ser?? Is there any debug option to do that? It would be easier
for me to simulate it after...
Many thanks!!
Sebastian
Hello,
please (CC) the mailing list in your replies
comments are inline
> I'm trying to make the new SERWEB 0.9.3 working on a FreeBSD 5.4 and SER 0.9.3 -freeBSD
>
> First : php configs, ending with the same issue nothing, just blank white page.
> Remark that for example Phpmyadmin and mysql 4 /php-5 works fine
Could you send me your php.ini please. I know that this problem was
reported but I can't reproduce it.
> Second : tables does not match
> Which install or release or version, ... implement table_cdr, table_uuidaliase, net_geo.... ???
Which tables don't match? If you useing both ser and serweb v0.9.3,
tables must much.
Tables you mentioned (table_cdr, table_uuidaliase, net_geo) are not
used in default configuration.
> Third: compatibility OS, pear classkit errors
> pear install -f classkit
> configure: error: libtool configure failed
sorry I don't know freebsd and I haven't any problem with this. Try ask
on some PHP forum.
> Finally, which OS I have to use to make sure minimum working ?
> Debian ? Which one are you using or recommend ?
Debian. And use prepared packages provided by iptel.
Karel
> Thanks in advance for "any" help or info
> geo
>
>
>
>>Hello,
>>which version of serweb are you useing?
>>
>>Karel
>>
>>
>>Sebastian Kühner napsal(a):
>>
>>>Hello,
>>>
>>>I have a big problem with serweb. I'm searching for the solution since
>>>hours... but I didn't find it!!
>>>
>>>I installed serweb according to in the installation guide and the HOWTOs
>>>that I found in the internet. The problem is that if I want to open the
>>>index.php-page (of admin), always appears the Explorer Window
>>>
>>>"The page cannot be displayed"
>>>
>>>and when I look at the access_log of apache2 there appears something like
>>>that:
>>>
>>>GET
>>>/serweb/index.php?phplib_Session=d69f77e7ccb0d3b6c7d684bcbc368063&phplib_Ses
>>>sion=4c8a0c40e09c1bfa01a91ef5832a026a&phplib_Session=5f354e9a405ade8796a54a3
>>>88b0353db&phplib_Session=769c3fa2b669f1dcdd2291c24227ef5d&phplib_Session=4ca
>>>670bdd9a1f4f20441eac5f96c7b8e&phplib_Session=da194f7b1855c60daf515de13b14dab
>>>2&phplib_Session=9bba333123ff119f94f924aeb0bc4710&phplib_Session=f6c9842d7cf
>>>429c632608ad4ee7645c7&phplib_Session=bf06f602d09a1d313297a00f4b293133&phplib
>>>_Session=6d798a6dcc84dac416415312debe47d3&phplib_Session=4d1991912b23d4a59ee
>>>1f29f40830317&phplib_Session=31268d0242558745860dbacf41a1be15&phplib_Session
>>>=5255e631f1cde5c708cb985db5ebfcaa&phplib_Session=7020b63c06bd983fb5eb054ac4e
>>>f627f&phplib_Session=9651b78d2f391f94f23c8b46c603d0a5&phplib_Session=466c61f
>>>55a87cb7ac4661e2816a3ec9d&phplib_Session=9515dbc324cc048f72fb7e1149166f18&ph
>>>plib_Session=e0940531f81730793c23a703d772e738&phplib_Session=8e67ddbe3e69eec
>>>9a952b2a59eed48ea&phplib_Session=621fc501c7590d413a79c58278956677&phplib_Ses
>>>sion=a4f2af4b0d2e757e0568ee76f8563262&phplib_Session=70960d0cd7a32896b7fd80a
>>>0a4c7f806&phplib_Session=5b78a5a53455042a992def2ab3012430&phplib_Session=0c8
>>>fb10161429bca54375b4dda5aec51&phplib_Session=b1ddb14986db2740a239b5f3494ae08
>>>3&phplib_Session=e281788f6b7533869817cce01a1ebaeb&phplib_Session=d16de271da5
>>>e37b5de9f81268975330b&phplib_Session=45a453bdc8d3969f392c2a4e230c7e0a&phplib
>>>_Session=8cd36450b9f6d0592bfe9864bb4e3782&phplib_Session=db9b2e8ca0094fafc2b
>>>923cd377c558c&phplib_Session=dcd92ee19095fba1c4a1475183b27352&phplib_Session
>>>=38e1ab2e6f6a65a1bce8d7602db10014&phplib_Session=b074fa09bae847e186be4c22ed8
>>>280a5&phplib_Session=27e2d0c9e4172bed9752fe20a744195c&phplib_Session=d817e3e
>>>3639c105042228e083f9081dd&phplib_Session=f9ac5312dcfcdf3bade2f80a7d6d98bf&ph
>>>plib_Session=5f15600e879327263d4d83f489ec6422&phplib_Session=dde588458177dde
>>>8907b932a4ee8a0fe&phplib_Session=d55285a056e6e5a873735a673d80a7cc&phplib_Ses
>>>sion=1c51e86702ef7004638d9488cd967304&phplib_Session=bf5b51775d6208711b6904f
>>>eeddf5d7b&phplib_Session=a7940c6ed31b41c83b60174ae05b023d HTTP/1.1" 302 -
>>>
>>>
>>>... that means that serweb wants to make "thousands" of sessions. I didn't
>>>find a solution for that in the internet and I hope that someone of you can
>>>help me!
>>>
>>>Thanks!
>>>
>>>Sebastian
>>>
>>>
>>>_______________________________________________
>>>Serusers mailing list
>>>serusers(a)lists.iptel.org
>>>http://lists.iptel.org/mailman/listinfo/serusers
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers(a)lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
>
>
>
>
>
> ___________________________________________________________________________
> Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
> Téléchargez cette version sur http://fr.messenger.yahoo.com
Dear SER experts,
I've downloaded and configured SER v0.9.3, as well as serweb, the
head CVS version. I succeeds by serweb with subscribtion, logging
on, and changing my own details. But the red message appears on my
user page:
"DB Error: no such table".
However, again, there is now problem with actions mentioned just above.
I'm not familiar with PHP, but I found that many php files under
"serweb/data_layer/" directory contain the same "if" statement comprising
the "DB_ERROR_NOSUCHTABLE" constant:
if (DB::isError($res)) {
if ($res->getCode()==DB_ERROR_NOSUCHTABLE) return true; //expected, table mayn't exist in installed version
else {log_errors($res, $errors); return false;}
}
- it may be useful ...
How should I locate & resolve this problem?
Much thanks.
--
Best regards,
Timur Elzhov
Warelex LLC
Hello everyone, i am running, ser 0.9.3 on debian stable and get this error:
Jul 8 10:21:41 sip_server ser: set_mod_param_regex: No module matching
acc_radius found |
Jul 8 10:21:41 sip_server ser: parse error (55,19-20): Can't set module
parameter
I have this in line 55 of my ser.cfg
modparam("acc_radius", "radius_flag", 1)
any help will be apreciated
maxi
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
Hi all,
I want to know please if there is a SER function available to compare the
username from teh From field in the sip message with the username
resgistered in the database (in the subscriber table).I want to put such a
function in order to restrict calls from registered users with modified
caller-id.
Thank you.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Is there anywhere I can get a current rpm for Centos4, or good
instrucitons for installing from the tar ball? I did the tarball install
but I'm having problems with mysql and authentication.
Chris