Hi, I've have followed through the help docs in trying to get an initial setup going with two phones and the asterisk server. Firstly, all I'm trying to do is get the two phones actually talking to one another VIA asterisk.. I've added this to sip.conf: [phone1] type=friend host=dynamic defaultip=192.168.1.106 ;username=blah ;secret=blah dtmfmode=rfc2833 ; Choices are inband, rfc2833, or info mailbox=1000 ; Mailbox for message waiting indicator context=sip callerid="Me" <2124> [phone2] type=friend ;secret=blah host=dynamic defaultip=192.168.1.107 dtmfmode=rfc2833 ; Choices are inband, rfc2833, or info mailbox=1000 ; Mailbox for message waiting indicator context=sip callerid="Mini Me" <2123> And in extensions.conf at the very end: [sip] exten => 1,1,Dial(SIP/phone1,20,tr) exten => 2,1,Dial(SIP/phone2,20,tr) exten => 1000,1,Dial(SIP/phone1&SIP/phone2,20,tr) These are budgetone 102's, so I've then proceeded to their admin interface, and told them that the sip server is: "192.168.1.13". For phone1, all I've set is the sip id/username as "phone1" and likewise for "phone2" on phone number two. Rebooted.. But I do not seem to be able to get them to talk to asterisk. When issuing a "sip show peers" in asterisk, it displays: Name/username Host Mask Port Status phone2/phone2 192.168.1.107 (D) 255.255.255.255 5060 Unmonitored phone1 (Unspecified) (D) 255.255.255.255 0 Unmonitored And when a sip show registry is issued, nothing seems to be connected: Host Username Refresh State Could there be something I'm missing in order to get the very basic working and then expand on that? Thanks in advance. Matthew
Phone two is registering ok, double check phone one against phone two's settings. ----- Original Message ----- From: <matthew@burtonhosting.com> To: <asterisk-users@lists.digium.com> Sent: Sunday, May 09, 2004 3:51 PM Subject: [Asterisk-Users] Help with initial setup> Hi, > > I've have followed through the help docs in trying to get an initial setup > going with two phones and the asterisk server. Firstly, all I'm trying to > do is get the two phones actually talking to one another VIA asterisk.. > > I've added this to sip.conf: > > [phone1] > type=friend > host=dynamic > defaultip=192.168.1.106 > ;username=blah > ;secret=blah > dtmfmode=rfc2833 ; Choices are inband, rfc2833, or info > mailbox=1000 ; Mailbox for message waiting indicator > context=sip > callerid="Me" <2124> > > [phone2] > type=friend > ;secret=blah > host=dynamic > defaultip=192.168.1.107 > dtmfmode=rfc2833 ; Choices are inband, rfc2833, or info > mailbox=1000 ; Mailbox for message waiting indicator > context=sip > callerid="Mini Me" <2123> > > And in extensions.conf at the very end: > > [sip] > exten => 1,1,Dial(SIP/phone1,20,tr) > exten => 2,1,Dial(SIP/phone2,20,tr) > exten => 1000,1,Dial(SIP/phone1&SIP/phone2,20,tr) > > These are budgetone 102's, so I've then proceeded to their admininterface,> and told them that the sip server is: "192.168.1.13". For phone1, allI've> set is the sip id/username as "phone1" and likewise for "phone2" on phone > number two. Rebooted.. But I do not seem to be able to get them to talkto> asterisk. > > When issuing a "sip show peers" in asterisk, it displays: > > Name/username Host Mask Port Status > phone2/phone2 192.168.1.107 (D) 255.255.255.255 5060Unmonitored> phone1 (Unspecified) (D) 255.255.255.255 0Unmonitored> > And when a sip show registry is issued, nothing seems to be connected: > > Host Username Refresh State > > Could there be something I'm missing in order to get the very basicworking> and then expand on that? > > Thanks in advance. > > Matthew > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 >
On Sun, 2004-05-09 at 18:51, matthew@burtonhosting.com wrote:> Hi, > > I've have followed through the help docs in trying to get an initial setup > going with two phones and the asterisk server. Firstly, all I'm trying to > do is get the two phones actually talking to one another VIA asterisk.. > > I've added this to sip.conf: > > [phone1] > type=friend > host=dynamic > defaultip=192.168.1.106 > ;username=blah > ;secret=blah > dtmfmode=rfc2833 ; Choices are inband, rfc2833, or info > mailbox=1000 ; Mailbox for message waiting indicator > context=sip > callerid="Me" <2124> > > [phone2] > type=friend > ;secret=blah > host=dynamic > defaultip=192.168.1.107 > dtmfmode=rfc2833 ; Choices are inband, rfc2833, or info > mailbox=1000 ; Mailbox for message waiting indicator > context=sip > callerid="Mini Me" <2123> > > And in extensions.conf at the very end: > > [sip] > exten => 1,1,Dial(SIP/phone1,20,tr) > exten => 2,1,Dial(SIP/phone2,20,tr) > exten => 1000,1,Dial(SIP/phone1&SIP/phone2,20,tr) > > These are budgetone 102's, so I've then proceeded to their admin interface, > and told them that the sip server is: "192.168.1.13". For phone1, all I've > set is the sip id/username as "phone1" and likewise for "phone2" on phone > number two. Rebooted.. But I do not seem to be able to get them to talk to > asterisk. > > When issuing a "sip show peers" in asterisk, it displays: > > Name/username Host Mask Port Status > phone2/phone2 192.168.1.107 (D) 255.255.255.255 5060 Unmonitored > phone1 (Unspecified) (D) 255.255.255.255 0 Unmonitored > > And when a sip show registry is issued, nothing seems to be connected: > > Host Username Refresh State > > Could there be something I'm missing in order to get the very basic working > and then expand on that? > > Thanks in advance. > > MatthewMatt has made a great start page - http://astguiclient.sourceforge.net/scratch_install.html Just change the ip's to match your own - you'll be going in minutes! t o n y