Any help I can get on this one ?
Sam
-----Original Message-----
From: users-bounces(a)openser.org [mailto:users-bounces@openser.org] On
Behalf Of Sam Lee
Sent: Wednesday, October 12, 2005 3:27 PM
To: Iqbal; users(a)openser.org
Subject: RE: [Users] BYE method accompanied by error
I have checked that the phones have not received a prior BYE. Any other
idea what is wrong ?
Here's a more detailed situation :-
Caller (PSTN) --> Voice Gateway --> OPENSER --> Callee (UA)
When Callee (UA) tried to end the call , OPENSER will forward a copy of
the BYE to Voice Gateway to inform him of the BYE.
The Gateway , somehow , replied with a 'Call Leg/Transaction Does Not
Exist' . The strange thing is, the Caller (PSTN) was somehow informed of
the BYE method and terminate the session . Anyone has any idea how to
handle these errors ? I will be glad to provide a ngrep for more
reference.
Regards,
Sam
-----Original Message-----
From: users-bounces(a)openser.org [mailto:users-bounces@openser.org] On
Behalf Of Iqbal
Sent: Tuesday, October 11, 2005 7:35 PM
To: Sam Lee
Cc: users(a)openser.org
Subject: Re: [Users] BYE method accompanied by error
Can you check to see if you have already received a BYE for that call,
some phones I had were sending there own Bye's after the GW had
Iqbal
Sam Lee wrote:
> Hi all,
>
> I would like to know why does my BYE method are always replied with a
> 'Call Leg/Transaction does not exist' . How do they compare whether
> the transaction in the BYE method exist or not ? ( tag? ftag ? ) Are
> there any thing in the config that might cause this kind of problem ?
> Just want to highlight that all the calls are made in a good
> condition, everything except when the call is ending.
>
> Please let me know if you dont understand.
>
> Regards,
> Sam
>
>-----------------------------------------------------------------------
>-
>
>_______________________________________________
>Users mailing list
>Users(a)openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
Hi!
There is still a problem with gen_ha1 (conflicting with ser packages).
in the deb package is still gen_ha1 with file size 0.
I guess it is caused by the "touch" command.
$(INSTALL-TOUCH) $(bin-prefix)/$(bin-dir)/gen_ha1
$(INSTALL-BIN) utils/gen_ha1/gen_ha1 \
$(bin-prefix)/$(bin-dir)/$(NAME)_gen_ha1
What is the purpose of the "touch"? Just remove it?
regards
klaus
We have 1 asterisk and 1openser installation, with 1/2 of our users
registering to one and 1/2 to the other. What I wanted to do for in
network calling is add a column to in_network table thats called ip.
In that column I want to put the ip address of the asterisk machine
that the calls for those in network users that are registered to it
should go. Then somehow set up openser to do a (lookup) then failing
that look up the number in this database, if its rewritehost the call
to ip in the ip column, else forward to our pstn gateway.
Has anyone done this before, how would one handle multiple openser
installations with 1/2 of the end users registering to one and the
other 1/2 registering to the other barring a shared userloc database?
What was the in_network table made for?
As always any help greatly appreciated. Thank you.
Hi, I have SER connected to two non-routable networks:
My machine has two IP addresses: 193.136.2.2 and 10.0.0.135
And I want the clients in these two networks o speak each other.
I started RTPproxy with "-l 10.0.0.135/193.136.2.2" option.
And I tried the configuration example that´s in:
/ser-0.9.0/modules/nathelper/examples/alg.cfg
Thats my network configuration:
client A
|-------| client B
193.136.7.13- ------------- 193.136.2.2--| SER |--
10.0.0.135---------10.0.11.243
public IP client SERs public IP |-------| SERs
private IP private IP client
But even with RTPproxy and NAThelper it isnt working, because when I
call from client A to client B, this happens:
INVITE: 193.136.7.13 --> 193.136.2.2 (thats OK)
INVITE: 193.136.2.2 --> 10.0.11.243 (ERROR:this cant happen because the
networks are non routable)
It should be 10.0.0.135 to contact client B.
From client B to client A the same happens:
INVITE: 10.0.11.243 --> 10.0.0.135
INVITE: 10.0.0.135 --> 193.136.7.13 ERROR: non routable networks
Can someone tell me what changes must be done to implement the proxying
of the calls between the two SER IP addresses?
Thanks
Joao Pereira
www.fccn.pt
Ugh the subject line is getting really munged up ;P
Hmmm, what does the output from "radiusd -X" look like for the exchange?
Lenir wrote:
>Tavis,
>
>Thanks for your input, that did fix the problem. I did have the "files"
>before "sql" in radiusd.conf. Also I followed your advice about taking out
>"Auth-Type" out of mysql table and let DEFAULT in users file do the trick.
>
>However it's semi-working.
>
>Accourding to the snippet from my ser.cfg file, now I get the following in
>stderr:
>0(4866) 000d2890-d47f0003-4a230347-53c6189b(a)yy.yy.yy.yy -
>sip:1000@xx.xx.xx.xx - User authenticated...
> 0(4866) Credentials: User is in Radius Group Dialin!!!!
> 0(4866) Credentials: User is in Radius Group Dialin2!!!!
>
>No matter which parameter I use for the function radius_is_user_in(), it
>always returns TRUE. When in fact it should return FALSE for Group Dialin2.
>I've tried:
>
>if (radius_is_user_in("From", "Dialin2")){...
>if (radius_is_user_in("Credentials", "Dialin2")){...
>
>
>
>
>
>Here's what I did to fix future problems:
>
>EFAULT Auth-Type = System
> Fall-Through = 1
>
>DEFAULT Service-Type == Call-Check, Auth-Type := Digest
>
>DEFAULT Service-Type == Group-Check, Auth-Type := None
>
>DEFAULT Service-Type == SIP-Session, Auth-Type := Digest
>
>DEFAULT Service-Type == SIP-Callee-AVPs, Auth-Type := None
>
>DEFAULT Service-Type == SIP-Caller-AVPs, Auth-Type := None
>
>
>Also, for those of you using the latest version of freeradius, you may have
>to comment out the following lines as they conflict with dictionary.ser (SER
>CVS) and dictionary.sip (comes with radiusclient-NG)
>
>#VALUE Service-Type Voice 12
>#VALUE Service-Type Fax 13
>#VALUE Service-Type Modem-Relay 14
>#VALUE Service-Type IAPP-Register 15
>#VALUE Service-Type IAPP-AP-Check 16
>
>
>Thanks,
>
>
>Lenir
>
>
>-----Original Message-----
>From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@iptel.org] On
>Behalf Of Tavis P
>Sent: Friday, October 14, 2005 1:49 PM
>To: lsantiago(a)globalgatewaycom.com
>Cc: serdev(a)iptel.org; serusers(a)iptel.org; devel(a)openser.org;
>users(a)openser.org
>Subject: [Serusers] Re: [Serdev] group_radius radius_is_user_in
>
>Oops, i spoke too soon
>
>It looks like you have placed the "files" module before the "sql" module
>in your radiusd.conf
>
>Its matching your DEFAULT entry in files (setting the Auth-Type to none)
>but the sql module is later changing the Auth-Type to "digest"
>
>Changing the order would solve this problem, as you want it to match the
>SQL statement first and than the section in the files last (which
>changes the Auth-Type)
>
>Also, you may want to reduce the load on your database by not setting
>the Auth-Type in the database and instead setting in the users file with
>a DEFAULT statement as (at least in my case) it isn't somthing that need
>to be dynamic.
>
>lenirsantiago(a)yahoo.com wrote:
>
>
>
>>Hello list,
>>
>>I've been trying my hardest today to get group_radius to work, and its
>>function radius_is_user_in().
>>I'm running ser0.9.4 and freeradius 1.0.4 with the mysql backend and digest
>>authentication.
>>
>>Radius authentication works fine.
>>The problem is that when radius_is_user_in() function gets called, it sends
>>a radius message but without the User-Password field and freeradius
>>complains that it requires it since we are using Digest.
>>I've seen a couple of posts here, but they were never answered:
>>http://mail.iptel.org/pipermail/serusers/2005-March/017342.html
>>http://mail.iptel.org/pipermail/serusers/2005-March/017075.html
>>
>>-----
>>I have a small test in my ser.cfg file:
>> if (!radius_www_authorize("")) {
>> xlog("L_I","%ci - %fu - User not authenticated, Radius
>>Authenticating...\n");
>> www_challenge("","0");
>> break;
>> } else {
>> xlog("L_I","%ci - %fu - User authenticated...\n");
>> };
>>
>> if (radius_is_user_in("From", "Dialin")){
>> xlog("L_I","From: User is in Radius Group Dialin!!!!\n");
>> } else {
>> xlog("L_I","From: User *IS NOT* Group Dialin!!!!!\n");
>> };
>>
>> if (radius_is_user_in("Credentials", "Dialin2")){
>> xlog("L_I","From: User is in Radius Group Dialin2!!!!\n");
>> } else {
>> xlog("L_I","From: User *IS NOT* Group Dialin2!!!!!\n");
>> };
>>
>>-----
>>In /etc/raddb/users file I have the following at line 152:
>>DEFAULT Auth-Type = System
>> Fall-Through = 1
>>
>>DEFAULT Service-Type == Group-Check, Auth-Type := None
>>
>>DEFAULT Service-Type == SIP-Callee-AVPs, Auth-Type := None
>>
>>-----
>>
>>These are mysql tables:
>>
>>+----+----------+-----------+----+----------+
>>| id | UserName | Attribute | op | Value |
>>+----+----------+-----------+----+----------+
>>| 1 | Jhassell | Password | == | changeme |
>>| 2 | Rneis | Password | == | changeme |
>>| 3 | 1000 | Password | == | 1000 |
>>| 4 | 2000 | Password | == | 2000 |
>>| 5 | 3000 | Password | == | 3000 |
>>| 8 | 1000 | Auth-Type | := | Digest |
>>+----+----------+-----------+----+----------+
>>
>>+----+-----------+-----------+----+--------+
>>| id | GroupName | Attribute | op | Value |
>>+----+-----------+-----------+----+--------+
>>| 6 | Dialin | Auth-Type | := | Accept |
>>+----+-----------+-----------+----+--------+
>>
>>+----+-----------+---------------+----+----------------------------------+-
>>
>>
>-
>
>
>>----+
>>| id | GroupName | Attribute | op | Value |
>>prio |
>>+----+-----------+---------------+----+----------------------------------+-
>>
>>
>-
>
>
>>----+
>>| 1 | Dialin | Reply-Message | = | "Authenticated by group Dialin" |
>>0 |
>>| 2 | Dialin2 | Reply-Message | = | "Authenticated by group Dialin2" |
>>0 |
>>+----+-----------+---------------+----+----------------------------------+-
>>
>>
>-
>
>
>>----+
>>
>>+----+----------+---------------+----+------------------+
>>| id | UserName | Attribute | op | Value |
>>+----+----------+---------------+----+------------------+
>>| 1 | 1000 | Reply-Message | = | "Authenticated" |
>>| 2 | 1000 | Sip-Group | = | Dialin |
>>| 3 | 1000 | SIP-AVP | = | Sip-Group:Dialin |
>>+----+----------+---------------+----+------------------+
>>
>>+----+----------+------------+
>>| id | UserName | GroupName |
>>+----+----------+------------+
>>| 1 | Jhassell | Dialin |
>>| 2 | Rneis | Staticdial |
>>| 3 | 1000 | Dialin |
>>| 4 | 2000 | Dialin |
>>| 5 | 3000 | Dialin |
>>| 6 | 3000 | Dialin2 |
>>+----+----------+------------+
>>
>>------
>>
>>This is the debug I get from freeradius for the group check:
>>
>>rad_recv: Access-Request packet from host xx.xx.xx.xx:33025, id=15,
>>length=67
>> User-Name = "1000(a)xx.xx.xx.xx"
>> Sip-Group = "Dialin2"
>> Service-Type = Group-Check
>> NAS-IP-Address = 127.0.0.1
>> NAS-Port = 0
>> Processing the authorize section of radiusd.conf
>>modcall: entering group authorize for request 74
>> modcall[authorize]: module "preprocess" returns ok for request 74
>> modcall[authorize]: module "chap" returns noop for request 74
>> modcall[authorize]: module "mschap" returns noop for request 74
>> modcall[authorize]: module "digest" returns noop for request 74
>> rlm_realm: Looking up realm "xx.xx.xx.xx" for User-Name =
>>"1000(a)xx.xx.xx.xx"
>> rlm_realm: Found realm "xx.xx.xx.xx"
>> rlm_realm: Adding Stripped-User-Name = "1000"
>> rlm_realm: Proxying request from user 1000 to realm xx.xx.xx.xx
>> rlm_realm: Adding Realm = "xx.xx.xx.xx"
>> rlm_realm: Authentication realm is LOCAL.
>> modcall[authorize]: module "suffix" returns noop for request 74
>> rlm_eap: No EAP-Message, not doing EAP
>> modcall[authorize]: module "eap" returns noop for request 74
>> users: Matched entry DEFAULT at line 152
>> users: Matched entry DEFAULT at line 158
>> modcall[authorize]: module "files" returns ok for request 74
>>radius_xlat: '1000'
>>rlm_sql (sql): sql_set_user escaped user --> '1000'
>>rlm_sql (sql): Released sql socket id: 0
>> modcall[authorize]: module "sql" returns ok for request 74
>>modcall: group authorize returns ok for request 74
>> rad_check_password: Found Auth-Type Digest
>>auth: type "digest"
>> Processing the authenticate section of radiusd.conf
>>modcall: entering group authenticate for request 74
>>ERROR: No Digest-Nonce: Cannot perform Digest authentication
>> modcall[authenticate]: module "digest" returns invalid for request 74
>>modcall: group authenticate returns invalid for request 74
>>auth: Failed to validate the user.
>>Delaying request 74 for 1 seconds
>>Finished request 74
>>Going to the next request
>>--- Walking the entire request list ---
>>Waking up in 1 seconds...
>>--- Walking the entire request list ---
>>Waking up in 1 seconds...
>>--- Walking the entire request list ---
>>Sending Access-Reject of id 15 to xx.xx.xx.xx:33025
>> Reply-Message = "Authenticated"
>>Waking up in 4 seconds...
>>--- Walking the entire request list ---
>>Cleaning up request 74 ID 15 with timestamp 434f1121
>>Nothing to do. Sleeping until we see a request.
>>
>>
>>
>>
>>
>>Any help in this matter would be deeply appreciated,
>>
>>
>>
>>
>>Lenir
>>
>>
>>
>>
>>_______________________________________________
>>Serdev mailing list
>>Serdev(a)iptel.org
>>http://mail.iptel.org/mailman/listinfo/serdev
>>
>>
>>
>>
>>
>>
>
>_______________________________________________
>Serusers mailing list
>Serusers(a)iptel.org
>http://mail.iptel.org/mailman/listinfo/serusers
>
>
>_______________________________________________
>Serdev mailing list
>Serdev(a)iptel.org
>http://mail.iptel.org/mailman/listinfo/serdev
>
>
>
>
Hi,
I would like to have openser use an existing database and table for
auth_db in order to use the same credentials for both openser and email
Is it possible to have just the auth_db module use a specific database
and table, and all the other modules to use the standard openser tables?
When I try this my setting
modparam("auth_db", "db_url", "mysql://user:pass@db1/mail")
modparam("userloc", "db_url", "mysql://user:pass@db1/openser")
Openser complains that the version table cannot be found.
Do all tables have to be in the same database, or is it possible to
split out just the username/password/domain for auth_db to use a
different database?
Thanks in advance.
--
-Barry Flanagan
How many BHCC (busy hour call completions) SER can support?
Matteo
--------------------------------------
Matteo Piazza, Junior Researcher
Create-Net http://www.create-net.it
--------------------------------------
Hello Jiri and everybody
I set up ser with accounting and used record_route to force BYEs to visit my
server. The problem now is that I do not know how to correlate
INVITEs and BYEs to get call duration for billing purposes. Any ideas?
Thank you
Yiannis Marios
--- Vamsi Pottangi <vamsipottangi(a)gmail.com> escreveu:
> Lucent's MAX TNT works perfect as PSTN/Media gateway ! I din't find any
> problems as of now.
> I used 8E1 cards with madd2,madd3 cards for SIP. Yes, it supports most
> codecs including g729.
> It doesn't have any problem with interoperating with SER.
Hello
which OS version are you using on your TNT?
Cheers
!3runo
Hi all,
I'm trying to do a serial call forwarding
if callees don't answer.
I've added a field in a table which is the number
the users want to forward the call if they don't answer.
I've a shell script (myScript.sh) which works like that:
If the forward mode is activated for the user,
then the address is overwritten and the script returns 0,
else it returns 1.
My main route ends by "t_on_failure("1");" in my ser.cfg,
and I've write these lines after the main route:
/failure_route[1]
{
if (exec_dset("/path/to/myscript/myScript.sh \"$SIP_HF_TO\""));
{
route(2);
}
break;
}
route[2]
{
sl_send_reply("300","Redirect");
break;
}
/
I also use the tm module and I've set the fr_inv_timer and the fr_timer
to the values I wanted.
In my configuration :
User 1 wants to forward the call to User 2.
User 2 wants to forward the call to User 3.
User 3 wants to forward the call to User 1.
When User 4 calls User 1, who doesn't answer, the call is well forwarded
to User 2 after
5 ringings. User 2 doesn't answer and the call is well forwarded to User
3 . Etc.
So it works fine, if at least one of the callee answers.
But if the caller hangs up (sending a CANCEL to the callee), the phones
are always ringing and forwarding
the call in the same order.
Does anybody have an idea to solve this problem?
Thanks.
B.R.
Xavier.