Hello Jayesh
Did you try changing the dial plan ?
As far as i remember the factory dial plan includes somethign like : *xx
So you need to modify this specific dial plan for *xx[NUMBER] or something like that..
Cheers!
Ricardo Martinez.-
-----Mensaje original-----
De: users-bounces(a)openser.org [mailto:users-bounces@openser.org]En nombre de Jayesh Nambiar
Enviado el: sábado, 22 de julio de 2006 7:09
Para: openser
Asunto: [Users] PAP2 device problem
Hi all,
I dont know if this is the relevant question to ask on this list, but still if someone could help me.....
I have my openser working fantastically as I needed. I have forwarding and voicemail features configured in openser.
The configuration is like any user can dial *86 followed by the number, and the number will be his forward on busy number, similarly *87 followed by the number and that number will be his forward on no-answer number.
What I basically do is strip, the *86 or *87 and store the appropriate values in usr_preferences table. This setup works fine with xten, eyebeam and audiocdes analog gateways.
But when I try this with a linksys PAP2T device, it does not work.
The reason is, in the PAP2 device, if u press 2 digits after the * it sends that to the proxy. It does not wait for further number to be dialed. Any 2 digits after * is relayed to proxy directly.
I've tried disabling all features in the PAP2 device but still failed to get it working for me. Can someone give me an idea of how do I stop my linksys box from doing this.
I want that the user be able to dial *86123456 and then it should go to the proxy, so that I can get 123456 as the forwarded number.
Can someone please help me on this...
Thanks in advance,
Jayesh.
_____
Find out what India is talking about on Yahoo! <http://us.rd.yahoo.com/mail/in/mailanswersshare/*http://in.answers.yahoo.co…> Answers India.
Hi
I have SER installed and working fine,
my DID provider forward the 20 DID to My IP address to my SERVER
when i authenticate using that DID iam able to make calls in and out ( using
SER)
Now i have other Office located in different Place and that is different
branch
there i have planning install Asterisk for PBX local VoIP and calling out (
using SER )
now i would like to forward 10 DID from SER to Asterisks internet Asterisk
will bind the DID to extension or
autoattendent.
how can i do that ?
can some one give me some idea or point to me to documents
could be helpfull
thanks
ram
Hi,
I've been trying to configure a development version of SER specifically the ser-0.10.99-dev35-pa-4.1 release wich was claimed to have better support for Presence/XCAP service but always having error on debug run. Anyone have encountered such problem? Thanks.
0(15611) loading module /usr/local/ser-0.10.99/lib/ser/modules/lib_ser_cds.so
0(15611) ERROR: no version info in module </usr/local/ser-0.10.99/lib/ser/modules/lib_ser_cds.so>: /usr/local/ser-0.10.99/sbin/ser: undefined symbol: module_version
Regards,
Erwin
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi Josh,
Thanks for the message, unfortunately, I dont have a ser/modules directory under /usr/lib.... all the modules are in /usr/local/lib/ser/modules ...Any other ideas? :)
Cheers - CM
Date: Mon, 24 Jul 2006 10:49:39 -0400Subject: Re: [Serusers] Problem starting SER with MYSQLFrom: jlaroff(a)gmail.comTo: champike(a)hotmail.com
Try changing the path to the modules directory in ser.cfg to /usr/lib/ser/modules/This is where they are located on my fedora box.-JoshOn 7/24/06 10:36 AM, "Champike Munasinghe" <champike(a)hotmail.com> wrote:
Hi, I've downloaded and installed SER 0.9.6 on my Fedora Core system running MySQL 4.1.11-0. When I start SER without modifying the /usr/local/etc/ser/ser.cfg file, it starts normally. However, when I make the modifications to use MySQL for the database, following Dan Austin's HOWTO, I get the following error: Jul 24 15:09:45 sipgw ser: ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: libmysqlclient.so.12: cannot open shared object file: No such file or directoryJul 24 15:09:45 sipgw ser: parse error (28,13-14): failed to load modulemysql.so does exist in the /usr/local/lib/ser/modules directory, but libmysqlclient.so.12 doesnt. I found libmysqlclient.so.14 in /usr/lib/mysql directory and tried creating a symbolic link called libmysqlclient.so.12 to that file, this didnt work. Also, I tried copying the so.14 file into /usr/local/lib/ser/modules as libmysqlclient.so.12, still got the same error. I tried searching the lists, but couldnt find any info that mentioned anything about this issue. Am I doing something really stupid here? Thanks for your help Cheers!! -CM
_______________________________________________Serusers mailing listSerusers@lists.iptel.orghttp://lists.iptel.org/mailman/listinfo/serusers
Im not sure what the problem is. However, it's not just the uri.so you
have to change to uri_db.so, when migrating from 0.8.x to 0.9.x. There
are more things like:
1. vm.so module does not exist in 0.8.x anymore. Been moved to tm.so
2. All the operands such as "&" or "|" must be changed to "&&" and
"||" respectively
3. Negation such as in if( ! value1=value2) will now be if
(value1 != value2)
4. pa.so module has no effect in 0.9.x, because it will always NOTIFY
with status "closed" for anyone who subscribes to SER.
5. There might be more, but I dont remember now.
If you've sent your ser.cfg file, maybe someone could help, because
sometimes it's difficult to see the error w/o seeing config file.
Andrey.
On 7/24/06, Asep Saifudin <aseps2000(a)gmail.com> wrote:
>
> Andrey,
> I have try ser.cfg on Onsip.org but not meet with my plan.
> Btw, I have running SER 0.8.14 on my Linux machine and then the ser.cfg file
> I copy & paste to my new SER 0.9.6 (and I have change uri to uri_db) machine
> and then when I type ser -c I got message error in /var/log/messages like
> this :
> Jul 24 21:17:17 sangbintang kernel: pid 51240 (ser), uid 0: exited on signal
> 11 (core dumped).
>
> And then I type serctl start, I got message like these :
> Jul 24 21:17:46 sangbintang /usr/local/sbin/ser[51248]: Maxfwd module-
> initializing
> Jul 24 21:17:46 sangbintang /usr/local/sbin/ser[51248]: db_url=0x82091a0
> Jul 24 21:17:46 sangbintang /usr/local/sbin/ser[51248]: db_url=
> mysql://ser:heslo@localhost/ser
> Jul 24 21:17:46 sangbintang /usr/local/sbin/ser[51248]: db_url.len=31
> Jul 24 21:17:46 sangbintang /usr/local/sbin/ser[51248]:
> pa_domain=sip.handhelds.org
> Jul 24 21:17:46 sangbintang /usr/local/sbin/ser[51248]: pa_mod: use_db=1
> db_url.s=mysql://ser:heslo@localhost/ser pa_domain=sip.hand
> helds.org
> Jul 24 21:17:46 sangbintang /usr/local/sbin/ser[51248]: pa_mod_init done
> Jul 24 21:17:59 sangbintang kernel: Limiting closed port RST response from
> 253 to 200 packets/sec
> Jul 24 21:18:01 sangbintang kernel: Limiting closed port RST response from
> 233 to 200 packets/sec
> Jul 24 21:18:02 sangbintang kernel: Limiting closed port RST response from
> 262 to 200 packets/sec
> Jul 24 21:18:04 sangbintang kernel: Limiting closed port RST response from
> 283 to 200 packets/sec
> Jul 24 21:18:24 sangbintang kernel: Limiting closed port RST response from
> 253 to 200 packets/sec
> Jul 24 21:18:25 sangbintang kernel: Limiting closed port RST response from
> 233 to 200 packets/sec
> Jul 24 21:18:27 sangbintang kernel: Limiting closed port RST response from
> 262 to 200 packets/sec
> Jul 24 21:18:28 sangbintang kernel: Limiting closed port RST response from
> 283 to 200 packets/sec
> Jul 24 21:19:04 sangbintang /usr/local/sbin/ser[51250]: TESTING TO SEE IF IT
> IS FROM LOCAL NAT.
> Jul 24 21:19:04 sangbintang /usr/local/sbin/ser[51250]: REPLYING DOMAIN NOT
> SERVED HERE.
>
> What's the meaning of them cos I still got registration problem ? (it's hard
> for me as a newbie in SER) :((
>
>
> 2006/7/24, Andrey Kouprianov <andrey.kouprianov(a)gmail.com>:
> > The sample conf file for PSTN gateway can be found with getting
> > started document on onsip.org ftp site. Plz, check.
> >
> > On 7/24/06, Asep Saifudin <aseps2000(a)gmail.com> wrote:
> > >
> > > Hi Andrey,
> > > I have install SER 0.9.6.x in my FreeBSD 6.0 and my configuration until
> now
> > > still failed (core dumped and my Xten won't register to SER even I have
> > > account in subscriber table.
> > > Do you have (or anybody have) sample running configuratin of ser.cfg for
> SER
> > > 0.9.6.x which I can try/use on my SER server ? my scheme is simple, my
> SER
> > > can call inter SER-account and call to PSTN/Mobile via my quintum
> gateway.
> > > Hopefully you have sample running ser.cfg file
> > >
> > > ~Asep
> > >
> > > 2006/7/24, Andrey Kouprianov <andrey.kouprianov(a)gmail.com>:
> > > >
> > > Thing is, 0.8.14 doesnt have uri_db.so module (only uri.so), which was
> > > introduced in version 0.9.x. That's why it would not work.
> > >
> > > On 7/24/06, Giuseppe Parlato <gparlato(a)tnet.it> wrote:
> > > > If I unload uri.so and but I load uri_db.so I get the following error:
> > > > bind_dbmod: Module sql does not export db_use_table function
> > > > ERROR: mod_init(): Can't bind database module
> > > > init_mod(): Error while initializing module usrloc
> > > > WARNING:fm_free: free(0) called
> > > >
> > > > However I dont get error no more on this line:
> > > > modparam("auth_db|domain|group|uri|usrloc", "db_url",
> > > > " sql://serro:psw@xxx.xxx.xxx.xxx/ser")
> > > >
> > > > ???
> > > >
> > > >
> > > > Giuseppe
> > > >
> > > > ----- Original Message -----
> > > > From: "Giuseppe Parlato" < gparlato(a)tnet.it>
> > > > To: "Andrey Kouprianov" <andrey.kouprianov(a)gmail.com>
> > > > Cc: < serusers(a)iptel.org >
> > > > Sent: Sunday, July 23, 2006 8:11 PM
> > > > Subject: Re: [Serusers] error configuration file
> > > >
> > > >
> > > > > Before (0.8.14) in conf file uri_db.so was not loaded but everything
> > > > > worked the same.
> > > > > In my conf file I had:
> > > modparam("auth_db|domain|group|uri|usrloc",
> > > > > "db_url", "sql://serro:psw@xxx.xxx.xxx.xxx/ser"), but if I upgrade
> to
> > > > > 0.9.6 I get an error on this line.
> > > > >
> > > > >
> > > > > ..I'm using freeradius
> > > > >
> > > > > thanks
> > > > > Giuseppe
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Andrey Kouprianov" < andrey.kouprianov(a)gmail.com>
> > > > > To: < serusers(a)iptel.org>
> > > > > Sent: Saturday, July 22, 2006 12:02 PM
> > > > > Subject: Re: [Serusers] error configuration file
> > > > >
> > > > >
> > > > >>I think it's the check_from() that gives the error. Check if you've
> > > > >> loaded uri_db.so module...
> > > > >>
> > > > >> On 7/21/06, Klaus Darilion < klaus.mailinglists(a)pernau.at> wrote:
> > > > >>> maybe && instead of & ?????
> > > > >>>
> > > > >>> this error message also happens if you forget to close all if
> blocks
> > > > >>> (watch out for missing '}' )
> > > > >>>
> > > > >>> regards
> > > > >>> klaus
> > > > >>>
> > > > >>> Giuseppe Parlato wrote:
> > > > >>> > Hi.. I got the following error when I try to start ser:
> > > > >>> >
> > > > >>> > parse error (329,55-56): unknown command, missing loadmodule?
> > > > >>> > ERROR: bad config file (1 errors)
> > > > >>> > ser startup failed
> > > > >>> >
> > > > >>> > so on my configuration file the problem is this here:
> > > > >>> > } else if ((method=="INVITE") & !check_from()) {
> > > > >>> >
> > > > >>> > I was using ser 0.8.14 then upgraded to 0.9.6, but configuration
> > > file
> > > > >>> > has not been changed. The same file worked on 0.8.14 version.
> > > > >>> >
> > > > >>> >
> > > > >>> > help please
> > > > >>> > Giuseppe
> > > > >>> > _______________________________________________
> > > > >>> > 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
> > > > >>>
> > > > >> _______________________________________________
> > > > >> Serusers mailing list
> > > > >> Serusers(a)lists.iptel.org
> > > > >> http://lists.iptel.org/mailman/listinfo/serusers
> > > > >>
> > > > >>
> > > > >> --
> > > > >> No virus found in this incoming message.
> > > > >> Checked by AVG Free Edition.
> > > > >> Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date:
> > > > >> 21/07/2006
> > > > >>
> > > > >>
> > > > >
> > > > > _______________________________________________
> > > > > Serusers mailing list
> > > > > Serusers(a)lists.iptel.org
> > > > > http://lists.iptel.org/mailman/listinfo/serusers
> > > > >
> > > > >
> > > > > --
> > > > > No virus found in this incoming message.
> > > > > Checked by AVG Free Edition.
> > > > > Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date:
> > > 21/07/2006
> > > > >
> > > > >
> > > >
> > > >
> > > _______________________________________________
> > >
> > > 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
> >
>
>
I am a SER starter.
I have seen many subjects related to Openser.
Can someone shed a light on what are the differences between these?
And even some insights to suggest which may be better than the other?
We are planing to start business service shortly and we appreciate any
inputs on which SIP server infrastructure provides better performance and
scalability.
Thank you in advance.
John K.
I just tried all of that.. Still no luck. I even made sure the UA’s were
using ports 10000 and higher.
Any other suggestions?
marc
_____
From: Ali Zaidi [mailto:aligzaidi@gmail.com]
Sent: Monday, July 24, 2006 4:56 PM
To: Marc Rys
Subject: Re: [Serusers] SER/MediaProxy Audio issues - NEED HELP
Marc,
Ok, try restarting ser + MySQL + MediaProxy then reregister your both ATA.
let me know,
Ali
On 7/24/06, Marc Rys <HYPERLINK "mailto:m.rys@ivalve.net"m.rys(a)ivalve.net>
wrote:
Ali,
Thank you for helping. I've changed my mediaproxy.ini file to the
following. But the one way audio is still happening.
Marc
-----------------------------------------------------------
Mediaproxy.ini
-----------------------------------------------------------
[Dispatcher]
;start = yes
socket = /var/run/proxydispatcher.sock
;group = ser
defaultProxy = /var/run/mediaproxy.sock
[MediaProxy]
start = yes
socket = /var/run/mediaproxy.sock
group = ser
listen = None
allow = None
proxyIP = HYPERLINK "http://12.178.142.235"12.178.142.235 # This is
where OpenSER installed
portRange = 10000:10100
TOS = 0xb8
idleTimeout = 60
holdTimeout = 180
forceClose = 0
accounting = off
[Accounting]
user = root
password =
host = localhost
database = ser
table = acc
________________________________________
From: Ali Zaidi [mailto:HYPERLINK
"mailto:aligzaidi@gmail.com"aligzaidi(a)gmail.com]
Sent: Monday, July 24, 2006 4:40 PM
To: Marc Rys
Subject: Re: [Serusers] SER/MediaProxy Audio issues - NEED HELP
Marc,
Mediaproxy.ini has not RTP ports declare.
;portRange = 2000:8000 # These values are set same in ATA's configs <-
2000:8000 range conflict with 5060.
Try following,
portRange = 10000:10100
then restart mediaproxy.
Let me know if you still have problem, i can help further.
Ali...
On 7/24/06, Marc Rys <HYPERLINK "mailto:m.rys@rystec.com" m.rys(a)rystec.com>
wrote:
Hello All,
I'm fairly new to SER / Mediaproxy.I've been following the examples from
HYPERLINK "http://onsip.org"onsip.org using the latest Getting started docs.
At this point I'm testing with two Grandstream Handytone 486 UA' s.One
NAT'd, one not.
Please check out the following URL to see a diagram explaining my setup.
HYPERLINK
"http://marc.ivalve.net/ser/gif_1.gif"http://marc.ivalve.net/ser/gif_1.gif
"UA-2" cannot hear anything spoken from "UA-1", although I can hear what is
said from "UA-2" on "UA-1", but not vice versa.2-way voice is not
happening.
Both UA's do register to SER.The NAT'd UA couldn't register until I got
Mediaproxy installed.Mediaproxy does appear to start with out errors.
Below are my Ser.cfg and Mediaproxy.ini.
Please Help.
Marc
Ser.cfg
--------------------------------------------------------------
#5a-mysql-mediaproxy-ser.cfg
debug=3
fork=yes
log_stderror=no
listen=XXX.XXX.XXX.235 # INSERT YOUR IP ADDRESS HERE
port=5060
children=4
dns=no
rev_dns=no
fifo="/tmp/ser_fifo"
fifo_db_url="mysql://ser:heslo@localhost/ser"
loadmodule "/usr/lib/ser/modules/mysql.so"
loadmodule "/usr/lib/ser/modules/sl.so"
loadmodule "/usr/lib/ser/modules/tm.so"
loadmodule "/usr/lib/ser/modules/rr.so"
loadmodule "/usr/lib/ser/modules/maxfwd.so"
loadmodule "/usr/lib/ser/modules/usrloc.so"
loadmodule "/usr/lib/ser/modules/registrar.so"
loadmodule "/usr/lib/ser/modules/auth.so"
loadmodule "/usr/lib/ser/modules/auth_db.so"
loadmodule "/usr/lib/ser/modules/uri.so"
loadmodule "/usr/lib/ser/modules/uri_db.so"
loadmodule "/usr/lib/ser/modules/domain.so"
loadmodule "/usr/lib/ser/modules/mediaproxy.so"
loadmodule "/usr/lib/ser/modules/nathelper.so"
loadmodule "/usr/lib/ser/modules/textops.so"
modparam("auth_db|uri_db|usrloc", "db_url",
"mysql://ser:heslo@localhost/ser")
modparam("auth_db", "calculate_ha1", 1)
modparam("auth_db", "password_column", "password")
modparam("nathelper", "rtpproxy_disable", 1)
modparam("nathelper", "natping_interval", 0)
modparam("mediaproxy","natping_interval", 30)
modparam("mediaproxy","mediaproxy_socket", "/var/run/mediaproxy.sock")
modparam("mediaproxy","sip_asymmetrics","/etc/ser/sip-clients")
modparam("mediaproxy","rtp_asymmetrics","/etc/ser/rtp-clients")
modparam("usrloc", "db_mode", 2)
modparam("registrar", "nat_flag", 6)
modparam("rr", "enable_full_lr", 1)
route {
#
------------------------------------------------------------------------
# Sanity Check Section
#
------------------------------------------------------------------------
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483", "Too Many Hops");
break;
};
if (msg:len > max_len) {
sl_send_reply("513", "Message Overflow");
break;
};
#
------------------------------------------------------------------------
# Record Route Section
#
------------------------------------------------------------------------
if (method=="INVITE" && client_nat_test("3")) {
# INSERT YOUR IP ADDRESS HERE
record_route_preset("XXX.XXX.XXX.235:5060;nat=yes");
} else if (method!="REGISTER") {
record_route();
};
# -----------------------------------------------------------------
# Call Tear Down Section
# -----------------------------------------------------------------
if (method=="BYE" || method=="CANCEL") {
end_media_session();
};
#
------------------------------------------------------------------------
# Loose Route Section
#
------------------------------------------------------------------------
if (loose_route()) {
if ((method=="INVITE" || method=="REFER") && !has_totag()) {
sl_send_reply("403", "Forbidden");
break;
};
if (method=="INVITE") {
if (!proxy_authorize("","subscriber")) {
proxy_challenge("","0");
break;
} else if (!check_from()) {
sl_send_reply("403", "Use From=ID");
break;
};
consume_credentials();
if (client_nat_test("3") || search("^Route:.*;nat=yes")) {
setflag(6);
use_media_proxy();
};
};
route(1);
break;
};
#
------------------------------------------------------------------------
# Call Type Processing Section
#
------------------------------------------------------------------------
if (uri!=myself) {
route(4);
route(1);
break;
};
if (method=="ACK") {
route(1);
break;
} else if (method=="CANCEL") {
route(3);
break;
} else if (method=="INVITE") {
route(3);
break;
} else if (method=="REGISTER") {
route(2);
break;
};
lookup("aliases");
if (uri!=myself) {
route(4);
route(1);
break;
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found");
break;
};
route(1);
}
route[1] {
#
------------------------------------------------------------------------
# Default Message Handler
#
------------------------------------------------------------------------
t_on_reply("1");
if (!t_relay()) {
if (method=="INVITE" || method=="ACK") {
end_media_session();
};
sl_reply_error();
};
}
route[2] {
#
------------------------------------------------------------------------
# REGISTER Message Handler
#
------------------------------------------------------------------------
sl_send_reply("100", "Trying");
if (!search("^Contact:[ ]*\*") && client_nat_test("7")) {
setflag(6);
fix_nated_register();
force_rport();
};
if (!www_authorize("","subscriber")) {
www_challenge("","0");
break;
};
if (!check_to()) {
sl_send_reply("401", "Unauthorized");
break;
};
consume_credentials();
if (!save("location")) {
sl_reply_error();
};
}
route[3] {
# -----------------------------------------------------------------
# INVITE Message Handler
# -----------------------------------------------------------------
if (client_nat_test("3")) {
setflag(7);
force_rport();
fix_nated_contact();
};
if (!proxy_authorize("","subscriber")) {
proxy_challenge("","0");
break;
} else if (!check_from()) {
sl_send_reply("403", "Use From=ID");
break;
};
consume_credentials();
lookup("aliases");
if (uri!=myself) {
route(4);
route(1);
break;
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found");
break;
};
route(4);
route(1);
}
route[4] {
#-----------------------------------------------------------------
# NAT Traversal Section
# -----------------------------------------------------------------
if (isflagset(6) || isflagset(7)) {
if (isflagset(8)) {
setflag(8);
use_media_proxy();
};
};
}
onreply_route[1] {
if ((isflagset(6) || isflagset(7)) &&
(status=~"(180)|(183)|2[0-9][0-9]")) {
if (!search("^Content-Length:[ ]*0")) {
use_media_proxy();
};
};
if (client_nat_test("1")) {
fix_nated_contact();
};
}
------------------------------------------------------------
mediaproxy.ini
------------------------------------------------------------
[Dispatcher]
;start = yes
socket = /var/run/proxydispatcher.sock
;group = ser
defaultProxy = /var/run/mediaproxy.sock
[MediaProxy]
start = yes
socket = /var/run/mediaproxy.sock
group = ser
listen = None
allow = None
proxyIP = XXX.XXX.XXX.235# This is where OpenSER installed
;portRange = 2000:8000# These values are set same in ATA's configs
for RTP Range
TOS = 0xb8
idleTimeout = 60
holdTimeout = 180
forceClose = 0
accounting = off
[Accounting]
user = root
password =
host = localhost
database = ser
table = acc
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006
_______________________________________________
Serusers mailing list
HYPERLINK "mailto:Serusers@lists.iptel.org"Serusers(a)lists.iptel.org
HYPERLINK
"http://lists.iptel.org/mailman/listinfo/serusers"http://lists.iptel.org/mai
lman/listinfo/serusers
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006
I am experiencing this weir issue.
On some calls I don't get 200 OK and ACK and so the is dropped because INVITE expres.
this is the log about 3 calls, the first ans second are without 200 OK ans ACK the tird one is with them and it is estabilished in a good way.
A is the voip customers
B is ser proxy
C is the PSTN gateway
7331.881781 A -> B SIP/SDP Request: INVITE sip:0828963359@voip.prova.it, with session description
7331.883158 B -> A SIP Status: 407 Proxy Authentication Required
7331.987931 A -> B SIP Request: ACK sip:0828963359@voip.prova.it
7331.988081 A -> B SIP/SDP Request: INVITE sip:0828963359@voip.prova.it, with session description
7332.018157 B -> A SIP Status: 100 trying -- your call is important to us
7332.018602 B -> C SIP/SDP Request: INVITE sip:0828963359@C:5060, with session description
7332.114175 C -> B SIP Status: 100 Trying
7332.176249 C -> B SIP Status: 183 Session Progress
7332.177555 B -> A SIP Status: 183 Session Progress
7333.637122 C -> B SIP/SDP Status: 183 Session Progress, with session description
7333.638364 B -> A SIP/SDP Status: 183 Session Progress, with session description
7377.818129 B -> A SIP Status: 408 Request Timeout
7377.825608 B -> C SIP Request: CANCEL sip:0828963359@C:5060
7377.857091 A -> B SIP Request: ACK sip:0828963359@voip.prova.it
7377.897414 C -> B SIP Status: 200 OK
7377.898809 C -> B SIP Status: 487 Request Terminated
7377.899679 B -> C SIP Request: ACK sip:0828963359@C:5060
7394.152872 A -> B SIP/SDP Request: INVITE sip:0828963359@voip.prova.it, with session description
7394.154283 B -> A SIP Status: 407 Proxy Authentication Required
7394.263174 A -> B SIP Request: ACK sip:0828963359@voip.prova.it
7394.314345 A -> B SIP/SDP Request: INVITE sip:0828963359@voip.prova.it, with session description
7394.344910 B -> A SIP Status: 100 trying -- your call is important to us
7394.345321 B -> C SIP/SDP Request: INVITE sip:0828963359@C:5060, with session description
7394.439264 C -> B SIP Status: 100 Trying
7394.506851 C -> B SIP Status: 183 Session Progress
7394.508176 B -> A SIP Status: 183 Session Progress
7395.305016 C -> B SIP/SDP Status: 183 Session Progress, with session description
7395.306549 B -> A SIP/SDP Status: 183 Session Progress, with session description
7439.955201 B -> A SIP Status: 408 Request Timeout
7439.962438 B -> C SIP Request: CANCEL sip:0828963359@C:5060
7439.997963 A -> B SIP Request: ACK sip:0828963359@voip.prova.it
7440.042139 C -> B SIP Status: 200 OK
7440.046886 C -> B SIP Status: 487 Request Terminated
7440.047528 B -> C SIP Request: ACK sip:0828963359@C:5060
7460.312529 A -> B SIP/SDP Request: INVITE sip:0828963359@voip.prova.it, with session description
7460.314196 B -> A SIP Status: 407 Proxy Authentication Required
7460.343504 A -> B SIP Request: ACK sip:0828963359@voip.prova.it
7460.417725 A -> B SIP/SDP Request: INVITE sip:0828963359@voip.prova.it, with session description
7460.447096 B -> A SIP Status: 100 trying -- your call is important to us
7460.447528 B -> C SIP/SDP Request: INVITE sip:0828963359@C:5060, with session description
7460.545094 C -> B SIP Status: 100 Trying
7460.613676 C -> B SIP Status: 183 Session Progress
7460.614909 B -> A SIP Status: 183 Session Progress
7461.520262 C -> B SIP/SDP Status: 183 Session Progress, with session description
7461.521608 B -> A SIP/SDP Status: 183 Session Progress, with session description
7463.544538 C -> B SIP/SDP Status: 200 OK, with session description
7463.546046 B -> A SIP/SDP Status: 200 OK, with session description
7463.586935 A -> B SIP Request: ACK sip:0828963359@C:5060
7463.595536 B -> C SIP Request: ACK sip:0828963359@C:5060
7511.516164 A -> B SIP Request: BYE sip:0828963359@C:5060
7511.532938 B -> C SIP Request: BYE sip:0828963359@C:5060
7511.606909 C -> B SIP Status: 200 OK
7511.607877 B -> A SIP Status: 200 OK
Should this behavior be triggered by some misconfiguration in my ser.cfg or it is only about the PSTN gateway not sending 200 OK?
Many Thnaks
Rosario
Rosario Pingaro
D. Lgs 196/2003
Il presente messaggio contiene informazioni confidenziali, indirizzate esclusivamente alle persone sopra indicate. Se il ricevente non è tra dette persone, non dovrà intraprendere alcuna azione, tipo copia, stampa o trasmettere il suo contenuto a terzi ed i relativi allegati, ma solo informare il mittente dell'errore e cancellare il messaggio. Il mittente dovrà, altresì, accertarsi che gli allegati non contengano virus prima di aprirli.
Ali,
Thank you for helping. Ive changed my mediaproxy.ini file to the
following. But the one way audio is still happening.
Marc
-----------------------------------------------------------
Mediaproxy.ini
-----------------------------------------------------------
[Dispatcher]
;start = yes
socket = /var/run/proxydispatcher.sock
;group = ser
defaultProxy = /var/run/mediaproxy.sock
[MediaProxy]
start = yes
socket = /var/run/mediaproxy.sock
group = ser
listen = None
allow = None
proxyIP = 12.178.142.235 # This is where OpenSER installed
portRange = 10000:10100
TOS = 0xb8
idleTimeout = 60
holdTimeout = 180
forceClose = 0
accounting = off
[Accounting]
user = root
password =
host = localhost
database = ser
table = acc
________________________________________
From: Ali Zaidi [mailto:aligzaidi@gmail.com]
Sent: Monday, July 24, 2006 4:40 PM
To: Marc Rys
Subject: Re: [Serusers] SER/MediaProxy Audio issues - NEED HELP
Marc,
Mediaproxy.ini has not RTP ports declare.
;portRange = 2000:8000 # These values are set same in ATA's configs
<- 2000:8000 range conflict with 5060.
Try following,
portRange = 10000:10100
then restart mediaproxy.
Let me know if you still have problem, i can help further.
Ali...
On 7/24/06, Marc Rys <m.rys(a)rystec.com> wrote:
Hello All,
I'm fairly new to SER / Mediaproxy. I've been following the examples from
onsip.org using the latest Getting started docs.
At this point I'm testing with two Grandstream Handytone 486 UA's. One
NAT'd, one not.
Please check out the following URL to see a diagram explaining my setup.
http://marc.ivalve.net/ser/gif_1.gif
"UA-2" cannot hear anything spoken from "UA-1", although I can hear what is
said from "UA-2" on "UA-1", but not vice versa. 2-way voice is not
happening.
Both UA's do register to SER. The NAT'd UA couldn't register until I got
Mediaproxy installed. Mediaproxy does appear to start with out errors.
Below are my Ser.cfg and Mediaproxy.ini.
Please Help.
Marc
Ser.cfg
--------------------------------------------------------------
#5a-mysql-mediaproxy-ser.cfg
debug=3
fork=yes
log_stderror=no
listen=XXX.XXX.XXX.235 # INSERT YOUR IP ADDRESS HERE
port=5060
children=4
dns=no
rev_dns=no
fifo="/tmp/ser_fifo"
fifo_db_url="mysql://ser:heslo@localhost/ser"
loadmodule "/usr/lib/ser/modules/mysql.so"
loadmodule "/usr/lib/ser/modules/sl.so"
loadmodule "/usr/lib/ser/modules/tm.so"
loadmodule "/usr/lib/ser/modules/rr.so"
loadmodule "/usr/lib/ser/modules/maxfwd.so"
loadmodule "/usr/lib/ser/modules/usrloc.so"
loadmodule "/usr/lib/ser/modules/registrar.so"
loadmodule "/usr/lib/ser/modules/auth.so"
loadmodule "/usr/lib/ser/modules/auth_db.so"
loadmodule "/usr/lib/ser/modules/uri.so"
loadmodule "/usr/lib/ser/modules/uri_db.so"
loadmodule "/usr/lib/ser/modules/domain.so"
loadmodule "/usr/lib/ser/modules/mediaproxy.so"
loadmodule "/usr/lib/ser/modules/nathelper.so"
loadmodule "/usr/lib/ser/modules/textops.so"
modparam("auth_db|uri_db|usrloc", "db_url",
"mysql://ser:heslo@localhost/ser")
modparam("auth_db", "calculate_ha1", 1)
modparam("auth_db", "password_column", "password")
modparam("nathelper", "rtpproxy_disable", 1)
modparam("nathelper", "natping_interval", 0)
modparam("mediaproxy","natping_interval", 30)
modparam("mediaproxy","mediaproxy_socket", "/var/run/mediaproxy.sock")
modparam("mediaproxy","sip_asymmetrics","/etc/ser/sip-clients")
modparam("mediaproxy","rtp_asymmetrics","/etc/ser/rtp-clients")
modparam("usrloc", "db_mode", 2)
modparam("registrar", "nat_flag", 6)
modparam("rr", "enable_full_lr", 1)
route {
#
------------------------------------------------------------------------
# Sanity Check Section
#
------------------------------------------------------------------------
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483", "Too Many Hops");
break;
};
if (msg:len > max_len) {
sl_send_reply("513", "Message Overflow");
break;
};
#
------------------------------------------------------------------------
# Record Route Section
#
------------------------------------------------------------------------
if (method=="INVITE" && client_nat_test("3")) {
# INSERT YOUR IP ADDRESS HERE
record_route_preset("XXX.XXX.XXX.235:5060;nat=yes");
} else if (method!="REGISTER") {
record_route();
};
# -----------------------------------------------------------------
# Call Tear Down Section
# -----------------------------------------------------------------
if (method=="BYE" || method=="CANCEL") {
end_media_session();
};
#
------------------------------------------------------------------------
# Loose Route Section
#
------------------------------------------------------------------------
if (loose_route()) {
if ((method=="INVITE" || method=="REFER") && !has_totag()) {
sl_send_reply("403", "Forbidden");
break;
};
if (method=="INVITE") {
if (!proxy_authorize("","subscriber")) {
proxy_challenge("","0");
break;
} else if (!check_from()) {
sl_send_reply("403", "Use From=ID");
break;
};
consume_credentials();
if (client_nat_test("3") || search("^Route:.*;nat=yes")) {
setflag(6);
use_media_proxy();
};
};
route(1);
break;
};
#
------------------------------------------------------------------------
# Call Type Processing Section
#
------------------------------------------------------------------------
if (uri!=myself) {
route(4);
route(1);
break;
};
if (method=="ACK") {
route(1);
break;
} else if (method=="CANCEL") {
route(3);
break;
} else if (method=="INVITE") {
route(3);
break;
} else if (method=="REGISTER") {
route(2);
break;
};
lookup("aliases");
if (uri!=myself) {
route(4);
route(1);
break;
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found");
break;
};
route(1);
}
route[1] {
#
------------------------------------------------------------------------
# Default Message Handler
#
------------------------------------------------------------------------
t_on_reply("1");
if (!t_relay()) {
if (method=="INVITE" || method=="ACK") {
end_media_session();
};
sl_reply_error();
};
}
route[2] {
#
------------------------------------------------------------------------
# REGISTER Message Handler
#
------------------------------------------------------------------------
sl_send_reply("100", "Trying");
if (!search("^Contact:[ ]*\*") && client_nat_test("7")) {
setflag(6);
fix_nated_register();
force_rport();
};
if (!www_authorize("","subscriber")) {
www_challenge("","0");
break;
};
if (!check_to()) {
sl_send_reply("401", "Unauthorized");
break;
};
consume_credentials();
if (!save("location")) {
sl_reply_error();
};
}
route[3] {
# -----------------------------------------------------------------
# INVITE Message Handler
# -----------------------------------------------------------------
if (client_nat_test("3")) {
setflag(7);
force_rport();
fix_nated_contact();
};
if (!proxy_authorize("","subscriber")) {
proxy_challenge("","0");
break;
} else if (!check_from()) {
sl_send_reply("403", "Use From=ID");
break;
};
consume_credentials();
lookup("aliases");
if (uri!=myself) {
route(4);
route(1);
break;
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found");
break;
};
route(4);
route(1);
}
route[4] {
#-----------------------------------------------------------------
# NAT Traversal Section
# -----------------------------------------------------------------
if (isflagset(6) || isflagset(7)) {
if (isflagset(8)) {
setflag(8);
use_media_proxy();
};
};
}
onreply_route[1] {
if ((isflagset(6) || isflagset(7)) &&
(status=~"(180)|(183)|2[0-9][0-9]")) {
if (!search("^Content-Length:[ ]*0")) {
use_media_proxy();
};
};
if (client_nat_test("1")) {
fix_nated_contact();
};
}
------------------------------------------------------------
mediaproxy.ini
------------------------------------------------------------
[Dispatcher]
;start = yes
socket = /var/run/proxydispatcher.sock
;group = ser
defaultProxy = /var/run/mediaproxy.sock
[MediaProxy]
start = yes
socket = /var/run/mediaproxy.sock
group = ser
listen = None
allow = None
proxyIP = XXX.XXX.XXX.235 # This is where OpenSER installed
;portRange = 2000:8000 # These values are set same in ATA's configs
for RTP Range
TOS = 0xb8
idleTimeout = 60
holdTimeout = 180
forceClose = 0
accounting = off
[Accounting]
user = root
password =
host = localhost
database = ser
table = acc
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006