Gareth Owen
2006-Sep-29 20:07 UTC
[asterisk-users] 480i phone: Is there a trick to registering with *??
You need to configure both the "proxy" and the "registrar" on the phone. It appears you don't have the proxy configured - hence the strange To and From headers: To: 7028247 <sip:7028247@> From: 7028247 <sip:7028247@>;tag=3727ada04d20136 Gareth> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Colin Anderson > Sent: 29 September, 2006 6:40 PM > To: 'Asterisk Users Mailing List - Non-Commercial Discussion' > Subject: [asterisk-users] 480i phone: Is there a trick to registeringwith> *?? > > Running * 1.0.9, sip.conf allow=all is set. > > Based on the advice of -users earlier this week I've ordered an Asstra > 480i > CT for evaluation. Phone is up, sees Asterisk, tries to register,Asterisk> refuses. I though it might be codec mismatch so I specified allow=all. > Valid > account, password OK, codec OK, just Asterisk rejects the registration > attempt. Here is what comes out of the syslog of the phone: > > 09-29-2006 16:22:54 Local7.Debug 192.168.1.223 > <013><010><<<<<<<<<<=====IN=====192.168.1.223: Received SIP packetfrom:> 192.168.1.46:5060<013><010>SIP/2.0 401 Unauthorized<013><010>Via: > SIP/2.0/UDP 192.168.1.223;branch=z9hG4bKcbf13ba80<013><010>From:7028247> <sip:8247@>;tag=3727ada04d20136<013><010>To: 7028247 > <sip:8247@>;tag=as39cd5209<013><010>Call-ID: > 2af744c3de82c1985f92d9a3fcba4108@192.168.1.223<013><010>CSeq: 26925325 > REGISTER<013><010>User-Agent: Asterisk PBX<013><010>Allow: INVITE,ACK,> CANCEL, OPTIONS, BYE, REFER<013><010>Contact: > <sip:8247@192.168.1.46><013><010>WWW-Authenticate: Digest > realm="asterisk", > nonce="64a24b82"<013><010>Content-Length: > 0<013><010><013><010><<<<<<<<<<=====IN=====END SIP packet > > And Asterisk sip debug: > > > Sip read: > REGISTER sip:192.168.1.46:5060 SIP/2.0 > Via: SIP/2.0/UDP 192.168.1.223;branch=z9hG4bKcbf13ba80 > Max-Forwards: 70 > Content-Length: 0 > To: 7028247 <sip:7028247@> > From: 7028247 <sip:7028247@>;tag=3727ada04d20136 > Call-ID: 2af744c3de82c1985f92d9a3fcba4108@192.168.1.223 > CSeq: 1580356212 REGISTER > Contact: 7028247 <sip:7028247@192.168.1.223>;expires=1 > Allow-Events: talk,hold,conference > Allow:NOTIFY,REFER,OPTIONS,INVITE,ACK,CANCEL,BYE,INFO > User-Agent: Aastra 480i Cordless/1.3.1.1095 Brcm Callctrl/1.5 > MxSF/v3.2.6.26 > > > 12 headers, 0 lines > Using latest request as basis request > Sending to 192.168.1.223 : 5060 (non-NAT) > Transmitting (no NAT): > SIP/2.0 403 Forbidden > Via: SIP/2.0/UDP 192.168.1.223;branch=z9hG4bKcbf13ba80 > From: 7028247 <sip:7028247@>;tag=3727ada04d20136 > To: 7028247 <sip:7028247@>;tag=as1c8c1d8b > Call-ID: 2af744c3de82c1985f92d9a3fcba4108@192.168.1.223 > CSeq: 1580356212 REGISTER > User-Agent: Asterisk PBX > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER > Contact: <sip:7028247@192.168.1.46> > Content-Length: 0 > > ?? help anyone ?? > _______________________________________________ > --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
Colin Anderson
2006-Sep-29 23:47 UTC
[asterisk-users] 480i phone: Is there a trick to registering with *??
yeah, weird that, i did set the proxy after I posted so it's now sip:7028247@192.168.1.229 but still no dice. There is a port number as well that I left at 0, should I change it to 5060? btw, the hardware is a sweet little package if I get this working I could see this being my favorite phone -----Original Message----- From: Gareth Owen [mailto:gowen@aastra.com] Sent: Friday, September 29, 2006 9:08 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] 480i phone: Is there a trick to registering with *?? You need to configure both the "proxy" and the "registrar" on the phone. It appears you don't have the proxy configured - hence the strange To and From headers: To: 7028247 <sip:7028247@> From: 7028247 <sip:7028247@>;tag=3727ada04d20136 Gareth> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Colin Anderson > Sent: 29 September, 2006 6:40 PM > To: 'Asterisk Users Mailing List - Non-Commercial Discussion' > Subject: [asterisk-users] 480i phone: Is there a trick to registeringwith> *?? > > Running * 1.0.9, sip.conf allow=all is set. > > Based on the advice of -users earlier this week I've ordered an Asstra > 480i > CT for evaluation. Phone is up, sees Asterisk, tries to register,Asterisk> refuses. I though it might be codec mismatch so I specified allow=all. > Valid > account, password OK, codec OK, just Asterisk rejects the registration > attempt. Here is what comes out of the syslog of the phone: > > 09-29-2006 16:22:54 Local7.Debug 192.168.1.223 > <013><010><<<<<<<<<<=====IN=====192.168.1.223: Received SIP packetfrom:> 192.168.1.46:5060<013><010>SIP/2.0 401 Unauthorized<013><010>Via: > SIP/2.0/UDP 192.168.1.223;branch=z9hG4bKcbf13ba80<013><010>From:7028247> <sip:8247@>;tag=3727ada04d20136<013><010>To: 7028247 > <sip:8247@>;tag=as39cd5209<013><010>Call-ID: > 2af744c3de82c1985f92d9a3fcba4108@192.168.1.223<013><010>CSeq: 26925325 > REGISTER<013><010>User-Agent: Asterisk PBX<013><010>Allow: INVITE,ACK,> CANCEL, OPTIONS, BYE, REFER<013><010>Contact: > <sip:8247@192.168.1.46><013><010>WWW-Authenticate: Digest > realm="asterisk", > nonce="64a24b82"<013><010>Content-Length: > 0<013><010><013><010><<<<<<<<<<=====IN=====END SIP packet > > And Asterisk sip debug: > > > Sip read: > REGISTER sip:192.168.1.46:5060 SIP/2.0 > Via: SIP/2.0/UDP 192.168.1.223;branch=z9hG4bKcbf13ba80 > Max-Forwards: 70 > Content-Length: 0 > To: 7028247 <sip:7028247@> > From: 7028247 <sip:7028247@>;tag=3727ada04d20136 > Call-ID: 2af744c3de82c1985f92d9a3fcba4108@192.168.1.223 > CSeq: 1580356212 REGISTER > Contact: 7028247 <sip:7028247@192.168.1.223>;expires=1 > Allow-Events: talk,hold,conference > Allow:NOTIFY,REFER,OPTIONS,INVITE,ACK,CANCEL,BYE,INFO > User-Agent: Aastra 480i Cordless/1.3.1.1095 Brcm Callctrl/1.5 > MxSF/v3.2.6.26 > > > 12 headers, 0 lines > Using latest request as basis request > Sending to 192.168.1.223 : 5060 (non-NAT) > Transmitting (no NAT): > SIP/2.0 403 Forbidden > Via: SIP/2.0/UDP 192.168.1.223;branch=z9hG4bKcbf13ba80 > From: 7028247 <sip:7028247@>;tag=3727ada04d20136 > To: 7028247 <sip:7028247@>;tag=as1c8c1d8b > Call-ID: 2af744c3de82c1985f92d9a3fcba4108@192.168.1.223 > CSeq: 1580356212 REGISTER > User-Agent: Asterisk PBX > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER > Contact: <sip:7028247@192.168.1.46> > Content-Length: 0 > > ?? help anyone ?? > _______________________________________________ > --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_______________________________________________ --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
Colin Anderson
2006-Sep-30 14:55 UTC
[asterisk-users] 480i phone: Is there a trick to registering with *??
oj that's awesome info thanks i will try it when i get back to the office on monday (hey even geeks have to ride bikes on the weekend esp with the leaves turning) fwiw i used the web interface and it's as brutal as a Grandstream but other than that this little number looks *so* sweet - cordless range seems *very* good -----Original Message----- From: Dave Cotton [mailto:dcotton@linuxautrement.com] Sent: Saturday, September 30, 2006 1:36 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] 480i phone: Is there a trick to registering with *?? On Sat, 2006-09-30 at 00:47 -0600, Colin Anderson wrote:> yeah, weird that, i did set the proxy after I posted so it's now > sip:7028247@192.168.1.229 but still no dice. There is a port number aswell> that I left at 0, should I change it to 5060? > > btw, the hardware is a sweet little package if I get this working I could > see this being my favorite phoneHow are you setting up the phone, by the web interface, the on screen or from tftp? Don't mix them the phones get confused. If you have do a full factory reset to get it's full attention. I only use tftp and they run as sweet as a nut. my dhcpd.conf hands out the ip and filename of the main config file host Aastra480i { hardware ethernet 00:08:5D:18:35:52; fixed-address 192.168.1.5; filename "/aastra.cfg"; } The file aastra.cfg contains dhcp: 1 tftp server: 192.168.1.253 subnet mask: 255.255.255.0 default gateway: 192.168.1.1 dns1: 192.168.1.253 time server disabled: 0 time server1: 192.168.1.253 time format: 1 date format: 0 language: 0 tone set: France time zone name: FR-Paris time zone code: CET time zone minutes: 60 sip nortel nat support: 0 sip proxy ip: 192.168.1.253 sip proxy port: 5060 sip registrar ip: 192.168.1.253 sip registrar port: 5060 sip digit time out: 3 sip registration period: 60 sip session timer: 0 sip rtp port: 8000 sip transport protocol: 1 sip use basic codecs: 1 sip dial plan: "X+#" sip dial plan terminator: 0 sip mode: 0 sip vmail: *10 sip blf subscription period: 60 sip silence suppression: 0 sip update callerid: 1 sip allow auto answer: 1 sip intercom mute mic: 1 sip intercom type: 2 sip intercom prefix code: *55 sip intercom line: 1 directed call pickup: 1 call waiting tone: 1 directory 1: company.csv auto resync mode: 3 auto resync time: 01:30 priority alerting enabled: 1 map conf key to: 2663 stuttered disabled: 0 -------------------------- and 00085D183552.cfg (not uppercase) contains ############################################# # # 480i # ############################################# sip screen name: Linux Autrement sip line1 auth name: 2001 sip line1 password: password sip line1 user name: 2001 sip line1 display name: Dave Cotton sip line1 screen name: Dave Cotton sip line1 vmail: *10# sip line2 auth name: 2001 sip line2 password: password sip line2 user name: 2001 sip line2 display name: Dave Cotton sip line2 screen name: Dave Cotton sip line2 vmail: *10# sip line3 auth name: 2001 sip line3 password: password sip line3 user name: 2001 sip line3 display name: Dave Cotton sip line3 screen name: Dave Cotton sip line3 vmail: *10# sip line4 auth name: 2001 sip line4 password: password sip line4 user name: 2001 sip line4 display name: Dave Cotton sip line4 screen name: Dave Cotton sip line4 vmail: *10# sip explicit mwi subscription: 1 sip intercom type: 2 sip intercom prefix code: *55 sip intercom line: 1 #blf softkey1 type: blf softkey1 label: Elaine softkey1 value: 2002 softkey1 states: idle connected incoming outgoing softkey1 line: 1 #speeddial softkey8 type: speeddial softkey8 label: Paris softkey8 value: 5307 softkey8 states: idle connected incoming outgoing softkey8 line: 1 sip.conf is then [2001] type = peer secret = password host = dynamic defaultip = 192.168.1.5 mailbox = 2001 language = en subscribecontext = internal context = internal canreinvite = no dtfmmode = auto disallow = all allow = ulaw qualify = no ; Aastras don't seem to answer qualify so set as no callgroup = 1 pickupgroup = 1 call-limit = 4 callerid = "Dave Cotton" <2001> Hope this helps. -- Dave Cotton <dcotton@linuxautrement.com> _______________________________________________ --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