Displaying 20 results from an estimated 600 matches similar to: "403 Forbidden when registering sip user database on backend"
2005 Aug 18
1
asterisk with odbc
hello
i am trying to use res_odbc for sipuser. my connection
is working. i have checked using isql. even cdr_odbc
is working but i hav problem in res_odbc. i have
created user in sip_buddies table but asterisk is no
getting user from this sip_buddies table.
/etc/asterisk/extconfig.conf
[settings]
sipusers=>odbc,asterisk,sip_buddies
sippeers=>odbc,asterisk,sip_buddies
2005 Aug 23
1
asterisk+realtime
hello
i m using asterisk-1.0.9. i want to connect to db
through odbc. isql is working. but asterisk is not
getting user information from this table. can any one
pls check this
/etc/asterisk/extconfig.conf
[settings]
sipusers => odbc,mysql1,sip_buddies
sippeers => odbc,mysql1,sip_buddies
sip.conf => odbc,mysql1,sip_buddies
sipfriends => odbc,mysql1,sip_buddies
2005 Aug 23
0
asterisk problem with ODBC
hello
i m using asterisk-1.0.9. i want to connect to db
through odbc. isql is working. but asterisk is not
getting user information from this table. can any one
pls check this
odbc connection is working properly is there some
thing required
/etc/asterisk/extconfig.conf
[settings]
sipusers => odbc,mysql1,sip_buddies
sippeers => odbc,mysql1,sip_buddies
sip.conf =>
2009 Mar 02
2
Asterisk realtime
Hi all,
I'm using asterisk in real time mode...All extensions are defined in table
sip_buddies...Everything looks fine and asterisk is reading extensions info
from the sip_buddies table...The problem occurs as soon as any information
on an extension is changed from sip_buddies table...Which mean, if I change
the secret field in sip_buddies table then i should reload asterisk to read
again the
2010 Feb 22
2
Problems with SIP realtime
I have followed the instructions on voip-info.org for Realtime SIP
peers, but I get this notice :
[Feb 22 20:05:32] NOTICE[15298]: chan_sip.c:15889
handle_request_register: Registration from
'<sip:testsip at 192.168.1.150;transport=UDP>' failed for '192.168.1.105' -
No matching peer found
The CLI shows :
[Feb 22 19:58:23] == Parsing
2010 Jun 08
6
reloading realtime sip peers
Hello,
I noticed that changes to realtime sip peers are not applied until a
'reload'. A 'sip reload' does not make any changes to realtime sip peers.
When changing for instance the mailbox-parameter in the realtime
sip_buddies table, the change is not applied with a 'sip reload'.
For every change there is a complete 'reload' necessary.
Why does a 'sip
2005 Aug 10
1
asterisk query mysql problem or bug?
Hi;
I have entries as below in DB,
mysql> select * from sip_buddies;
+----+------+----------+------------+---------+------------+--------+-------
-----+------------+----------+------+
| id | name | context | defaultip | host | mailbox | type |
regseconds | ipaddr | username | port |
+----+------+----------+------------+---------+------------+--------+-------
2009 Dec 11
2
sip realtime question
Hi everybody,
First of all i am sorry my English :)
i want to configure my asterisk server as a sip server that stores sip users in the mysql database connecting directly over odbc driver. My odbc configuration works as below
[root at ao042 asterisk]# isql -v asterisk
+---------------------------------------+
| Connected! |
| |
|
2004 Dec 21
3
What is sip-friends.sql??????
maybe a dumb question but what do we have here???
sip-friends.sql
#
# Table structure for table `sipfriends`
#
CREATE TABLE `sipfriends` (
`name` varchar(40) NOT NULL default '',
`secret` varchar(40) NOT NULL default '',
`context` varchar(40) NOT NULL default '',
`username` varchar(40) default '',
`ipaddr` varchar(20) NOT NULL default '',
2007 Sep 26
4
Asterisk realtime error
Hi! I am proving Asterisk 1.2.24 in realtime with MySQL 5.0.27 using Idefisk
softphones. I followed the steps of "how to" of voip-org but always have
this error:
Sep 25 20:29:07 WARNING[12000]: res_config_mysql.c:360 update_mysql: MySQL
RealTime: Failed to query database. Check debug for more info.
Sep 25 20:29:07 WARNING[12000]: res_config_mysql.c:360 update_mysql: MySQL
RealTime:
2006 Feb 23
1
mysql problems
My database machine is broken and I have to use another one.
I made somewhere mistake(s) and get now in the debug file:
[Feb 24 09:05:24] DEBUG[32664]: MySQL RealTime: Query: SELECT * FROM
sip_buddies WHERE name = '886'
[Feb 24 09:05:24] DEBUG[32664]: MySQL RealTime: Query Failed because:
Can't find file: './astconf/sip_buddies.frm' (errno: 13)
[Feb 24 09:05:25]
2005 May 04
4
Problem with realtime SIP
Hi Guys,
We have just set up Asterisk (CVS Head) for a realtime enviorment using
MySQL & Asterisk Addons.
I have populated the "sip_buddies" table with the same information that
is came from our sip.conf, however registration seems to fail for the
softphone we have set up.
Does anyone have any idea as to what I should be looking for here? I'm
not getting any error messages
2005 Feb 13
1
Mysql and SIP real time configuration...
2006 May 14
1
Getting Realtime running (1.2.7.1)
I've got my res_mysql.conf stating:
[general]
dbhost = 127.0.0.1
dbname = switchref
dbuser = asteriskuser
dbpass = xxxxxxx
dbport = 3306
and my extconfig.conf stating:
sipusers => mysql,switchref,sip_buddies
sippeers => mysql,switchref,sip_buddies
When Asterisk starts, and I show peers and show users, I don't see anything
that is in the database. When looking at the traffic
2009 Aug 07
2
realtime config and extensions.conf
Howdy,
My first forray into using res_mysql.conf for realtime access of sip users
and extensions.
I have the following relevant section of extensions.conf:
---
[trunklocal]
exten => _NXXXXXX,1,Dial(${GLOBAL(TRUNK)}/${EXTEN:${GLOBAL(TRUNKMSD)}})
[local]
include => trunklocal
include => trunktollfree
[longdistance]
include => local
include => trunkld
[international]
include
2014 Feb 18
1
Syntax error for Realtime SQLite3
I am using Realtime on Asterisk 11.5 with a SQLite3 backend. While
everything seems to be working fine I keep getting this error on my log
files:
[2014-02-17 19:55:18] WARNING[20569] res_config_sqlite3.c: Could not
execute 'UPDATE "sip_buddies" SET "ipaddr" = '192.168.2.23', "port" =
'5060', "regseconds" = '1392692118',
2004 Dec 14
3
Problems with app_realtime
It seems that when setting qualify = 200 or qualify = yes in the database for
a sip friend/peer, RealTime does not update the registration status like it
should.
I also have several peers which have been offline and Asterisk still reports
them as registered, even though the registration seconds are only 200.
Asterisk Ver: CVS HEAD 12/1/2004
Layout of sip_buddies:
mysql> describe
2005 Aug 24
2
RealTime ignoringswitch=>Realtime/context@re altime_ext
Thanks John, You are my savior. This is such a great relief. Apparently
realtime will not use either '127.0.0.1' or 'localhost' to connect to the
database. I had to use the actual IP address attached to the NIC before it
worked.
My OS is Debian just a note and Asterisk HEAD from August 20, 2005
Details below for those who might be swimming in the same pool with me.
2010 Aug 03
1
sip.conf register in realtime DB
Hello list,
scrambling different pieces of info together I've come with the following :
I want to have my "register =>" statements in a MySQL-database, so I've
made the following table.
table ast_config :
id 1
cat_metric 0
var_metric 0
commented 0
filename sip.conf
category general
var_name register
var_val username:password at sip.provider.net
In ext_config
2005 Jan 13
1
REGISTER Problems With Realtime
Why is the SELECT statement below putting a "?" in for the username? I am
using today's CVS.
Jan 13 18:48:41 WARNING[7570]: res_config_odbc.c:105 realtime_odbc: SQL
Execute error!
[SELECT * FROM sip_buddies WHERE name = ?]
Full dump:
Sip read:
REGISTER sip:198.88.216.85 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK-ffmzndpfrao2;rport
From: "Mike's Peoria