Hello,
I have users with one or more DID numbers assigned to them
and some with none. What is the standard convention when choosing usernames?
Initially I started with usernames with the following format 1001,1002,etc
however when a user dials a number their username shows up instead of their
DID. I'm assigning DID with the alias command. Is there a way to show their
DID number or do I need to change the way I create usernames?
--Matteo
Hi
I have a high end server and only openser + a couple of calls running, I
was not able to logon to the server using my softphone anymore.
The server in question is Openser 1.3
The dump file core can be found at
http://www.4shared.com/file/72990148/8dca8efd/core.html
Regards
Hi List,
We have some issue when we are restricting caller id to a particular sip
carrier using a Cisco 5350XM. The cisco 5350XM sends the from header as
From: "anonymous" <sip:0xxxxxx0@xx.yy.zz.99
<sip%3A0282073300(a)202.85.241.99>>;tag=1F480924-17D9
but the sip provider's SBC is case sensitive and requires
From: "Anonymous" <sip:0282073300@xx.yy.zz.99<sip%3A0282073300(a)202.85.241.99>
>;tag=1F480924-17D9.
I can't find a config on Cisco to change anonymous to Anonymous.
Does anyone knows how to change this on the AS5350XM.
Thank you.
Regards,
Mark Anthony C. Delfin
Thanks Alex
That was exactly what I wanted to know, if it could relay PRACK messages and associate them with the corresponding provisional response message.
----- Mensaje original -----
De: Alex Balashov <abalashov(a)evaristesys.com>
Fecha: Lunes, Noviembre 24, 2008 2:28 pm
Asunto: Re: [Kamailio-Users] Is PRACK Supported?
> Yes. But it is up to the endpoint to send the PRACK in response to
> a
> non-100 provisional message sent reliably, not the proxy, so
> Kamailio
> doesn't really need to 'support' anything related to the PRACK
> method
> other than relaying it, which it will.
>
> ingdavidcespedes(a)cable.net.co wrote:
>
> > Hi
> >
> > Does anyone know if RFC 3262 and its PRACK response are
> supported by Kamailio? How can I implement it?
> >
> > Thanks in advance.
> >
> > David Cespedes
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users(a)lists.kamailio.org
> > http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>
>
> --
> Alex Balashov
> Evariste Systems
> Web : http://www.evaristesys.com/
> Tel : (+1) (678) 954-0670
> Direct : (+1) (678) 954-0671
> Mobile : (+1) (706) 338-8599
>
Hi, I see in the code:
-----------
curl_easy_getinfo(curl, CURLINFO_HTTP_CODE, &stat);
if ((stat >= 200) && (stat < 400)) {
at = index(stream, (char)10); /* search for line feed */
if (at == NULL) {
at = stream; /* set empty string */
}
val.rs.s = stream;
val.rs.len = at - stream;
val.flags = PV_VAL_STR;
dst = (pv_spec_t *)_dst;
dst->setf(_m, &dst->pvp, (int)EQ_T, &val);
}
return stat;
-----------
So if the reply is > 400 then the function doesn't extract the first line of
the body.
While it makes sense (if a web server returns 404 it means that the page has
not been found so the body doesn't matter at all). But I'm trying to
use "http_query" as a logic mechanism:
- alice calls bob.
- Kamailio asks a http server a query:
http://web_server/check_permission.php?fu=alice&ru=bob
- The web server runs its own logic (asking to BD and so) and decides that
alice is not allowed to call bob. But bob wants to "explain" alice why he
doesn't accept calls from him, so the web server replies:
-----------------
HTTP/1.1 403 Forbidden
Alice, you are very boring and I don't accept more calls from you
-----------------
- So the $retcode of "http_query" would be 403 but we are also interested in
the body (stored in $var(reply_http_query)) since we could generate a
response like:
sl_send_reply(403, "$var(reply_http_query)");
Doesn't it make sense?
Also, web server could reply "HTTP/1.1 302 Moved temporaly" being the first
line of the body the new SIP URI to contact.
Opinions?
BTW it could be really great if the reply body could be more complete, for
example storing more than one line (various variables) and so...
Regards.
--
Iñaki Baz Castillo
Hello,
I'm trying to append trunk group information to my Contact header
so I'm, using append_hf as follows
append_hf("tgrp=30001 \r\n", "Contact");
but it seems to go on the second line. How do I remove the line feed?
Max-Forwards: 69.
Contact: <sip:1001@192.168.1.2:44114>.
tgrp=DMS19 .
--Matteo
Hi all,
I look for a workaround to use a white list in addition of
authentification proces, based on User-Agent (ie. for example : deny
"Asterisk IPBX" permit "Cisco IPhone...")
I think to use permissions module, but I don't find an example of this
usage.
Thanks for your support.
Regards,
A. LEMOINE
I'm testing ser 2.0
lookup_user("$tu.uid", "@ruri") fails if ruri is like
this:'sip:user@domain;user=phone'.
Es. if the call comes from PSTN.
Have someone the solution??
g.ricca(a)csinfo.net