I've found some manuals and tried this to do : Sip.conf [test] type=friend username=test1 secret=test1 host=192.168.1.238 context=tutorial fromuser=SIP Phone callerid=101 nat=no canreinvite=yes dtfmode=info disallow=all allow=ulaw [test] type=friend username=test secret=test host=192.168.1.240 context=tutorial callerid=100 nat=no canreinvite=yes dtfmode=info disallow=all allow=ulaw Extensions.conf [tutorial] exten => 101,1,Dial(SIP/test1) exten => 100,1,Dial(SIP/test) allow restarted with sudo /etc/rc.d/init.d/asterisk restart I'm using Xlite 3.0 34025 In the phone shows "Registration error: 404 - Not found" What should I do now?? I just want to call from one phone to another one -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070506/3b66303c/attachment.htm
First of all, both users have the same name: [test] type=friend username=test1 ... [test] type=friend username=test ... You should change this to: [test1] type=friend username=test1 ... [test] type=friend username=test ... Nico Ardit Saliu schrieb:> > I?ve found some manuals and tried this to do : > > Sip.conf > > > > [test] > > type=friend > > username=test1 > > secret=test1 > > host=192.168.1.238 > > context=tutorial > > fromuser=SIP Phone > > callerid=101 > > nat=no > > canreinvite=yes > > dtfmode=info > > disallow=all > > allow=ulaw > > > > > > > > [test] > > type=friend > > username=test > > secret=test > > host=192.168.1.240 > > context=tutorial > > callerid=100 > > nat=no > > canreinvite=yes > > dtfmode=info > > disallow=all > > allow=ulaw > > > > > > Extensions.conf > > [tutorial] > > exten => 101,1,Dial(SIP/test1) > > exten => 100,1,Dial(SIP/test) > > > > allow restarted with sudo /etc/rc.d/init.d/asterisk restart > > > > > > I?m using Xlite 3.0 34025 > > > > In the phone shows ?Registration error: 404 ? Not found? > > > > What should I do now?? > > I just want to call from one phone to another one > > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070506/f4f5e4d1/attachment.htm
Hi Ardit, You set two session with the same name ([test]). Try changing those names to [test1] and [test2] Ronaldo. Ardit Saliu wrote:> > I?ve found some manuals and tried this to do : > > Sip.conf > > [test] > > type=friend > > username=test1 > > secret=test1 > > host=192.168.1.238 > > context=tutorial > > fromuser=SIP Phone > > callerid=101 > > nat=no > > canreinvite=yes > > dtfmode=info > > disallow=all > > allow=ulaw > > [test] > > type=friend > > username=test > > secret=test > > host=192.168.1.240 > > context=tutorial > > callerid=100 > > nat=no > > canreinvite=yes > > dtfmode=info > > disallow=all > > allow=ulaw > > Extensions.conf > > [tutorial] > > exten => 101,1,Dial(SIP/test1) > > exten => 100,1,Dial(SIP/test) > > allow restarted with sudo /etc/rc.d/init.d/asterisk restart > > I?m using Xlite 3.0 34025 > > In the phone shows ?Registration error: 404 ? Not found? > > What should I do now?? > > I just want to call from one phone to another one > > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >