Hi, I'm suffering an important issue with MediaProxy in calls from/to my carrier
softswitch. Sometimes it seems that MediaProxy assigns a media port during
the INVITE but it closes it inmediatelly, so the following 183 forces the creation
of a different media port and obviously the media dies.
It works perfectly for long days but some days it has those problems. Please,
could you people help me in investigating if a problem in my OpenSer/MediaProxy?
I have a detailed real example. This is what happens:
---------------------------------------------------------------------------
09:28:46 - INVITE Client -> OpenSer (audio: 192.168.1.203:10370)
09:28:46 - INVITE OpenSer -> gateway (audio: 88.99.3.10:60696) <-- MediaProxy set 60696 port but inmediatelly ends the session.
09:28:48 - 183 Gateway -> OpenSer (audio: 66.11.6.142:45734)
09:28:48 - 183 OpenSer -> Client (audio: 88.99.3.10:60698) <-- Wrong port, MediaProxy set 60698 port !!!
09:28:49 - 200 Gateway -> OpenSer (audio: 66.11.6.142:45734)
09:28:49 - 200 OpenSer -> Client (audio: 88.99.3.10:60704) <-- Wrong port, MediaProxy set 60704 port !!!
---------------------------------------------------------------------------
This is the mediaproxy/proxydispatcher log. As you can see media port open
during INVITE is inmediatelly closed WHY?):
---------------------------------------------------------------------------------------
### 09:28:46
- 9:28:46 openser-host proxydispatcher[31874]: request 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net 192.168.1.203:10370:audio 88.99.1.192 sip.domain.net
local 66.11.0.144 remote Domain=20-=20Asterisk=20PBX info=from:216@sip.domain.net,to:996511959@sip.domain.net,fromtag:as3c11216c,totag:
- 09:28:46 openser-host mediaproxy[31869]: request 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net 192.168.1.203:10370:audio 88.99.1.192 sip.domain.net local
66.11.0.144 remote Domain=20-=20Asterisk=20PBX info=totag:,to:996511959@sip.domain.net,from:216@sip.domain.net,fromtag:as3c11216c
- 09:28:46 openser-host mediaproxy[31869]: session 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net: started. listening on 88.99.3.10:60696
- 09:28:46 openser-host mediaproxy[31869]: execution time: 0.60 ms
- 09:28:46 openser-host proxydispatcher[31874]: forwarding to mediaproxy on /var/run/mediaproxy.sock: got: '88.99.3.10 60696'
- 09:28:46 openser-host proxydispatcher[31874]: execution time: 2.45 ms
**************** ERROR: Why does it occur ??? ***********************
- 09:28:46 openser-host mediaproxy[31869]: session 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net: 0/0/0 packets, 0/0/0 bytes (caller/called/relayed)
- 09:28:46 openser-host mediaproxy[31869]: session 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net: ended (did timeout).
*********************************************************************
### 09:28:48
- 09:28:48 openser-host proxydispatcher[31874]: lookup 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net 66.11.6.142:45734:audio 66.11.0.144 sip.domain.net local
unknown unknown CS2000_NGSS/9.0 info=from:216@sip.domain.net,to:996511959@sip.domain.net,fromtag:as3c11216c,totag:4d764120338220087992847
- 09:28:48 openser-host mediaproxy[31869]: lookup 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net 66.11.6.142:45734:audio 66.11.0.144 sip.domain.net local
unknown unknown CS2000_NGSS/9.0 info=totag:4d764120338220087992847,to:996511959@sip.domain.net,from:216@sip.domain.net,fromtag:as3c11216c
- 09:28:48 openser-host mediaproxy[31869]: session 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net: started. listening on 88.99.3.10:60698
- 09:28:48 openser-host mediaproxy[31869]: session 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net: ended (did timeout).
### 09:28:58
- 09:28:58 openser-host proxydispatcher[31874]: lookup 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net 66.11.6.142:45734:audio 66.11.0.144 sip.domain.net local
unknown unknown CS2000_NGSS/9.0 info=from:216@sip.domain.net,to:996511959@sip.domain.net,fromtag:as3c11216c,totag:4d764120338220087992847
- 09:28:58 openser-host mediaproxy[31869]: lookup 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net 66.11.6.142:45734:audio 66.11.0.144 sip.domain.net local
unknown unknown CS2000_NGSS/9.0 info=totag:4d764120338220087992847,to:996511959@sip.domain.net,from:216@sip.domain.net,fromtag:as3c11216c
- 09:28:58 openser-host mediaproxy[31869]: session 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net: started. listening on 88.99.3.10:60704
- 09:28:58 openser-host mediaproxy[31869]: execution time: 0.62 ms
- 09:28:58 openser-host proxydispatcher[31874]: forwarding to mediaproxy on /var/run/mediaproxy.sock: got: '88.99.3.10 60704'
- 09:28:58 openser-host proxydispatcher[31874]: execution time: 1.15 ms
**************** ERROR: Why does it occur ??? ***********************
- 09:28:59 openser-host mediaproxy[31869]: session 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net: 0/0/0 packets, 0/0/0 bytes (caller/called/relayed)
- 09:28:59 openser-host mediaproxy[31869]: session 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net: ended (did timeout).
*********************************************************************
### 09:29:05
- 09:29:05 openser-host proxydispatcher[31874]: delete 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net info=
- 09:29:05 openser-host mediaproxy[31869]: delete 5be83da413f9dbd468a6d83818fb356d(a)sip.domain.net info=
---------------------------------------------------------------------------------------
I also attach the complete SIP capture of this real example, but I see nothing
wrong in it. The question is:
Why MediaProxy ends the session during the INVITE? why does it close the port?
Thanks a lot for any help.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es
mediaproxy diapatcher works in ubuntu hardy, but not in lenny. the only
difference i see is tls/python related versions is in python-gnutls:
hardy: python-gnutls 1.1.4-1
lenny: python-gnutls 1.1.5-2
-- juha
Well, the error message is quite self explaining: *No such file or
directory*
check if the */usr/src/OpenSER/openser-1.2.0-tls/modules/pna.so *really
exists.
Regards,
Bogdan
suresh tattikota wrote:
>
> hi
> i checked it in log file,i am getting these errors
>
> *ERROR: load_module: could not open module
> </usr/src/OpenSER/openser-1.2.0-*
> **
> *tls/modules/pna.so>:
> /usr/src/OpenSER/openser-1.2.0-tls/modules/pna.so: cannot open shared
> object file: No such file or directory
> *
> *openser: parse error (54,13-14): failed to load module*
>
> *ERROR: no version info in module
> </usr/local/lib/openser/modules/pna.so>:
> /usr/local/lib/openser/modules/pna.so: undefined symbol: module_version*
>
> * ERROR: no version info in module
> </usr/local/lib/openser/modules/pna.so>:
> /usr/local/lib/openser/modules/pna.so: undefined symbol: module_version
> *
>
>
> thank u
>
>
> On 7/7/08, *Bogdan-Andrei Iancu* <bogdan(a)voice-system.ro
> <mailto:bogdan@voice-system.ro>> wrote:
>
> Hi
>
> is tour openser starting or not? if not, look (eventually in
> syslog) for any startup errors.
>
> Regards,
> Bogdan
>
> suresh tattikota wrote:
>
> hi all
> ** *this is the steps i followed to add module *
> ** * i took one example module as exMod and this exMod sub
> directory is in directory called /modules *
> ** ** *1. created one makefile *
> *2.one .c file with one printf statement , .h file for
> corresponding .c file *
> *3.and added loadmodule "exMod.so" in openser.cfg file then *
> *4. i run the openser with * make prifix=/usr/local/ all and
> make prifix=/usr/local/ install
> 5 while i am running the openser it is not showing any thing
> *the .c an .h file of my* *exMod are *
>
> *exMod.c:*
>
> void print_modname()
> {
>
> printf("this is module name ");
> }
>
> *exMod.h*
>
> void print_modname();
>
> and my Makefile is :
>
> include ../../Makefile.defs
> auto_gen=
> NAME=exMod.so
> DEFS+=-I$(LOCALBASE)/include
> LIBS=
>
> include ../../Makefile.modules
>
> so please help me regarding this
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users(a)lists.openser.org <mailto:Users@lists.openser.org>
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>
>
>
Hi,
I am experiencing a very strange problem with REGISTER. If my SIP client
registers to Openser with openser's internal IP ( 192.168.1.104), then it
works. But if the SIP client registers using Openser's public IP, it does
not work. The 200K returned from Openser is different for each case. For
the 1st case, my SIP client recognizes the 200 OK, but for the 2nd case, my
SIP client will keep on sending another REGISTER upon receiving the 200 OK.
Here are the two different 200 OK msg that Openser sends back to the
client.
U 192.168.1.104:5060 -> 192.168.1.100:44522
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.1.100:44522
;branch=z9hG4bK-d87543-7e47d706ec23b831-1--d87543-;rport=44522.
To: "1006"<sip:1006@192.168.1.104 <sip%3A1006(a)192.168.1.104>
>;tag=329cfeaa6ded039da25ff8cbb8668bd2.b23f.
From: "1006"<sip:1006@192.168.1.104 <sip%3A1006(a)192.168.1.104>
>;tag=7e6bbb05.
Call-ID: MGYyMjczODBmNTRkMzA3Y2JmZjk4ODM0MjkxOWI5ZDQ..
CSeq: 2 REGISTER.
Contact: <sip:1006@192.168.1.100:16728;rinstance=d380362012deaf00>;expires=1909,
<sip:1006@192.168.1.100:16727;rinstance=94567af350ff0cad>;expires=1870,
<sip:1006@192.168.1.100:25572;rinstance=57a835af07252a9e>;expires=3286, <
U 192.168.1.104:5060 -> 78.251.75.157:16156
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.1.100:2388
;branch=z9hG4bK-d87543-f0701c5a1050361a-1--d87543-;rport=16156;received=
78.251.75.157.
To: "1006"<sip:1006@58.251.75.157 <sip%3A1006(a)58.251.75.157>
>;tag=329cfeaa6ded039da25ff8cbb8668bd2.b13f.
From: "1006"<sip:1006@58.251.75.157 <sip%3A1006(a)58.251.75.157>
>;tag=48233454.
Call-ID: ZDVjODBlMjAxODQ5ZjAxYTRkYzRjYzUxMjY3YzAxNjk..
CSeq: 2 REGISTER.
Contact: <sip:1006@192.168.1.100:16728;rinstance=d380362012deaf00>;expires=1493,
<sip:1006@192.168.1.100:16727;rinstance=94567af350ff0cad>;expires=1454,
<sip:1006@192.168.1.100:25572;rinstance=57a835af072
Any help will be greatly appreciated.
Thanks,
Mark
I installed openser 1.3, now I loaded Mysql module and made the required
changes in /etc/openser/openserctlrc file.
When I run the command:
openserctl add 100 100 100@localhost
I get the follwoing error:
ERROR 1054 (42S22) at line 1: Unknown column 'phplib_id' in 'field list'
ERROR: introducing the new user '192.168.10.182' to the database failed
Any idea what's going on?
thanks
Hi all,
i deleted openser.pid from /var/runand then i started
[root@info sbin]# openserctl start
database engine 'MYSQL' loaded
Control engine 'FIFO' loaded
Starting OpenSER :
ERROR: PID file /var/run/openser.pid does not exist -- OpenSER start failed
and then i started like:
[root@info sbin]# openser start
0(22725) cfg. warning: (28,15-16): tls support not compiled in
0(22725) cfg. warning: (29,10-13): tls support not compiled in
0(22725) cfg. warning: (30,21-22): tls support not compiled in
0(22725) cfg. warning: (31,21-22): tls support not compiled in
0(22725) cfg. warning: (32,34-35): tls support not compiled in
0(22725) cfg. warning: (33,14-19): tls support not compiled in
0(22725) cfg. warning: (34,20-21): tls support not compiled in
0(22725) cfg. warning: (35,20-21): tls support not compiled in
0(22725) cfg. warning: (36,16-17): tls support not compiled in
0(22725) loading module /usr/local/lib/openser/modules/mysql.so
0(22725) loading module /usr/local/lib/openser/modules/sl.so
0(22725) loading module /usr/local/lib/openser/modules/tm.so
0(22725) DEBUG: register_pv: tm
0(22725) xl_add_extra_spec: extra items list is not initialized
0(22725) xl_add_extra_spec: inserting extra item [T_branch_idx] at [0]
0(22725) xl_add_extra_spec: inserting extra item [T_reply_code] at [1]
0(22725) loading module /usr/local/lib/openser/modules/rr.so
0(22725) loading module /usr/local/lib/openser/modules/maxfwd.so
0(22725) loading module /usr/local/lib/openser/modules/usrloc.so
0(22725) loading module /usr/local/lib/openser/modules/registrar.so
0(22725) loading module /usr/local/lib/openser/modules/textops.so
0(22725) loading module /usr/local/lib/openser/modules/mi_fifo.so
0(22725) loading module /usr/local/lib/openser/modules/auth.so
0(22725) loading module /usr/local/lib/openser/modules/auth_db.so
0(22725) set_mod_param_regex: mi_fifo matches module mi_fifo
0(22725) set_mod_param_regex: found <fifo_name> in module mi_fifo
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: usrloc matches module usrloc
0(22725) set_mod_param_regex: found <db_mode> in module usrloc
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: usrloc matches module usrloc
0(22725) set_mod_param_regex: found <db_url> in module usrloc
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: auth_db matches module auth_db
0(22725) set_mod_param_regex: found <db_url> in module auth_db
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: auth_db matches module auth_db
0(22725) set_mod_param_regex: found <calculate_ha1> in module auth_db
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: auth_db matches module auth_db
0(22725) set_mod_param_regex: found <password_column> in module auth_db
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: rr matches module rr
0(22725) set_mod_param_regex: found <enable_full_lr> in module rr
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <mf_process_maxfwd_header>(1) in module
maxfwd [/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <sl_send_reply>(2) in module sl
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <sl_send_reply>(2) in module sl
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <record_route>(0) in module rr
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <loose_route>(0) in module rr
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <append_hf>(1) in module textops
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <append_hf>(1) in module textops
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <www_authorize>(2) in module auth_db
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <www_challenge>(2) in module auth
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <save>(1) in module registrar
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <lookup>(1) in module registrar
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <append_hf>(1) in module textops
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <lookup>(1) in module registrar
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <sl_send_reply>(2) in module sl
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <append_hf>(1) in module textops
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <t_relay>(0) in module tm
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <sl_reply_error>(0) in module sl
[/usr/local/lib/openser/modules/]
ERROR: bad config file (9 errors)
0(22725) INFO:mi_fifo:mi_destroy:memory for the child's mi_fifo_pid was not
allocated -> nothing to destroy
0(22725) DEBUG: tm_shutdown : start
0(22725) DEBUG: tm_shutdown : emptying hash table
0(22725) DEBUG: tm_shutdown : releasing timers
0(22725) DEBUG: tm_shutdown : removing semaphores
0(22725) DEBUG: tm_shutdown : destroying tmcb lists
0(22725) DEBUG: tm_shutdown : done
0(22725) shm_mem_destroy
please anybody help me.
With Best Regards,
Naveen.
hi all
i am getting these errors wile running the openser
*ERROR: load_module: could not open module </usr/src/OpenSER/openser-1.2.0-*
**
*tls/modules/pna.so>: /usr/src/OpenSER/openser-1.2.0-tls/modules/pna.so:
cannot open shared object file: No such file or directory
*
*openser: parse error (54,13-14): failed to load module*
*ERROR: no version info in module </usr/local/lib/openser/modules/pna.so>:
/usr/local/lib/openser/modules/pna.so: undefined symbol: module_version*
* ERROR: no version info in module </usr/local/lib/openser/modules/pna.so>:
/usr/local/lib/openser/modules/pna.so: undefined symbol: module_version
*
thank u
hi list, I have some problems installing serMyAdmin in centos 5 and openser 1.3.2, I have running tomcat5 and it loads very well, but when I add inside the file context.xml, it doesn't load , it show me a http STATUS 404..
that it can be happening?
I show them my file context.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- The contents of this file will be loaded for each web application -->
<Context>
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
</Context>
<Context path="/serMyAdmin">
<Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" maxActive="20" maxIdle="
10" maxWait="-1" name="jdbc/openser_MySQL" type="javax.sql.DataSource" url="jdbc:mysql://loc
alhost:3306/openser" username="sermyadmin" password="holacisco23/>
</Context>
Another point, the openser database and serMyAdmin don't export me, when I export the serMyAdmin openser.sql, he throws me the following error:
ERROR 1054 (42S22) at line 6: Unknown column 'version' in 'field list'
I waiting for their help, I congratulate to the serMyAdmin developer for this excellent application, he looks at very good to work with openser
rickygm