Hi all I have a problem to register a cisco 7960 to an asterisk 1.2.2 I defined in sip.conf the next : ["phonenumber"] type=friend username="username" secret="password" host=dynamic context=work I am trying to catch the register requests with sip debug with no success (empty screen). I can only catch the register messages with ngrep on host it's comming from. # U CISCO_IP:50339 -> ASTERISK_IP:5060 REGISTER sip:ASTERISK_IP SIP/2.0..Via: SIP/2.0/UDP CISCO_IP:5060;branch=z9hG4bK75640688..From: sip:phonenumber@ASTERISK_IP..To: sip:phonenumber@ASTERISK_IP..Call-ID: 00036b09-607e0002-3377e59b-2e4ebe4d@CISCO_IP..CSeq: 41929 REGISTER..User -Agent: CSCO/6..Contact: <sip:phonenumber@CISCO_IP:5060>..Content-Length: 0..Expires: 1200.... # I ASTERISK_IP -> CISCO_IP 3:10 ....E..}a...>..o.rC...;;.....i..REGISTER sip:ASTERISK_IP SIP/2.0..Via: SIP/2.0/UDP CISCO_IP:5060;branch=z9hG4bK75640688 ..From: sip:phonenumber@ASTERISK_IP..To: sip:phonenumber@ASTERISK_IP..Call-ID: 00036b09-607e0002-3377e59b-2e4ebe4d@CISCO_IP..CSeq: 41929 REGISTER..User-Agent: CSCO/6..Contact: <sip:phonenumber@CISCO_IP:5060>..Content-Length: 0..Expires: 1200 .... # U CISCO_IP:50341 -> ASTERISK_IP:5060 REGISTER sip:ASTERISK_IP SIP/2.0..Via: SIP/2.0/UDP CISCO_IP:5060;branch=z9hG4bK3e649d37..From: sip:phonenumber@ASTERISK_IP..To: sip:phonenumber@ASTERISK_IP..Call-ID: 00036b09-607e0004-0f753871-5dc64fac@CISCO_IP..CSeq: 42010 REGISTER..User -Agent: CSCO/6..Contact: <sip:phonenumber@CISCO_IP:5060>..Content-Length: 0..Expires: 1200.... # I ASTERISK_IP -> CISCO_IP 3:10 ....E..}a...>..n.rC...;;.....i..REGISTER sip:ASTERISK_IP SIP/2.0..Via: SIP/2.0/UDP CISCO_IP:5060;branch=z9hG4bK3e649d37 ..From: sip:phonenumber@ASTERISK_IP..To: sip:phonenumber@ASTERISK_IP..Call-ID: 00036b09-607e0004-0f753871-5dc64fac@CISCO_IP..CSeq: 42010 REGISTER..User-Agent: CSCO/6..Contact: <sip:phonenumber@CISCO_IP:5060>..Content-Length: 0..Expires: 1200 .... If there any way to find what's the reason why i can not register the phone ?? Thanks for the help. --------------------------------- Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060219/2b699dfd/attachment.htm
> I have a problem to register a cisco 7960 to an asterisk 1.2.2 > > I defined in sip.conf the next : > ["phonenumber"] > type=friend > username="username" > secret="password" > host=dynamic > context=work > > I am trying to catch the register requests with > sip debug > with no success (empty screen).The 7960's are one of the easiest phones to configure, so I'd have to assume you've got something very wrong in the phone's config. In the above samples you're showing quotes. If those are actually present in your config, remove them. Try something like this: [1234] type=friend username=1234 secret=mysecret host=dynamic context=work dtmfmode=rfc2833 canreinvite=no mailbox=1234 Then in your 7960 config file (macaddress.cnf), use matching entries like this: line1_name: 1234 line1_authname: 1234 line1_password: mysecret In your 7960 config file (DIPDefault.cnf), ensure the proxy address is defined as the IP adddress of asterisk: proxy1_address: "192.168.1.1" The above are the only parameters needed to make a 7960 register with asterisk.