[Asterisk-Users] Realtime / sip.conf

Muhammad Rizwan Khan rizwan at advcomm.net
Fri Jan 14 12:58:58 MST 2005


Brain:

I am still hanging with the same problem, although i tried this:
# iptables -t nat -A PREROUTING -p udp -i eth0 --dport 0 -j REDIRECT
--to-port 5060
from:
http://www.voip-info.org/tiki-index.php?page=Asterisk%20phone%20grandstream%20budgetone#comments

But still have same problems?
Any how are you able to make call now?


On Fri, 2005-01-14 at 23:39, Brian S. Adelson wrote:
> Thank you everyone for your help.  It looks like my problem was
> related to:
> 
> http://bugs.digium.com/bug_view_page.php?bug_id=0003332
> 
> I patched and all is well now.
> 
> -brian
> 
> 
> On Fri, 14 Jan 2005 at 12:57 Brian S. Adelson (brian at voicenet.com) wrote:
> 
> > Muhammad,
> >   Could you possible share you configuration and what version of
> >   asterisk you are running (I am using the head version from today)
> >   Maybe this will shed some light on the problem that both of us are
> >   having.
> > 
> >   -Brian
> > 
> > 
> > On Fri, 14 Jan 2005 at 22:08 Muhammad Rizwan Khan (rizwan at advcomm.net) wrote:
> > 
> > > I also have setting in extconfig.conf file, and i am able to register
> > > users. The only difference is that i am using odbc instead of mysql in
> > > settings.
> > > The problem i am facing is that whenever i call (using Xlite) from one
> > > extension (e.g 12345) to another (e.g. 123456), my dialler shows me
> > > error 484: address incomplete. On the other hand whenever i call from
> > > one extension (e.g 123245) to the same (e.g 12345) it grings properly.
> > > Any idea what can be the problem here.
> > > 
> > > Thanks
> > > 
> > > On Fri, 2005-01-14 at 21:46, Brian S. Adelson wrote:
> > > > I do not recieve any debug messages for sip when extconfig is setup to
> > > > use sipfriends.  Here is my extconfig:
> > > > 
> > > > [settings]
> > > > 
> > > > realtime_ext => mysql,asterisk,extensions_table 
> > > > voicemail => mysql,asterisk,voicemail_table 
> > > > sipfriends => mysql,asterisk,sip_extensions 
> > > > 
> > > > As you can see, there is not much to it.  But when I do have
> > > > "sipfriends" enabled, then I am not able to register any phones etc.  
> > > > 
> > > > -Brian
> > > > 
> > > > 
> > > > On Fri, 14 Jan 2005 at 10:40 Matthew Boehm (mboehm at cytelcom.com) wrote:
> > > > 
> > > > > If you only get debug messages when you use console then you don't have
> > > > > something setup right in extconfig
> > > > > 
> > > > > -Matthew
> > > > > ----- Original Message ----- 
> > > > > From: "Brian S. Adelson" <brian at voicenet.com>
> > > > > To: "Matthew Boehm" <mboehm at cytelcom.com>
> > > > > Cc: "Asterisk Users Mailing List - Non-Commercial Discussion"
> > > > > <asterisk-users at lists.digium.com>
> > > > > Sent: Friday, January 14, 2005 10:16 AM
> > > > > Subject: Re: [Asterisk-Users] Realtime / sip.conf
> > > > > 
> > > > > 
> > > > > > Sorry, thought I mentioned that.
> > > > > >
> > > > > > In the debug, I do not see it attemping to query the mysql database.
> > > > > > It only makes this attempt when i try to pull information via the
> > > > > > console:
> > > > > >
> > > > > >
> > > > > > *CLI> realtime load sipfriends name 155
> > > > > >                    Column Name  Column Value
> > > > > >           --------------------  -------------------- 
> > > > > >                       uniqueid  1
> > > > > >                           name  155
> > > > > >                       callerid  X-Line Phone
> > > > > >                    canreinvite  N
> > > > > >                        context  from-internal
> > > > > >                       dtmfmode  rfc2833
> > > > > >                           host  dynamic
> > > > > >                        mailbox  155
> > > > > >                            nat  no
> > > > > >                           port  5060
> > > > > >                         secret  155
> > > > > >                           type  friend
> > > > > >                       username  155
> > > > > >                     regseconds  0
> > > > > >
> > > > > >
> > > > > > Jan 14 23:10:57 DEBUG[11834]: MySQL RealTime: Retrieve SQL: SELECT * FROM
> > > > > sip_extensions WHERE name = '155'
> > > > > > Jan 14 23:10:57 DEBUG[11834]: MySQL RealTime: Everything is fine.
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Fri, 14 Jan 2005 at 10:12 Matthew Boehm (mboehm at cytelcom.com) wrote:
> > > > > >
> > > > > > > What's in your debug?
> > > > > > >
> > > > > > > -Matthew
> > > > > > > ----- Original Message ----- 
> > > > > > > From: "Brian S. Adelson" <brian at voicenet.com>
> > > > > > > To: "Asterisk Users Mailing List - Non-Commercial Discussion"
> > > > > > > <asterisk-users at lists.digium.com>
> > > > > > > Sent: Friday, January 14, 2005 9:47 AM
> > > > > > > Subject: [Asterisk-Users] Realtime / sip.conf
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > I am currently in the process of testing out realtime support for
> > > > > > > > sip.conf.  I have followed all of the directions that are listed in
> > > > > > > > the Wiki, but for some reason this does 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 => mysql,asterisk,voicemail_table
> > > > > > > > sipfriends => mysql,asterisk,sip_extensions
> > > > > > > >
> > > > > > > >
> > > > > > > > *CLI> realtime mysql status
> > > > > > > > Connected to asterisk at 127.0.0.1, port 3306 with username asterisk for
> > > > > 10
> > > > > > > minutes, 22 seconds.
> > > > > > > >
> > > > > > > >
> > > > > > > > -Brian
> > > > > > > >
> > > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > Asterisk-Users mailing list
> > > > > > > > Asterisk-Users at lists.digium.com
> > > > > > > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > > > > > > To UNSUBSCRIBE or update options visit:
> > > > > > > >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > Asterisk-Users mailing list
> > > > > > Asterisk-Users at lists.digium.com
> > > > > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > > > > To UNSUBSCRIBE or update options visit:
> > > > > >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> > -- 
> > Brian S. Adelson
> > 
> > Vice President of Systems Administration
> > Voicenet
> > Phone 215.674.9290 x1146
> > brian at voicenet.com
> > 	
> > 
> > 
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list