Hi,
Slightly stupid question I know, what I mean is that the config contains
no rewrite host so Im just wondering whether the configs that the wizard
generate are actually useable for something without modification. I ask
because I want to understand what the wizard is trying to produce so I know
if its appropriate for me to try and modify the config to match my
requirements or Im better to start from scratch. And yes, I know I dont know
much about OpenSER! :P Im trying to learn!
thanks Andy.
________________________________________________
Message sent using UK Grid Webmail 2.7.9
What's the point of the pseudo variable $rc?
If I use avp_db_query() with:
invalid SQL, then rc = -1.
database down: then rc = -1.
Everything fine... then rc = -1!!!
What's the point?
Doug.
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Hi,All
When I tried to start openser with presence module.I met an error of
"ERROR:core:set_mod_param_regex: parameter <force_active> not found in
module <presence>"
But I used the presence before with openser of v1.2.0 and it works fine.
Can you take a look at it?
THX
BR
The encolsed is my config file.
--
Fengbin
Is is possible to have a SIP UA behind nat and communicate to an
OpenSER/RTP Proxy server behind nat behind nat and have everything
transverse appropriately? Or will I need something additional like STUN?
Example:
OpenSER + RTP Proxy + Asterisk will all reside on the same machine.
SIP UA -> Cisco PIX ( Public IP to Localnet NAT ) -> OpenSER/RTP -> Asterisk
Thank you for your time,
Patrick
Openser:
NOTIFY response to unsubscription doesn't have message body.
Openser + OpenXCAP:
NOTIFY response to unsubscription includes xml document which is the same as one in response to subscription,
but the subscription_state in unsub NOTIFY message is "terminated".
Can anyone give me a hint?
Regards,
Kevin
_________________________________________________________________
Windows Live Photo gallery 数码相机的超级伴侣,轻松管理和编辑照片,还能制作全景美图!
http://get.live.cn/product/photo.html
1. Only Openser, no OpenXCAP, force_active=1
NOTIFY with new info is sent from Openser to client when updating PUBLISH message everytime.
2. Openser+OpenXCAP force_active=0
NO NOTIFY is sent from Openser if integrating with OpenXCAP. But PUBLISH message updates properly.
I can't figure out why, any clue?
Thank you!
Kevin,
_________________________________________________________________
天凉了,添衣了,心动了,“七件”了
http://get.live.cn
Inaki,
I am doing updates with avp_db_query, so there is no avp I can check the value of .
As
I said in a subsequent post, I wrote a simple server that listened on
port 3306, like mysql does, and pointed OpenSER at it. The avp_db_query
commands() basically blocked forever and openser seemed to completely
lose all ability to process new calls. That's really bad.
Doug.
----- Original Message ----
From: Iñaki Baz Castillo <ibc(a)aliax.net>
To: users(a)lists.openser.org
Sent: Monday, January 14, 2008 1:46:00 PM
Subject: Re: [OpenSER-Users] avp_db_query() timeout
El Lunes, 14 de Enero de 2008, Douglas Garstang escribió:
> I haven't had much luck getting replies to my questions lately,
hopefully
> I'll have more luck with this one.
>
> avp_db_query().... does it have a timeout? What is it? Can I set it?
>
> If I use it, and there is a MySQL database problem, I don't want
> avp_db_query() to wait forever trying to connect to MySQL. If it
can't
> connect after a few seconds, I'd like it to just give up. I have
multiple
> calls to avp_db_query() in a typical call flow. It would be even
better if
> I could set a flag on the first timeout and not try again during that
call.
>
> Can that be done?
Hi, by the test I've done:
avp_db_query("SQL_QUERY", "$avp(s:result)");
xlog("L_INFO", "retcode = $rc \n");
Cases:
- If query doesn't return a row/value then $avp(s:result)=null and
$rc=(-1).
- If query returns a row/value the $avp(s_result) stores that value and
$rc=1.
- If there is a syntax error in query then $avp(s:result)=null and
$rc=(-1).
- If MySQL is not running then $avp(s:result)=null and $rc=(-1).
I don't know what occurs if MySQL is running but because overload or
any other
reason it doesn't reply, but AFAIK the "avp_db_query" uses the same
code of
other OpenSer functions to access DB, so I'm sure it has a correct
behaviour
in case of failure.
BTW you can "play" with the $rc code after "avp_db_query".
--
Iñaki Baz Castillo
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Hi, maybe someone could confirm this:
At the begining of my script I set a variable:
$var(gateway) = "123.123.123.123";
Later, I run CPL for calls to internal users and there could be forwardings
and so. I set CPL "recurse" parameter so convert 302 from UAS into a new
branch into CPL.
At the end of CPL I run "route[20]" in which I use the variable $var(gateway),
but sometimes it appears empty. I think this could occur because CPL can
involve various OpenSer process. I think that when CPL receives a 302, maybe
sometimes it's a new OpenSer process and since it's a reply the variable at
the begining of my script is not read, so it appears empty.
Am I right?
A solution is to use AVP instead od variables since AVP's remains along al
lthe transaction. Am I right?
Thanks for any confirmation. Best regards.
--
Iñaki Baz Castillo
Hola, algo que fastidia a todo el mundo es el tema de que te cobren una
llamada nada más salir el buzón de voz. Lo lógico y deseable (al margen de la
actitud avariciosa de las grandes operadoras) es que al llamar a un número y
salir el buzón de voz no se cobre la llamada y se ofrezca la posibilidad de
dejar un mensaje pulsando algún dígito.
El impedimento técnico que veo es que parece ser no se permite el envío de
DTMF durante el EarlyMedia. Pero no encuentro documentación sobre ello.
El caso es que durante el EarlyMedia el audio es bidireccional, o sea, el SDP
del "183 Session Progress" dice:
a=sendrecv
(de hecho esto lo he verificado también a nivel de gateway PSTN: una llamada
desde la PSTN a un gateway y éste la dirige a un SIP UAS que responde con
183, y el gateway envía y recibe audio desde el UAS).
A todo esto una duda que tengo es precisamente esto de poder enviar y recibir
audio durante un EarlyMedia, ¿se puede o no se puede? ¿se hace?
Por otra parte, mi Twinkle no me permite enviar DTMF durante el EarlyMedia,
pero vamos, que ni lo intenta por lo que no sé qué pasaría si sí me dejase. Y
por las pruebas que he hecho llamando desde la PSTN (fijo y móvil) y
respondiendo con un EarlyMedia, tampoco parece que se permita el envío de
DTMF.
En fin, que la única opción honesta que he encontrado es la de reproducir el
mensaje del buzón en EarlyMedia, y sólo tras el mensaje responder la llamada
para que el llamante deje su mensaje (y sólo en ese caso provocar que tenga
que pagar su llamada). Con lo fácil que es... lo cab***as que son las
compañías.
Bueno, sin más, que no sé exactamente cuál es mi pregunta pero tal vez alguien
me ayude a definirla XD
Saludos.
--
Iñaki Baz Castillo