Hi!
Is it possible to redirect the syslog output of mediaproxy and
proxydispatcher to a certain file?
e.g. as openser can: log_facility=LOG_LOCAL4
regards
klaus
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
I am having trouble to write to mysql from
/htdocs/serweb/html/styles/user_interface/index.php. Where am I going wrong
DISCLAIMER: The information in this message is confidential and is legally
privileged. It is intended solely for the addressee. Access to this message by
anyone else is unauthorized.If receiving in error please accept our apologies
and notify the sender immediately. You must also delete the original
message from your machine. If you are not the intended recipient, any use,
disclosure, copying, distribution or action taken in reliance of it, is prohibited
and maybe
unlawful.
I have 2 voice gateway which apparently both routes the same path.
I'm trying to use 1 as an active gateway where my SER routes the voice
traffic to, the other used as a hot standby.
Are there anyway i can specify this implementation in my configuration?
Regards,
Sam
Hi,
In the process of setting up the SER proxy server, I always get the
following error :
# /usr/sfw/bin/mysqladmin -h <my_machine_name> -u mysql password
'viperdodge'
/usr/sfw/bin/mysqladmin: unable to change password; error: 'Access
denied for user: '@<my_machine_name>' to database 'mysql''
I am referring to the following document for setting up the proxy
server :
http://developers.sun.com/solaris/articles/solaris_as_sip/solaris_as_sip.ht…
I could finish upto step 5.3 i.e. I finished the test run
successfully, however I am having a problem in setting up the root
password. If I skip this step and go ahead, I get the following
error whenever I try to use serweb using
http://<my_machine_name>/admin :
Database error: pconnect(<my_machine_name>, ser, $Password) failed.
MySQL Error: ()
Session halted.
I tried all the options as per the MYSQL manual which is available at :
http://dev.mysql.com/doc/mysql/en/access-denied.html
But it's not of much help to me.
I will appreciate if somebody has any pointers for this.
Thanks,
Bhaskar...
Dear All,
Can i do my call routing based on the calling party ? So far from what i
see in the examples in iptel.org, it is using the request URI , which is
the call destination.
Any help ?
eg. If i want to route all calls coming from 1234 to a number, how do i
do it ?
Please let me know if you don't understand my question.
Regards,
Sam
Hello Serusers,
After deploying the binary distribution of SER 0.9.3 for Debian from the
repository "deb http://apt.sip-router.org/debian/ stable main contrib
non-free" I was able to install the RADIUS based AUTH against a FreeRADIUS
server. However after loading the acc_radius.so module I encounter module
loading errors as in:
#
WARNING: no fork mode and more than one listen address found(will use only
the the first one)
stateless - initializing
textops - initializing
acc - initializing
ERROR: error while initializing modules
#
No other errors are encountered for "ser -c". When I remove the module
acc_radius.so, everything is OK again and AUTH works fine against the RADIUS
server. My ser.cfg for the modules looks like:
#
# ------------------ module loading ----------------------------------
loadmodule "/usr/lib/ser/modules/sl.so"
loadmodule "/usr/lib/ser/modules/tm.so"
loadmodule "/usr/lib/ser/modules/rr.so"
loadmodule "/usr/lib/ser/modules/maxfwd.so"
loadmodule "/usr/lib/ser/modules/usrloc.so"
loadmodule "/usr/lib/ser/modules/registrar.so"
loadmodule "/usr/lib/ser/modules/textops.so"
loadmodule "/usr/lib/ser/modules/auth.so"
loadmodule "/usr/lib/ser/modules/auth_radius.so"
loadmodule "/usr/lib/ser/modules/acc_radius.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
modparam("usrloc", "db_mode", 0)
# -- RADIUS params --
modparam("auth_radius", "radius_config",
"/etc/radiusclient-ng/radiusclient.conf")
modparam("acc", "radius_config", "/etc/radiusclient-ng/radiusclient.conf")
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
#
#
Your help is very much appreciated!
Kind regards,
--Gernot
I am using a Sipura 3000 with Ser 8.13
When I forward a PSTN call to the gatway.
It disregards the fact that I have stripped the initial 9 using strip(1) and dials the 9 on the PSTN side.
I have set the device for one stage Dialing.
and have the following in my my ser.cfg
# Check for PSTN1
if (uri~"^sip:9") {
strip(1);
t_relay_to_udp ("192.168.100.15", "5061");
break;
};
Any ideas ?
Thanks,
Dinesh
Disticintive ring is not an option as the device won't handle that,
replacing the from would break Caller ID :)
However, i might have an idea now.
* Create aliases in alias table
Invite comes in
if(lookup(alias))
{#alias excists
Append-hf("Called number: ruri\username")
if(lookup(location))
{
#user found, replace username with the called number from the
Called number header field
}
That might work, i'll see if i can set this up in my test machine.
Thanks again for your help,
Erik Versaevel
Chris St Denis wrote:
>Ah, I see your problem.
>
>One option there is to either:
>1. use distinctive ring to differentiate. Something like:
> append_hf("Alert Info: Bellcore-r1\r\n");
>Or
>2. Set the caller ID to be the called id with uac_replace_from or something.
>
>Other than that I can't suggest anything to help you.
>
>-----Original Message-----
>From: Erik Versaevel [mailto:erik@infopact.nl]
>Sent: Wednesday, August 24, 2005 2:01 PM
>To: Chris St Denis
>Cc: 'SER Users'
>Subject: Re: [Serusers] Routing multiple numbers to 1 account
>
>Chris,
>
>So the invite still gets send to the contact uri sip_user registered in
>ser ( in this case sip_user@1.2.3.4:5060), that's not what i want since
>the end device won't know which number has been dialed in order to reach
>it (it has no way to see that 5551234 has been dialed to get to it).
>This looks like alias done by radius instead of the standard ser mysql
>aliases.
>
>Kind regards and thanks for your help,
>
>Erik
>
>
>Chris St Denis wrote:
>
>
>
>>Using the numbers from your example
>>
>>Call comes in to 5551234
>>5551234 is looked up in registration table.
>>5551234 is not found in registration table.
>>5551234 is looked up via radius which returns sip_user
>>Invite is rewritten to be for sip_user
>>sip_user is looked up in the registration table and the usual lookup action
>>is taken.
>>
>>-----Original Message-----
>>From: Erik Versaevel [mailto:erik@infopact.nl]
>>Sent: Wednesday, August 24, 2005 1:52 PM
>>To: Chris St Denis
>>Cc: 'SER Users'
>>Subject: Re: [Serusers] Routing multiple numbers to 1 account
>>
>>Chris,
>>
>>What exactly do you replace in this case? what i need to do is the
>>following:
>>
>>user sip_user registers his contact in ser (ie sip_user@1.2.3.4:5060)
>>
>>SER recieves invite for 5551234(a)mysipserver.com, makes a lookup in a db
>>table, finds that 5551234(a)mysipserver.com belongs to sip_user and
>>forwards the message to 5551234@1.2.3.4:5060 (not sip_user@1.2.3.4:5060)
>>
>>This:
>> avp_pushto("$ruri/username", "s:callee_vdid");
>>looks like you replace the username part of the request uri (in this
>>case 5551234(a)mysipserver.com) with something else (which is what i kinda
>>want to do),
>>
>>Kind regards,
>>
>>Erik
>>
>>
>>Chris St Denis wrote:
>>
>>
>>
>>
>>
>>>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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
>
>
--
InfoPact Netwerkdiensten B.V.
http://www.infopact.nl/
Emmastraat 11-13
3255 BD Oude Tonge
tel. +31 (0)187 64 77 11
mob. +31 (0)645 18 69 67
fax. +31 (0)187 64 77 99