Displaying 20 results from an estimated 10000 matches similar to: "how to force asterisk to read registration information from DB"
2007 Jul 12
2
how to load phone registration information
Is it possible to load phone registration information stored in sipfriends
MySQL DB, so that Asterisk "thinks" those phones are already registered?
This would be very usefull for a redundant server...
Regards,
Ricardo Carvalho.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 Dec 24
3
Registration failure with debug
can anybody identify why the CLI is issuing a failure message
while debug shows everything is fine????
this makes no sense to me.
also, why is the username being updated? this has got to be wrong
from CLI
-- SIP Seeding '52221' at 52221@192.168.70.26:5060 for 3600
-- SIP Seeding '52221' at 52221@192.168.70.26:5060 for 3600
Dec 24 12:16:35 NOTICE[15776]:
2006 Oct 17
1
Please help me!!
Hi to all,
I've a segmentation fault while using asterisk relatime conf with mysql db.
I've cretate sip_buddies and extensions tables into db and edit
res_mysql.conf, extconf.conf without any issues.
So when I start asterisk and my phone try to register using sip user
configured in my db, asterisk stops with Segmentation fault error.
Follow post gdb backtrace
0 0x400337c0 in
2007 Dec 25
1
Softphone to be installed on the Mobile
Thanks a lot for the help.
But if Asterisk has private IP address and the only
way to access it from remote sites is to have vpn
connection to the site that asterisk existed (the site
has vpn), then how that will happen from the Mobile to
be able to run the softphone from the mobile?
Any help?
Regards
Bilal
-----------------
I installed out of curiosity today, and guess what?
You can do SIP
over
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
2006 Oct 11
0
Segmentation fault asterisk realtime problem
Hi to all,
I've a segmentation fault while using asterisk relatime conf with mysql db.
I've cretate sip_buddies and extensions tables into db and edit
res_mysql.conf, extconf.conf without any issues.
So when I start asterisk and my phone try to register using sip user
configured in my db, asterisk stops with Segmentation fault error.
Follow post gdb backtrace
0 0x400337c0 in
2006 Oct 13
0
Segmentation fault issue
I to all,
I've a segmentation fault while using asterisk relatime conf with mysql db.
I've cretate sip_buddies and extensions tables into db and edit
res_mysql.conf, extconf.conf without any issues.
So when I start asterisk and my phone try to register using sip user
configured in my db, asterisk stops with Segmentation fault error.
Follow post gdb backtrace
0 0x400337c0 in
2006 Jun 12
3
get value from DB directly
Hi,
I want to know how I can get a value from a table. Say, I have a
table sip_buddies for storing sip user account information. There is
a field called 'accountcode' that I want to get its value in the dial
plan. As I find that there is no direct way to get the value from the
table. Does anyone can tell me how can I get its value in the dial
plan?
Thanks!
2004 Dec 17
2
erroneous errors - registration fails for grandstream phones
Has anybody seen this behaviour?
sip conf is stored in mysql database in 2 tables
ast_config for static (general) key/values
sip_buddies for sip extension detail.
database on the same machine as asterisk
Grandstream phones (I happen to have 2) register with asterisk
via sip with accounts and passwords successfully for a variable
period of time. Then after a while, i get errors which appear to
2007 Sep 21
1
Authenticate() application and CDR
Dear all,
I'm trying to configure Asterisk to be able to ask the caller to enter a
given password in order to continue dialplan execution. I've tested this
feature using the Authenticate application like this:
exten => _X./5219,1,Answer
exten => _X./5219,2,Authenticate(1234,a)
exten => _X./5219,3,Playback(pin-number-accepted)
exten => _X./5219,4,Dial(SIP/${EXTEN},120)
2011 Feb 16
1
trunk not working if I register a phone at the same IP as the trunk peer's IP
How should I configure my asterisk server so that I can receive calls from
an unregistered peer from whom I also receive registrations of sip phones?
I'm asking you this, because with my actual configuration, when I register a
contact from that peer's IP, no more inbound calls are accepted from that
peer, as my asterisk rejects those INVITEs with "407 Proxy Authentication
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
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
2007 Mar 13
0
Re: asterisk-users Digest, Vol 32, Issue 48
> From: Ricardo Carvalho <rjcarvalho@reit.up.pt>
> Subject: [asterisk-users] How to match wild card inside a GoToIf?
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users@lists.digium.com>
>
> How can I match wildcards inside a GoToIf?
>
> I have something like this, but it doesn't work:
>
> [default]
> exten =>
2006 Oct 30
0
Realtime trouble with contex
Hello, Asterisk.
I am currently using Asterisk (asterisk-1.2.13) and asterisk-addons-1.2.3_1
on FreeBSD 6.1-RELEASE-p10
So, after setup asterisk for realtime extension:
res_mysql.conf:
[general]
dbhost = 127.0.0.1
dbname = asterisk
dbuser = asterisk
dbpass = asterisk
dbport = 3306
dbsock = /tmp/mysql.sock
res_odbc.conf:
[mysql]
enabled => yes
dsn => asterisk
username => asterisk
2005 Feb 03
1
403 Forbidden when registering sip user database on backend
i am getting 403 Forbidden message from asterisk when
it try to register my user agent. i am basically
useing mysql through ODBC. i hvae checked ODBC
connecteion with
'ODBC Show' command.
------------------------------------------------------
*CLI> odbc show
Name: mysql1
DSN: asteriskdsn
Connected: yes
*CLI>
------------------------------------------------------
and user is added to
2011 Feb 14
1
unregistered trunks and registered phones coming from the same IP
Hi,
I manage an SBC which stands between my company server farm and some SIP
telco trunks. The system works fine, for inbound and outbound calls.
Now I've configured the SBC to also act as a registration proxy, forwarding
SIP registrations coming from the Internet to my asterisk servers.
It all seems fine, but it doesn't work well, because by the time at least
one phone registers through
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',
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