asterisk at opensourcesolution.in
2009-Nov-12 06:10 UTC
[asterisk-users] softphones (x_lite) not able to register with asterisk server
hi all, i had installed asterisk on Centos 5.3, sip.conf and extentions.conf are vi /etc/asterisk/sip.conf [general] port 5060 bindaddr = 192.168.1.2 (asterisk server ip addr) context = others [2000] type=friend context=my-phones secret=1234 host=dynamic [2001] type=friend context=my-phones secret=1234 host=dynamic vi /etc/asteris/extentions.conf [others] [my-phones] exten => 2000,1,Dial(SIP/2000) exten => 2001,1,Dial(SIP/2001) now when i am registering softphones i am getting error message "AN ACCOUNT WITHOUT DOMAIN NAME OR USERNAME IS INVALID,AND CAN NOT BE ENABLED.ARE YOU SURE U WANT TO CONTINUE" thx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091112/b1b81567/attachment.htm
ABBAS SHAKEEL
2009-Nov-12 06:25 UTC
[asterisk-users] softphones (x_lite) not able to register with asterisk server
Hello. I see this post many times. I have written this for you to get a start. This is sip.conf [general] context=default ; Default context for incoming calls allowoverlap=no ; Disable overlap dialing support. (Default is yes) bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) ; bindport is the local UDP port that Asterisk will ; listen on bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all) srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; Note: Asterisk only uses the first host ; in SRV records ; Disabling DNS SRV lookups disables the ; ability to place SIP calls based on domain ; names to some other SIP users on the Internet dtmfmode = rfc2833;inband [610] username=610 secret=610610 type=friend context=start_here host=dynamic nat=yes canreinvite=no callerid=test<610> This is extensions.conf [general] [global] [start_here] exten =>123,1, Answer(); exten => 123,2,playback(tt-monkeys); exten => 123,3,hangup(); I hope this time you will get success Cheers On Thu, Nov 12, 2009 at 11:10 AM, <asterisk at opensourcesolution.in> wrote:> > hi all, > i had installed asterisk on Centos 5.3, sip.conf and extentions.conf are > vi /etc/asterisk/sip.conf > [general] > port = 5060 > bindaddr = 192.168.1.2 (asterisk server ip addr) > context = others > [2000] > type=friend > context=my-phones > secret=1234 > host=dynamic > [2001] > type=friend > context=my-phones > secret=1234 > host=dynamic > > vi /etc/asteris/extentions.conf > [others] > [my-phones] > exten => 2000,1,Dial(SIP/2000) > exten => 2001,1,Dial(SIP/2001) > > now when i am registering softphones i am getting error message > *"an account without domain name or username is invalid,and can not be > enabled.are you sure u want to continue"* > > thx > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Best Regards Shakeel Abbas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091112/e74a41d2/attachment.htm
ABBAS SHAKEEL
2009-Nov-12 06:27 UTC
[asterisk-users] softphones (x_lite) not able to register with asterisk server
You may be doing some thing wrong with Configuration of Softphone. Please take a tutorial .. Google is a good friend. I suggest you to use X-lite softphone. On Thu, Nov 12, 2009 at 11:25 AM, ABBAS SHAKEEL <shakeel.abbas.qau at gmail.com> wrote:> > Hello. > > I see this post many times. I have written this for you to get a start. > This is sip.conf > [general] > context=default ; Default context for incoming calls > allowoverlap=no ; Disable overlap dialing support. (Default is yes) > bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) > ; bindport is the local UDP port that Asterisk will > ; listen on > bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all) > srvlookup=yes ; Enable DNS SRV lookups on outbound calls > ; Note: Asterisk only uses the first host > ; in SRV records > ; Disabling DNS SRV lookups disables the > ; ability to place SIP calls based on domain > ; names to some other SIP users on the Internet > dtmfmode = rfc2833;inband > [610] > username=610 > secret=610610 > type=friend > context=start_here > host=dynamic > nat=yes > canreinvite=no > callerid=test<610> > > This is extensions.conf > [general] > > [global] > > [start_here] > exten =>123,1, Answer(); > exten => 123,2,playback(tt-monkeys); > exten => 123,3,hangup(); > > I hope this time you will get success > > Cheers > > > > > On Thu, Nov 12, 2009 at 11:10 AM, <asterisk at opensourcesolution.in> wrote: > >> >> hi all, >> i had installed asterisk on Centos 5.3, sip.conf and extentions.conf are >> vi /etc/asterisk/sip.conf >> [general] >> port = 5060 >> bindaddr = 192.168.1.2 (asterisk server ip addr) >> context = others >> [2000] >> type=friend >> context=my-phones >> secret=1234 >> host=dynamic >> [2001] >> type=friend >> context=my-phones >> secret=1234 >> host=dynamic >> >> vi /etc/asteris/extentions.conf >> [others] >> [my-phones] >> exten => 2000,1,Dial(SIP/2000) >> exten => 2001,1,Dial(SIP/2001) >> >> now when i am registering softphones i am getting error message >> *"an account without domain name or username is invalid,and can not be >> enabled.are you sure u want to continue"* >> >> thx >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > > -- > Best Regards > Shakeel Abbas > >-- Best Regards Shakeel Abbas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091112/f45ba677/attachment.htm