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, <aster...@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
_______________________________________________ -- 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