Hi All,
Hi All,I need please to configure kamailio in order to force the user to
register to my it from a specific IP...It's like creation of an access
list...If the customer tries to register from another IP frm the one
specified in kamailio he'll be denied
Regards
Hello all,
I need to choose if my users do digest auth or not!
If I have :
modparam("auth_db", "calculate_ha1", yes)àauth
or
modparam("auth_db", "calculate_ha1", 0)àauth digest!
How can I choose if this user is digest after having look at a param in the
database
For example, user 1 have a column in the database which say ok he can do
digest auth
How can I ask to the client an auth digest ?
Thank you
Cordialement
BERGANZ François
http://www.acropolistelecom.net <http://www.acropolistelecom.net/>
Whoever has taken over openser.org should do the community as a favor
and at the very least HTTP 301 redirect the documentation links over to
kamailio.org.
There are soo many sites that index URLs like:
http://openser.org/docs/modules/
...however openser.org gives back a 404 not found.
Hi
I have the following setup
Cell Phone "Any Possible Number" ----Calls a DID number-----> DID
Provider --> Forwards Call to my Openser --> OpenSer Server--> Forwards
Call to Asterisk with A2B --> Forwards it to the cell phone of the user
In short, a person can call a DID and it gets forwarded to Openser, if
the user is online using his sip phone, the sip phone rings and all is
OK. However, if the user is not online I do forward that call to
Asterisk and I want to forward it to the cell phone of the user.
The problem is that the FROM field and the SOURCE URI keep changing,they
are in the from phonenumberOfCaller(a)DID_Service_Provider.com and I do
want to charge the user for the call. To do that I need to have the FROM
field and the source URI to be the USER ID so that I can charge him for
the call.
So, I might have to change the source URI and FROM field of the packet
and send it to asterisk..it would send the packet back to Openser and I
have to change those back to what they were and then send it to the DID
provider.
Might sound confusing, and it might sound stupid.
Please help me set this straight, can it be done ? Maybe not ? Maybe
Yes...
Any suggestions are welcome.
With Regards
Ali Jawad
System Administrator
Splendor Telecom (www.splendor.net)
Beirut, Lebanon
Phone: +961 1 373725
Fax: + 961 1 375554
a user complained that un-subscribing a pending subscription is also
pending, i.e., kamailio responds with 202 instead of 200. i verified
the behavior.
now the question is, what do the relevant RFCs say about it? it appears
logical to me that if a user gives up waiting to get his/her
subscription confirmed, he/she should be able to forget the whole thing
by sending an un-subscribe.
any comments on this?
-- juha
Hi all, it is possible to use CDRTool 6.6.3 or 6.6.4 with freeradius-cdrtool-1.1 ?
The problem is in the code of freeradius-cdrtool.py, where in the code have "DebitBalance From=%s To=%s Duration=%s\n" , "MaxSessionTime From=%s To=%s Duration=%s Lock=1\n" and others, but the newer CDRTool need have a gateway parameter and Call Id parameter.
Anybody have a sucess with this versions ?
Thanks in advanced,
Diego.
Hello, I need to change the source number, to have an international format
(e164) but when I use :
$avp(s:245)=$fu;
avp_subst("$avp(s:245)/$avp(s:246)/d", "/sip:/sip:33/");
uac_replace_from("", "$avp(s:246)");
in fact, my phone have in the screen sip:33..., before, it have my name
I think that I have to use another function to change the source number, but
which function?
Thank you
Cordialement
BERGANZ François
http://www.acropolistelecom.net <http://www.acropolistelecom.net/>
Hello,
what you sent is the debug from kamailio/openser, which is useful, but I
would need the sip messages, you can use ngrep for that, do
ngrep -d any -qt -W byline port 5060
on your openser/kamailio server and send the output.
Thanks,
Daniel
On 09/17/08 02:22, Kent Pirlo wrote:
> ... is my core switch,
> ... is my openser/Kamailio redirect server
> ... is a redirect server from a carrier of ours that returns a billing TN in contact header..
>
>
> Here is the debug of the incoming ACK from the core switch after being sent the 300...
>
>
> Sep 16 15:49:50 [6505] DBG:core:parse_msg: SIP Request:
> Sep 16 15:49:50 [6505] DBG:core:parse_msg: method: <ACK>
> Sep 16 15:49:50 [6505] DBG:core:parse_msg: uri: <sip:...@...>
> Sep 16 15:49:50 [6505] DBG:core:parse_msg: version: <SIP/2.0>
> Sep 16 15:49:50 [6505] DBG:core:parse_headers: flags=2
> Sep 16 15:49:50 [6505] DBG:core:parse_to_param: tag=391854ebdd4d0c63cf50836cbb12191e-6708
> Sep 16 15:49:50 [6505] DBG:core:parse_to: end of header reached, state=29
> Sep 16 15:49:50 [6505] DBG:core:parse_to: display={},
> Sep 16 15:49:50 [6505] DBG:core:get_hdr_field: <To> [75];
> Sep 16 15:49:50 [6505] DBG:core:get_hdr_field: to body
> Sep 16 15:49:50 [6505] DBG:core:get_hdr_field: cseq <CSeq>: <1> <ACK>
> Sep 16 15:49:50 [6505] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bKdce3ac34730f843a5a9b9c7002690f22>; state=16
> Sep 16 15:49:50 [6505] DBG:core:parse_via: end of header reached, state=5
> Sep 16 15:49:50 [6505] DBG:core:parse_headers: via found, flags=2
> Sep 16 15:49:50 [6505] DBG:core:parse_headers: this is the first via
> Sep 16 15:49:50 [6505] DBG:core:receive_msg: After parse_msg...
> Sep 16 15:49:50 [6505] DBG:core:receive_msg: preparing to run routing scripts...
> Sep 16 15:49:50 [6505] DBG:sl:sl_filter_ACK: to late to be a local ACK!
> Sep 16 15:49:50 [6505] DBG:core:destroy_avp_list: destroying list (nil)
> Sep 16 15:49:50 [6505] DBG:core:receive_msg: cleaning up
>
>
>
>
> -----Original Message-----
> From: Daniel-Constantin Mierla [mailto:miconda@gmail.com]
> Sent: Tuesday, September 16, 2008 5:10 AM
> To: kentp(a)globalpops.com
> Cc: users(a)lists.kamailio.org
> Subject: Re: [Kamailio-Users] nested redirect
>
> Hello,
>
> can you post here the SIP messages? Will help to spot if there is
> anything wrong with the ACK or something else in the signaling.
>
> Cheers,
> Daniel
>
>
> On 09/13/08 04:11, kentp(a)globalpops.com wrote:
>
>> i have a simple redirect server working:
>>
>> Call comes from switch (A) to kamailio redirect server (B)..
>> (B) runs perl script to determine route
>> (B) sends Stateless 300 redirect reply to (A).
>> (A) sends ACK to (B).
>>
>> Now, I need to add a nested redirect...
>>
>> call comes from sitch (A) to kamailio redirect server (B)..
>> (B) then needs to send the call to third party proxy (C)..
>> (C) will return 302 redirect..
>> (B) sends ACK to (C)
>> (B) needs to read the contact header, then run perl script to determine route (using the contact value
>> returned from (c))
>> (B) then sends 300 redirect back to (A).
>> (A) sends ACK back to (B)
>>
>>
>> so far i have been trying something like this, but the final (A) ACK gets ignored and (B) keeps sending
>> multiple 300's to (A):
>>
>> route {
>> route(1);
>> }
>>
>> route[1] {
>> t_on_reply("1");
>> t_on_failure("2");
>> if (!t_relay("proxy.server.c:5060","0x02")) {
>> sl_reply_error();
>> }
>> onreply_route[1] {
>> if(t_check_status("302")){
>> $var(lrn_from_bv) = $ct;
>> }
>> }
>> failure_route[2] {
>>
>> if (t_check_status("3[0-9][0-9]")) {
>> route(2);
>> exit;
>> }
>> route[2] {
>> if(perl_exec("callcheck")){
>> avp_pushto("$ru", "$avp(s:routes)/g");
>> t_reply("300","Go Here");
>> exit;
>> }
>> }
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
> --
> Daniel-Constantin Mierla
> http://www.asipto.com
>
--
Daniel-Constantin Mierla
http://www.asipto.com
Hi All
I do forward calls to a DID number to my openser box, if my softphone is
online it rings directly because I am using the DID number as an alias.
However I want the call to be forwarded to my asterisk box if the user
is not online. What statement should I use ?
THanks
With Regards
Ali Jawad
System Administrator
Splendor Telecom (www.splendor.net)
Beirut, Lebanon
Phone: +961 1 373725
Fax: + 961 1 375554
Hello,
I propose to release kamailio 1.4.1 next Thursday, Sep 25, 2008. Please
send to devel(a)lists.kamailio.org any critical issues you are aware of,
to try to fix them.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com