search for: sipfriends

Displaying 20 results from an estimated 49 matches for "sipfriends".

2004 Sep 30
1
sipfriends in MySQL question/request
Greetings, Is there a way to tie a specific sip username to a IP address when authenticating against mysql sipfriends table? (USE_MYSQL_FRIENDS=1 USE_SIP_MYSQL_FRIENDS=1 in channels/Makefile) The reason is that I'm using Wellgate FXSes that have second/third/fourth FXS ports bugged when I use a password, but work ok when there is no password. Linking the username to a specific ip could be some kind of secu...
2005 Jan 26
1
mySQL-sipfriend dials to another SIP-endpoint - How to set the from-user
Hi, I have some mySQL-sipfriends and connectivity to PSTN. When a call from PSTN comes, it shows a callerid, and that callerid is displayed at the called sip phone. When the call comes from another sip user (defined as mySQL-sipfriend), no callerid is displayed at the called sip phone. I turned on sip debug and discovered, that...
2005 Jan 13
1
asterisk realtime msql
Hi there asterisk goes to 90% cpu usage when trying to authenticate a sip friend using realtime mysql, no other message does appear at cli and asterisk hungs; here some info: *CLI> realtime load sipfriends name 104 Jan 13 11:52:21 DEBUG[8928]: res_config_mysql.c:109 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM sipfriends WHERE name = '104' Jan 13 11:52:21 DEBUG[8928]: res_config_mysql.c:637 mysql_reconnect: MySQL RealTime: Everything is fine. Column Name Col...
2004 Dec 16
0
Making "sip show channels" show sane results with sipfriends from mysql?
hi using sipfriends from mysql from asterisk 1.0 branch, how can I make asterisk show the true channel's current codec with SIP SHOW CHANNELS? This does not seem to work, and bkw_ said sipfriends from mysql didn't have that info at all. For what it may seem, asterisk uses G.726 as told, giving me a -- Form...
2005 Feb 17
2
The 'sipfriends' table is obsolete - ????
After updating to the latest CVS Feb 17 15:20:03 WARNING[15317]: config.c:819 read_config_maps: The 'sipfriends' table is obsolete, update your config to use sipusers and sippeers, though they can point to the same table. == Binding sipusers to mysql/asterisk/sip == Binding sippeers to mysql/asterisk/sip Feb 17 15:20:03 WARNING[15317]: config.c:823 read_config_maps: The 'iaxfriends' table is...
2005 Mar 03
0
Realtime IAX/SIP with 2 asterisk servers but 1 central iax/sipfriends Database
Hello I was wandering If I let 2 asterisk boxes (let's name them ast01 and ast02) connect to one SQL realtime iaxfriends/sipfriends database What happens if I register my client to ast01, The ast01 box will update the client's record in the iaxfriends database (ipaddr/port/regseconds) Let's say there is an incoming call then for this client but this call arrives on ast02 (the box where the client is NOT registerd to...
2005 Sep 04
0
SIP, NAT and MySQL support (sipfriends)
Hi all, I am new to asterisk and I can not find any detailed info on using SIP MySQL support (sipfriends) with clients behind NAT. I've heard that I have to patch chan_sip.c and Makefile to get it working. I tried on voip-info.org but found no answer for my questions. I found some answer on Digium mail list archive: http://lists.digium.com/pipermail/asterisk-cvs/2004-January/000854.html but I d...
2010 Jan 27
1
Asterisk Database Configuration
Hello I need to add sip extensions from my UI so without going through sip.conf so i created table CREATE TABLE `sipfriends` ( `name` varchar(40) NOT NULL default '', `username` varchar(40) default '', `secret` varchar(40) NOT NULL default '', `context` varchar(40) NOT NULL default '', `ipaddr` varchar(20) NOT NULL default '', `port` int(6) NOT NULL default '...
2005 Jan 14
2
Realtime / sip.conf
...not work. When utilizing a flat file, I am able to register endpoints without any problems, and calls can proceed. One interesting side effect that I have noticed is that when I am using realtime for sip, I am unable to see any debug messages on the console (sip debug). By just commenting out the sipfriends line in extconfig.conf the problem goes away. I do have the system utilizing realtime for Voicemail and Extensions, and I do not have any problems. Has anyone seen this problem before? extconfig.conf =-==-=-=-=-=-= [settings] realtime_ext => mysql,asterisk,extensions_table voicemail => m...
2004 Nov 30
1
realTime configuration help needed
...Time: Successfully connected to database. Nov 30 12:44:21 NOTICE[3088]: config.c:562 ast_config_register: Registered Config Engine mysql Nov 30 12:44:21 DEBUG[3088]: config.c:517 __ast_load: Parsing /home/gkon/slash/etc/asterisk/extconfig.conf == Binding sip.conf to odbc/asterisk/sip == Binding sipfriends to odbc/asterisk/sip == MySQL RealTime driver loaded. [chan_sip.so]Nov 30 12:44:21 DEBUG[3088]: config.c:517 __ast_load: Parsing /home/gkon/slash/etc/asterisk/modules.conf => (Session Initiation Protocol (SIP)) Nov 30 12:44:21 DEBUG[3088]: config.c:517 __ast_load: Parsing /home/gkon/slash/etc...
2005 Jan 01
1
Problems to use asterisk with mysql /odbc
...the following: debian is my OS. mysql is installed and working. i has compiled astersk as follows: Modefying: /usr/src/asterisk-1.0.3/channels/Makefile USE_MYSQL_FRIENDS=1 USE_SIP_MYSQL_FRIENDS=1 make, and: make install are correctly. i have probed many choises: chois1: i has create a database sipfriends: mysqladmin create sipfriends the database: CREATE TABLE Sipfriends ( Name varchar(40) NULL default '', Secret varchar(40) NULL default '', Context varchar(40) NULL default '', Username varchar(40) default '', paddr varchar(20) NULL default...
2007 Jan 08
0
SIP rt load from db
...of the rt commands: rtcachefriends=yes; ;rtcache=yes ;rtAutoClear=yes ;rtautoreg=yes ;rtIgnoreRegExpire=yes ;rtupdate=yes rtfromcontact=yes Basically I have a group of 4 * servers all routing calls, but only two are hearing the phones registration. I'd like the other two to load the sipfriends entry from mysql when a channel for that sipfriends is requested. Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070108/5c9fc0f9/attachment.htm
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: http://lists.digium.com/pipermail/asterisk-users/attach...
2010 Jan 28
0
Database Configration
Hello I need to add sip extensions from my UI so without going through sip.conf so i created table CREATE TABLE `sipfriends` ( `name` varchar(40) NOT NULL default '', `username` varchar(40) default '', `secret` varchar(40) NOT NULL default '', `context` varchar(40) NOT NULL default '', `ipaddr` varchar(20) NOT NULL default '', `port` int(6) NOT NULL default '...
2005 Feb 16
2
Sip Notify PAP2-NA?
I am using mysql sipfriends and can't seem to get the MWI to work. From what I've read it seems this is not supported with that dynamic system, and probably never will be. I was thinking of just setting a cron job or something to check every minute for voicemail and set our sip NOTIFY messages as needed. Also, the P...
2005 Jan 26
2
ASTCC Trunks
Hi all I have asked this question before but have not got any helping input. I'm really new to this and need some explanation about ASTCC. So here is the question again. In the ASTCC web admin there are Trunks, Routes, IAXFriends, SIPFriends, Brands, Cards. As I understand Brands is not used, Cards just makes the cards. Routed in the dialplan and pricelist, Trunks is for ASTCC to know where to terminate the call, the rest I don't know. What I can see in the trunks is that there only is IAX, SIP, Local and Zap available. What...
2004 Dec 10
2
include and hint in extensions.conf with new realtime feature - how?
hi, i'm a bit puzzled because i do not get include and hint to work with the new realtime enginge (cvs-head from 2004-12-09). other things (sipfriends and "normal" extensions) work perfect with the realtime engine. the entries in the static extensions.conf file i used before where: exten => 183,hint,SIP/snom220 exten => 183,1,Macro(stdexten,443,SIP/snom220,183) exten => 187,hint,SIP/zyx2000 exten => 187,1,Macro(stdexten,44...
2005 Mar 15
6
Realtime config
...Setup = /usr/lib/libodbcmyS.so FileUsage = 1 odbc.ini --- Description = Asterisk MySQL Connection Trace = off TraceFile = stderr Driver = mysql Server = blah.blah User = blah Password = blah port = 3306 database = asterisk extconfig.conf iaxfriends => odbc,asterisk,sip_users sipfriends => odbc,asterisk,sip_users sipusers => odbc,asterisk,sip_users sippeers => odbc,asterisk,sip_users [asterisk] dsn => asterisk username => dffjdg password => blajh pre-connect => yes Ok, now that's out of the way. In my debug log it shows -nothing-, besides what I can se...
2004 May 22
1
Dynamic SIP.CONF
...We are looking to expand our usage of Asterisk and I am trying to make as much of the configuration dynamic as I possibly can. The only part that I'm having problems with is sip.conf. I can get asterisk to register each extension with our local SER SIP proxy dynamically by using the "sipfriends" table in the database, but I'm having trouble with the message waiting indicators (ie. SIP NOTIFY packets when a new voicemail is waiting). Here is what I have had to do up till now (or similar) in order to make the sip notify packets for message waiting work: [Test_Ext1] type=pe...
2004 Oct 01
1
BUG? no output from 'sip show users|inuse|active|subscriptions' when using MySQL auth
I'm authenticating against sipfriends in MySQL, and have just noticed that none of the below commands return any output: sip show users sip show inuse sip show active sip show subscriptions Is this a bug or something wrong on my side? I'm using the stable 1.0 cvs Vahan