Shaoul Jacobson - TELLINK
2005-Mar-31 07:19 UTC
[Asterisk-Users] Asterisk Realtime - configuration help
Hi, In short : cannot register SIP phone (403 forbidden) In long : I am rather new to asterisk (and linux) One month experience fighting my way in the doc & wiki. I worked before with the static '*.conf' files. That worked but I need real-time. I did compile a cvs head 29 mach 2005. MySQL is installed and is running I can access the database from a remote windows pc with access via odbc & locally with sql admin & sql browser. I created databases following samples explanations in the wiki. extconfig.conf =============[settings] sipfriends => odbc,asterisk,sipbuddies voicemail => odbc,asterisk,voicemail_table extensions => odbc,asterisk,extension_table extensions.conf ==============[from-sip] switch => Realtime/from-sip@sipfriends ; ; voice mail number ; exten => 1999,1,Ringing exten => 1999,2,Wait exten => 1999,3,VoiceMailMain content of sip_buddies table within the asterisk database ========================================================(I display only relevant fields) name callerid canreinvite context host mailbox blacky blacky<1007> no from-sip dynamic 1007@default silver silver<1007> no from-sip dynamic 1015@default nat type username disallow allow -1 friend 1007 all g729 (I bought licenses) -1 friend 1015 all g729 I renamed sip.conf to sip.old Asterisk -vvvvvvc shows realtime has started. No sql problems to be seen in log file Realtime mysql status shows : "connected to asterisk@127.0.0.1, port 3306 wih username asterisk for xx minutes" so ? regards, Shaoul Jacobson VoIP Consultant Tellink Tel : +32 3 201 96 36 Fax : +32 3 227 09 81 e-mail shaoul@tellink.com
Shaoul Jacobson - TELLINK
2005-Mar-31 07:43 UTC
[Asterisk-Users] RE: Asterisk Realtime - configuration help
Hi, (re-posted since I did not see my original one after some time) In short : cannot register SIP phone (403 forbidden) In long : I am rather new to asterisk (and linux) One month experience fighting my way in the doc & wiki. I worked before with the static '*.conf' files. That worked but I need real-time. I did compile a cvs head 29 mach 2005. MySQL is installed and is running I can access the database from a remote windows pc with access via odbc & locally with sql admin & sql browser. I created databases following samples explanations in the wiki. extconfig.conf =============[settings] sipfriends => odbc,asterisk,sipbuddies voicemail => odbc,asterisk,voicemail_table extensions => odbc,asterisk,extension_table extensions.conf ==============[from-sip] switch => Realtime/from-sip@sipfriends ; ; voice mail number ; exten => 1999,1,Ringing exten => 1999,2,Wait exten => 1999,3,VoiceMailMain content of sip_buddies table within the asterisk database ========================================================(I display only relevant fields) name callerid canreinvite context host mailbox blacky blacky<1007> no from-sip dynamic 1007@default silver silver<1007> no from-sip dynamic 1015@default nat type username disallow allow -1 friend 1007 all g729 (I bought licenses) -1 friend 1015 all g729 I renamed sip.conf to sip.old Asterisk -vvvvvvc shows realtime has started. No sql problems to be seen in log file Realtime mysql status shows : "connected to asterisk@127.0.0.1, port 3306 wih username asterisk for xx minutes" so ? regards, Shaoul Jacobson VoIP Consultant Tellink Tel : +32 3 201 96 36 Fax : +32 3 227 09 81 e-mail shaoul@tellink.com