« snuffed out | Main | mark murphy (ripe) at the tote »

nokia E60 / E61 / E70 and cisco callmanager express with sip

DSC00305

Yes, it actually (finally) works! I've got a Nokia E70 registering directly with the SIP service on CallManager Express 4.0 on IOS 12.4(9)T1 on our 2811 ISR.

With assistance from the Cisco TAC, it turns out the trick was to remove authenticate all realm blah from the voice register global part of my IOS config.

Also, you'll want to add codec g711ulaw to any voice register pool entries you have for the Nokia phones - otherwise it'll negotiate G.729 for calls to the Nokia phone (but it'll sound crappy), and calls from the Nokia phone to another IP phone will fail to negotiate.

So here's what to do. I'm making the following assumptions:

  • You're running IOS 12.4(9)T1 on your router.
  • You've already got SCCP telephony working.

Here's the config fragments that work for me - make sure you change the following parts:

  • the source-address line should have the IP address of your router.
  • the id mac line should have the MAC address of your Nokia phone's wi-fi adapter (type *#62209526# on the phone to find out what it is).
  • in the voice register pool entry make sure you choose a decent username and password, of course.
voice register global
 mode cme
 source-address 1.2.3.4 port 5060
 max-dn 12
 max-pool 12
 timezone 47
 time-format 24
 date-format YY-M-D
 dialplan-pattern 1 5551234 extension-length 4
 dst start Oct week 8 day Sun time 02:00
 dst stop Mar week 8 day Sun time 02:00
!
voice register dn  1
 number 1234
 name My Nokia E70
!
voice register pool  1
 id mac 0011.2233.4455
 number 1 dn 1
 username ne70 password some_password
 codec g711ulaw
!

To configure the Nokia phone, see these instructions, though since we haven't configured a realm (doing so doesn't appear to work), you can leave that out.

I still haven't (yet) worked out how to make it work from a subnet that's not local to the router, but I'll see how I go when I get the chance.

Also, the E70's running the original firmware (1.0610.05.07 / 30-05-06) - I'll try it out on our upgraded E60 and E61 when they reappear in the office.

* 12:20 * geek · comments (19)

Comments

Hi Andrew,

I had some questions, if i may??
I am "playing wit dynagen" wich is a emulator for cisco routers. i am emulating an 3725 router with 12.4(9)T1. all looks great i can call from telephone to telephone and softphone.

I allso have a E70
Ver 2.0618.07.10
witch i allso want to comunicate to my virtual router..

i configured the following:


##################################################
hostname Voice-router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
ip cef
!
!
!
!
!
!
!
!
!
voice service voip
fax protocol pass-through g711alaw
modem passthrough nse codec g711alaw
!
!
!
!
!
!
!
!
!
!
!
!
voice register global
mode cme
source-address 192.168.10.253 port 5060
max-dn 12
max-pool 12
timezone 47
time-format 24
date-format YY-M-D
dialplan-pattern 1 5551234 extension-length 4
dst start Oct week 8 day Sun time 02:00
dst stop Mar week 8 day Sun time 02:00
!
voice register dn 1
number 1234
name Mijn Nokia E70
!
voice register pool 1
id mac 0017.B0BD.f182
number 1 dn 1
username e70 password e70
codec g711ulaw
!
!
!
!
!
username nklerk privilege 15 password 0 NDK
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.10.253 255.255.255.0
speed auto
full-duplex
no cdp enable
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
!
!
ip http server
ip http authentication local
no ip http secure-server
ip http path flash:
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
dial-peer voice 1 voip
!
!
!
!
!
!
telephony-service
load 7960-7940 P0030702T023
load 7914 S00104000100
load ATA ATA030100SCCP040211A
load 7961 TERM41.7-0-3-0S
load 7970 TERM70.7-0-3-0S
load 7936 cmterm_7936.3-3-5-0
max-ephones 48
max-dn 96
ip source-address 192.168.10.253 port 2000
auto assign 10 to 30
timeouts interdigit 5
system message Niels test lab
time-zone 23
time-format 24
max-conferences 8 gain -6
moh music-on-hold.au
web admin system name admin password admin
dn-webedit
time-webedit
transfer-system full-consult
transfer-pattern .T
secondary-dialtone 0
directory entry 1 200 name Niels
create cnf-files version-stamp 7960 Dec 05 2006 19:34:58
!
!
ephone-dn 1
number 200
label Test
description Niels Test
name Niels
hold-alert 30 originator
!
!
ephone-dn 2
number 300
park-slot
description test
name test
!
!
ephone-dn 3
number 400
paging
!
!
ephone-dn 4
number 500
name Intercom
intercom 200 label "BLAH"
!
!
ephone-dn 5
number 201
label Test 2
description Niels Test 2
name Niels 2
hold-alert 30 originator
!
!
ephone 1
device-security-mode none
mac-address 0017.0841.bce0
type CIPC
button 1:1
!
!
!
ephone 5
device-security-mode none
mac-address 0018.F36C.BCCA
type CIPC
button 1:5
!
!
!
ephone 6
device-security-mode none
mac-address 0018.DE7A.CCDE
type CIPC
button 1:5
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end

Voice-router#
##################################################

When i debug call events i encounter the following: mssg


ccsip_api_register_ind return value : SIP_SERVICE_UNAVAIL

*Mar 1 00:44:59.771: //25/000000000000/SIP/Error/ccsip_api_register_result_ind:
Message Code Class 5xx Method Code 100 received for REGISTER

could you maybe help me a bit on my lab?

thanx in advance

Niels

> Posted by Niels at December 8, 2006 7:21 AM

Hi Niels.

I'm not too sure about that error message (I had one or two others in my travels, but not that one), but it's worth pointing out that, as far as I can tell so far, you need to have the Nokia phone on the same subnet as the router running CME which is rather annoying. As such, making it work in a Dynamips emulated environment is probably going to be a bit more complicated than it ought to be...

It'd certanly be easy (well, easier) to setup a SIP trunk to an Asterisk server, though. Have you tried that?

> Posted by cos at December 8, 2006 10:45 PM

you need to turn on sip registration :
voice service voip

sip
registrar server expires max 600 min 60

> Posted by daniel pugh at December 23, 2006 1:14 AM

Hi Andrew, you already try with ccm 5.x ... if yes ... can share with me what is a procedure to di this .... because i already try using E61 with CCM 5.x using with SIP but not working ......


Regards
Andri

> Posted by Andri at January 3, 2007 7:43 PM

Sorry, I don't have a CCM 5 system available to try it with at the moment.

> Posted by cos at January 3, 2007 7:45 PM

Did you ever get the phone working from a subnet that wasn't local to the router? I've been trying to get this to work for a couple of days and have finally figured out why.

It's all to do with the way that Cisco tie phones to profiles. When a phone tries to register with the SIP function on the router, the router ARPs for the IP address of the phone that is trying to register. It then uses this as a lookup mechanism for the voice register pool. This obviously works fine for local phones (they will answer the ARP request) but not for remote ones. The workaround is to manually configure ARPs and static routes on the router for the remote IP address. Pretty ugly, but it does work.

e.g.

voice register dn 1
number 9001
!
voice register pool 1
id mac 0014.F275.1D36
type 7912
number 1 dn 1
max registrations 36
codec g711ulaw
!
! arp for none local phones
arp 10.1.198.11 0014.f275.1d36 ARPA
!
! Ip route needed otherwise router thinks the address is local
ip route 10.1.198.11 255.255.255.255 10.1.200.96
!

Hope this helps. I have a number of non Cisco SIP phones registered and working with CME 4.0 now.

Barry

> Posted by Barry Hesk at January 18, 2007 4:03 AM

Yeah, Cisco suggested manual arp entries - I hadn't got around to trying it out yet, and wasn't sure how well it was going to work with roaming phones (ie. you're in the office some of the time, home the rest of the time, and want it to work from both spots).

Still, good to hear it works!

I used the free X-Lite client from http://xten.com/ for testing, back when I was fiddling around - that worked fine.

> Posted by cos at January 18, 2007 9:11 AM

Hi Andrew

It actually works fine with roaming phones, as long as they have fixed IP addresses. The static ARP entry obviously ties the phones IP address to its MAC address - and you can have multiple IP addresses mapping to the same static ARP.

IMHO it is very ugly, but I guess it works. How you can support remote phones with dynamic IP addresses is at this moment beyond me. SCCP gets around this by seemingly passing the phone MAC address in the register request. The SIP register request doesn't alas, hence the problem. I guess Cisco could implement a mechanism where they tie a userid / password to the voice pool device rather than using the MAC. However I suspect Cisco aren't all that interested in allowing loads of none Cisco phones to be able to communicate with a CallManager Express in an easy manner :-) If they do do this, what's the betting that they will move the server based licensing rather than phone based (as they have done in CallManager 5.x).

I was using SJphone to test, which looks very similar to X-Lite. As you say, all seems to work, even through NAT routers / firewalls and the like.

Still can't get my E61 to work (which is why I started here in the 1st place!) however I think this is mostly due to the crud of an Operating System that Nokia ship with the phones)

Barry

> Posted by Barry Hesk at January 19, 2007 12:05 AM

Hi all,

Could you please let me know how I can get this
"playing wit dynagen" which is a emulator for cisco routers. It will be a very good help for me if anyone can help me to get this emulator. Hope Niels can help me as he is already working on it....

Waiting for your reply to jaittu@yahoo.com

> Posted by Jaison at February 7, 2007 1:19 AM

Has anyone set up a dial-peer that is behind a NATing device? Does this work?

CME------>FIREWALL doing Nat -----> CME

Thanks!

> Posted by Pam at February 9, 2007 6:41 AM

HI Andrew, i stumbled across ur page, i was excited to see how nokia can work with CME. As cisco forums kept telling me that CME does not support 3rd party non-cisco phones. Only CallManager does. I was gonna try working X-lite with CME 4.0 first, before attempting on the nokia phones, but i am currently facing problems. I cant get X-lite to work with my CME. This is what i get.

/-1/xxxxxxxxxxxx/SIP/Error/ccsip_reg_search_call_id_table: No entry found in sipCallID Table

//-1/xxxxxxxxxxxx/SIP/Error/sipSPI_validate_own_ip_addr: ReqLine IP addr does not match with host IP addr

Part of my CME configuration, the rest is working on SCCP ip phones
#######################################################
!
voice service voip
sip
registrar server expires max 600 min 60
!
!
voice register global
mode cme
source-address 172.16.2.130 port 5060
max-dn 10
max-pool 12
date-format D/M/Y
dialplan-pattern 2 2345555 extension-length 4
!
voice register dn 1
number 5555
name Xlite
!
voice register pool 1
id mac 000B.DBD9.CEEA
number 1 dn 1
max registrations 48
username xlitey password xlitey
codec g711ulaw
!

> Posted by Jaws at February 9, 2007 2:48 PM

Hi Andrew. I got it working already X-lite + CME. Im gonna experiment on the nokia phones. Just wondering can Nokia N80 do the job? i believe there would be a need to download a sip client for that

> Posted by jaws at February 9, 2007 3:27 PM

Pam, I haven't tried that situation - depending on the specifics of the setup, I might consider using some kind of tunnel between the two CME routers if I were doing it...

jaws, I think the n80i is meant to have a SIP client? I haven't seen one myself, though.

(sorry, I'm out of the country at the moment, so my net access is sporadic at best)

> Posted by cos at February 10, 2007 7:37 PM

And with CME 3.3 (on a 2801) work nokia phones?

> Posted by Pasqu at March 10, 2007 4:31 AM

Pasqu,
I've got a feeling it's CCME 3.4 that adds SIP support, so 3.3 wouldn't work.

> Posted by cos at March 11, 2007 4:26 PM

Hi Barry,

could we have a little chat ?

please contact me : jdbrenckmann@coltteam.net

Many thanks

> Posted by JDB at March 21, 2007 3:12 AM

To All,
Anyone have E61 Clent Software for Cisco Call Manager 5. I need to try if is working. Kindly please send me the software at aragon@mail.com
Thanks in Advance.
Francis

> Posted by Francis at May 14, 2007 5:10 PM

hi..

plz could anyone tell me from where can i download the nokia client software...?

> Posted by Imad Jabboury at May 22, 2007 12:13 AM

I am getting this everytime I try to register a Nokia phone:
VOICE_REG_POOL: Register request for (e70-1) from (192.168.101.52)
VOICE_REG_POOL: Invalid destination pattern (e70-1)

Can you help me ??

> Posted by Lars Thomsen at June 26, 2007 4:40 AM


Comments have been closed for this post. If you've got something to say, please contact me by other means. Thanks!