Hi,
I'm trying to use dbtetx module, i've written the ser.cfg with the necesaries
changes, also i do a directory /tmp/serdb with those files(location, aliases,
version & subscriber), but when i run my ser i have this problem:
/*
0(0) fixing /usr/lib/ser/modules/maxfwd.so mf_process_maxfwd_header
0(0) fixing /usr/lib/ser/modules/sl.so sl_send_reply
0(0) fixing /usr/lib/ser/modules/sl.so sl_send_reply
0(0) fixing /usr/lib/ser/modules/rr.so record_route
0(0) fixing /usr/lib/ser/modules/rr.so loose_route
0(0) fixing /usr/lib/ser/modules/tm.so t_relay
0(0) fixing /usr/lib/ser/modules/registrar.so save
0(0) DBT:dbt_load_file: request for table [location]
0(0) DBT:dbt_load_file: db is [/tmp/serdb]
0(0) DBT:dbt_load_file: loading file [/tmp/serdb/location]
0(0) DBT: column[0] is STR!
0(0) DBT: column[1] is STR!
0(0) DBT: column[2] is STR!
0(0) DTB:dbt_db_get_table: ---------------
0(0) DBT:db_query: table not loaded!
0(0) DBT:db_query: error while quering table!
0(0) preload_udomain(): Error while doing db_query
0(0) register_udomain(): Error while preloading domain 'location'
0(0) domain_fixup(): Error while registering domain
ERROR: error ffffffff while trying to fix configuration
0(0) DEBUG: tm_shutdown : start
0(0) DEBUG: tm_shutdown : empting DELETE list
0(0) DEBUG: tm_shutdown : empting hash table
0(0) DEBUG: tm_shutdown: releasing timers
0(0) DEBUG: tm_shutdown : removing semaphores
0(0) DEBUG: tm_shutdown : done
0(0) DBT:destroy ...
0(1410) shm_mem_destroy
0(1410) destroying the shared memory lock
*/
I don`t know if i have to create any table, or something like that, i supose
location file is something like this:
/*
username(str) domain(str,null) password(str)
garcia:iptel.org:1234
*/
Thanks, Carlos
The idea is not to query any tables as they are at different server but
use radius to provision aliases and then use lookup("aliases") I believe
there was a patch a way back for 8.12 but seems it did not found it way
to CVS
-----Original Message-----
From: Chris St Denis [mailto:chris@aebc.com]
Sent: Wednesday, August 24, 2005 3:44 PM
To: Igor Balk; serusers(a)lists.iptel.org
Subject: RE: [Serusers] Routing multiple numbers to 1 account
This is basically the same as aliases.
Query the registration table. If its not found there push the AVP alias
into the ruri/username and lookup based on that. All aliases are is a
static registration table anyway I believe.
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On
Behalf Of Igor Balk
Sent: Wednesday, August 24, 2005 11:59 AM
To: serusers(a)lists.iptel.org
Subject: RE: [Serusers] Routing multiple numbers to 1 account
Guys, do any of you know if there is a way in SER to dynamically set up
aliases using radius? I'm trying to achieve similar results but with
aliases.
Thank you.
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On
Behalf Of Chris St Denis
Sent: Wednesday, August 24, 2005 1:26 PM
To: 'Erik Versaevel'; 'SER Users'
Subject: RE: [Serusers] Routing multiple numbers to 1 account
I am doing this by pulling the translation out of a database using
radius AVP (could be done direct to database too) and sticking it as the
destination.
It looks like this
# Try to lookup the number directly registered.
if(!lookup("ser_location")) {
#Number isn't found, so try to do an avp translation on
it
avp_pushto("$ruri/username", "s:callee_vdid");
if(!lookup("ser_location")) { #Look up the new value
#Still can't find the user. Give up.
sl_send_reply("404", "I can't find 'em");
break;
}
}
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On
Behalf Of Erik Versaevel
Sent: Wednesday, August 24, 2005 6:49 AM
To: SER Users
Subject: [Serusers] Routing multiple numbers to 1 account
Hello all,
At this moment i'm using the full e164 numbers as account's in ser, that
is for every number someone wants delivered to them they would have to
register it using the account details.
This however poses a problem with a 100 bock of numbers for example
while a device can only register a few of them so what i would like to
do is mimic the asterisk like dial(SIP/number@sipppeer) in SER. That way
the devices only has to register once and recieves the number dialed in
the incomming INVITE. If i use aliases to alias numbers to 1 account
the account allways recieves it's own registered contact instead of the
number dialed, is there any way to support number blocks in this way?
For example:
Device registeres as device_1@sipserver with contact
device_1@device_ip:port SER gets invite for number in the block of
device_1 and sends the invite as dialed_number@device_ip:port instead of
device_1@device_ip:port
Kind reagards,
Erik Versaevel
_______________________________________________
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
Hi Steve,
Here is what happens with my current configuration. When I call
from my iptel.org account going to my local users it prompts me "407,
Proxy Authenctication Required". So what I like to do is to allow those
calls going to my local users from other domain. BTW, here is my
ser.cfg's INVITE message handler.
##INVITE message Handler##
route[3]
{
if (client_nat_test("3")) {
setflag(7);
force_rport();
fix_nated_contact();
};
# if (!proxy_authorize("", "subscriber")) {
# proxy_challenge("", "0");
# break;
# } else
if (!check_from() && method=="INVITE") {
sl_send_reply("403", "User From=ID");
break;
};
lookup("aliases");
if (uri!=myself) {
route(1);
break;
};
if (!lookup("location")) {
sl_send_reply("404", "User not found");
break;
};
if (method=="CANCEL") {
route(1);
break;
};
consume_credentials();
if (isflagset(6) || isflagset(7)) {
use_media_proxy();
};
route(1);
}
I misse call with your SIP phone, just testing it. =)
Thanks,
Ryan
Steve Blair wrote:
>
> Set the alias=<your sip domain> parameter then use if (uri==myself)
> construct.
>
> -Steve
>
> Ryan Pagquil wrote:
>
>> Hello,
>> How can I check if the call is for my domain? What specific
>> module should I use?
>>
>> Thanks,
>>
>
--
Ryan Pagquil
Infodyne Inc. - PhilOnline.com
3603 Antel Global Corporate Center
Doña Julia Vargas Ave.
Ortigas Center Pasig City
Tel: 687-0715
Web: www.philonline.com
Hi All.
I'm using t_check_status() to do call forwarding on 486 Busy responses. I
have an odd thing happening where SER receives the 486 Busy message (for
which SER properly sends an ACK response) and then the failure_route calls
append_branch() and t_relay() to try another destination.
After the new leg of the call is setup and then torn down, the original 486
Busy seems to be hung in the tm module, because it magically appears in
ngrep, which shows it being sent back to the caller as if the
append_branch() never took place.
Is there anything special that I should be doing to "swallow" the 486 Busy
response to prevent it from being sent to the caller UA?
Regards,
Paul
Hi all,
I have a problem with ringing message coming from our provider.
Associate with the message, i find a SDP.
Some UACs doesn't like that and doesn't give a ringback (Snom and
Grandstream ata 486)
SIP/2.0 180 Ringing..Via: SIP/2.0/UDP
192.168.2.101;rport=1039;received=81.247.182.42;branch=z9hG4bKfeb085ba0caf55
99..To: <sip:0495283361@finalcut.be>;tag=507b8a49..From: "
Family Taylor" <sip:7321073@finalcut.be>;tag=cf8413e3df61a5a5..Call-ID:
ae6f02682bb43efd@192.168.2.101..CSeq: 4667 INVITE..Record-Route:
<sip:82.146.123.252>..Content-Type:
application/sdp..Content-Length: 217....v=0..o=VoipSwitch 7772 7772 IN
IP4 213.246.41.194..s=VoipSIP..i=Audio Session..c=IN IP4 213.246.41.194..t=0
0..m=audio 6772 RTP/AVP
18 101..a=rtpmap:18 G729/8000/1..a=rtpmap:101
telephone-event/8000..a=fmtp:101 0-15..
Is that correct and compliant?
Thanks,
Olivier
I need its aid, like setting the SER, I have still the problem with call forwarding on busy or no answer? ....I am to use a module AVPOP, but it does not walk.
Please help Me.....
Thanks
First, I like what you are doing, but is their a better way to get
printed copies of the documentation than to individually display and
print the documentation for each module?
Gary
e.g., if I want to do something if there is a Refer-To header in the
message,
am I better off doing
avp_printf("$someAvp", "$rt");
avp_check("$rt", "re/.../i");
or
search("/.../");
Just want ot know whether to get started rewriting all the "search()"
strings i have in my ser.cfg....
cheers