Saturday, May 7, 2011

Finally! Cisco Mobile 8.1 Supports CME 8.6

Hi Guys

So, CME 8.6 (available with IOS 15.1(4)M) finally supports Cisco Mobile (That's the Cisco Mobile app for your Iphone!)

It has some awesome features that I will get into in another blog post, but for now let's just concentrate on getting it registered.

The first step is to make sure your running the IOS I listed above, this is required to use Cisco Mobile 8.1 (although some people have had success getting it working on older IOS, your milage may vary)

Anyway, once you have established that the next thing you need to know is that Cisco Mobile uses SIP to communicate, setting up SIP registration your CME is beyond the scope of this document, but just to make things easier for everyone I have posted a snippet of the configuration I use at home that work's just fine for me:
PeterCCIE18371#show run | sect voice register global

voice register global
mode cme

source-address 10.0.0.3 port 5060

max-dn 10

max-pool 10
authenticate register
hold-alert

tftp-path flash:
!

Now, the next step is you need to actually create a DN and a pool for the device, here is what I have configured:


voice register dn 1
number 3009
pickup-group 1

name Peter
!

Then, you setup a pool:

voice register pool 10
registration-timer max 720 min 660
id mac 0026.4ABC.C138
session-transport tcp
type CiscoMobile-iOS
number 1 dn 1
username 3009 password 3009

!

that's a lot of configuration, lets examine it line by line:

First, you must put in the registration times i have shown here so that the app stays registered in the background.

The next step is the ID Mac, this does not actually have to be the MAC address of your iphone, it can be anything really as long as it is not in use elsewhere.
next you specify the type, CiscoMobile-iOS
then, number 1 dn 1 (which links to voice register dn 1 which we specified previously)

finally, you must configure a username and password.

Once this is all done, go into voice register global and generate the configuration file (SEPXXXXXXXX.cnf.XML where XXXX is your MAC address you specified)

voice register global
create profile

now the only configuration left is on the actual client itself, and it is pretty easy!

Open Cisco Mobile 8.1 (it's available in the app store, confusingly there are two versions, Cisco Mobile 8.1 and 8.0, and even Cisco Mobile Communicator which is used with mobility advantage and is not what we are working with here today)


So as you can see, you just enter in your Username and Password you configured previously, the Device ID you configured previously and Away you go!


The cool thing is, it even works with background Apps and interrupts when it needs to, Here's a screenshot:





35 comments:

  1. Thank you for this! I have been trying to set this up in my home lab ever since CME 8.6 was released. I was missing the:

    voice register global
    create profile

    DUH!

    Thanks again.
    Ryan

    ReplyDelete
  2. Great post Peter, thanks!
    Did you already integrate the Cisco Mobile 8.1 with the desk phone?

    Fernando Quintino

    ReplyDelete
  3. Hi Peter,

    tried to deploy the same, but i'm experiencing problems. Can you check my config?

    Pavel

    ReplyDelete
  4. Hi don't you know if CME 8.6 could work with the Cisco Mobile 8.0, beacuse I have a Iphone 3G, so no way to get the 8.1, but when I try to register I get an error that says "Server Temporarily Unavailable". I debugged the TFTP and the iphone is getting the SEP file, I don't know what else to check. I have a configuration very similar to yours. Thanks.

    ReplyDelete
  5. I managed to sove the issue, I just needed to enable the SIP registrar server.
    voice service voip
    sip
    registrar server

    ReplyDelete
  6. excellent post peter. i got both CM8.0 and CM8.1 registered now.

    ReplyDelete
  7. Thanks for all the info. I am going to be setting this up shortly, but have a questions around using this globally outside the office network. In this setup there is only a source and port address of the local network configured "source-address 10.0.0.3 port 5060"

    If you want to have Cisco Mobile work outside the local office wireless LAN, wouldn't you need to have a global internet address associated with this config?

    A internet resolvable DNS name/address would be needed to make this work as well obviously. Does Cisco Mobile 8.x need to have special provisions to work through an IOS based firewall config/NAT?

    Thanks for the help in advance

    ReplyDelete
  8. Good stuff! I got an iPhone 4 up and registered on the inside network - of course the real magic would be if this works via 3G.... so I set up dyndns on my outside interface I didn't change the source-address under voice register global and had the phone re register via WiFi - so far so good. Next I re-configured the client to allow calling over 3G and enabled low bandwidth mode and turned OFF WiFi. The iPhone never completes the registration - I turned on debug for TFTP to see if I was at least getting to the router - I was - but now seem to be stuck in a loop; Looking For SEP....... Opened flash:/SEP.... Finished flash:/SEP loop over and over again in debug screen. I even waited and let the timers un-register the phone from the inside network - same thing stuck it the tftp loop. Any suggestions?

    ReplyDelete
  9. What I do is to make my router an easy vpn server and use iphone vpn software to connect to it and it works great of course if you dont mind a lot about security its best to use a DES scheme for vpn encryption so Voice doent get too much latency.

    ReplyDelete
  10. any luck with getting this to work via 3G without the need of VPN? is this suppose to work?

    ReplyDelete
  11. Hello,
    compliments for your guide.
    I tried to follow her but have some problem.
    When the iPhone attempts to register on the SIP server, the
    session times out and on the logs I see that the iPhone
    can't find the file:
    Aug 11 03:18:21.800: TFTP: Looking for
    CUPC / DirLookupDialRules.xml

    You know you tell me how to create that file?
    thanks..
    bye

    Phelton from italy

    ReplyDelete
  12. G'day .. All seems to work until a call is up for ~ 20 Secs the the CME tears the call down.
    After debugging ccsip I found that the CME sends 200OK with SDP but the soft phone doesn't respond with 200OK.

    Interestingly it this only happens on calls made with the Cisco Mobile 8.1 client.

    Calls made to the soft phone work as expected.

    ReplyDelete
  13. I am having the same problem with Mobile 8.1 client that it will discount after 20 or less seconds did anyone figure out this issue as of yet?

    ReplyDelete
  14. Phelton,

    Try to configure this:

    voice service voip
    allow-connections sip to sip
    sip
    registrar server expires max 600 min 60
    !
    voice class codec 1
    codec preference 1 g711ulaw
    !


    It may work!

    ReplyDelete
  15. just wondering if anyone managed to solve the 20 second drop out issue im still having it...

    ReplyDelete
  16. Phelton / Anonymous,

    Try binding control and media to the CCME listening interface:

    voice service voip
    sip
    bind all source-interface gi0/1

    Regards

    ReplyDelete
  17. Just in case anyone has problems with outbound calls disconnecting, under
    Voice Service Voip
    sip

    you have to BIND Control and BIND MEDIA to one IP Address only.

    This applies to Jabber 8.6.3 as well as 8.x

    ReplyDelete
  18. This comment has been removed by the author.

    ReplyDelete
  19. Thanks for the great post, however, I tried to input voice register global in IOS 15.1(4)M) in GNS3 with 7200 Router.
    But unfortunately, this command doesn't support in the list.
    Please advise if you have some idea.

    ReplyDelete
  20. hi Peter,
    I found your article very good, very practical, I have a question, I can make the iPhone work in parallel to your PHONE IP 7961?.
    I mean, I call my Annex and this play on both devices?

    THANKS

    ReplyDelete
  21. Good stuff! Thanks for taking time to post this!

    ReplyDelete
  22. This comment has been removed by the author.

    ReplyDelete
  23. Hi Sir,

    I'm trying to register but have an error " device configuration not found" on iphone.

    Thank you

    ReplyDelete
  24. Hi Sir,

    After troubleshooting error is now " verification timed out"

    TFTP: Finished flash:/softkeyDefault_kpml.xml, time 00:00:00 for process 138

    Thank you very much..

    ReplyDelete
  25. Buy & sell new and used iPhones.
    Wide selection of new and used iPhones for sale.
    More at here

    ReplyDelete
  26. Cisco Mobile 8.1 puts the VoIP call on hold when the iPhone gets a mobile call. This need is free of iOS or the Cisco Mobile application on the grounds that the versatile call assumes control over the microphone before you address the call. Clients are encouraged to decrease the mobile call on the off chance that they wish to stay on the VoIP call with least interruption. In the event that you decide to acknowledge the versatile call, the VoIP call will be put on hold until you disconnect the mobile call.
    ~Sherri.

    ReplyDelete
  27. Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also…I’m happy to find so many useful info here in the post,
    Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also…I’m happy to find so many useful info here in the post,

    ReplyDelete
  28. Thanks for the nice blog. It was very useful for me. I'm happy I found this blog.
    Mobile-Universe

    ReplyDelete
  29. Trung tâm đào tạo kế toán thực hành Tại cầu giấy
    Trung tâm đào tạo kế toán thực hành Tại từ liêm
    Trung tâm đào tạo kế toán thực hành Tại thanh xuân
    Trung tâm đào tạo kế toán thực hành Tại hà đông
    Trung tâm đào tạo kế toán thực hành Tại long biên
    Trung tâm đào tạo kế toán thực hành Tại nguyễn chính thanh đống đa
    Trung tâm đào tạo kế toán thực hành Tại minh khai hai bà trưng
    Trung tâm đào tạo kế toán thực hành Tại bắc ninh
    Trung tâm đào tạo kế toán thực hành Tại hải phòng
    Trung tâm đào tạo kế toán thực hành Tại tphcm
    Trung tâm đào tạo kế toán thực hành Tại quận 3
    Trung tâm đào tạo kế toán thực hành Tại thủ đức
    Trung tâm đào tạo kế toán thực hành Tại đà nẵng
    Trung tâm đào tạo kế toán thực hành Tại biên hòa
    Trung tâm đào tạo kế toán thực hành Tại đồng nai
    Trung tâm đào tạo kế toán thực hành Tại nam định
    Trung tâm đào tạo kế toán thực hành Tại thái bình
    Trung tâm đào tạo kế toán thực hành Tại bắc giang
    Trung tâm đào tạo kế toán thực hành Tại vĩnh phúc
    Trung tâm đào tạo kế toán thực hành Tại thái nguyên
    Trung tâm đào tạo kế toán thực hành Tại quảng ninh
    Trung tâm đào tạo kế toán thực hành Tại hải dương
    Trung tâm đào tạo kế toán thực hành Tại hưng yên
    Trung tâm đào tạo kế toán thực hành Tại hà nam
    Trung tâm đào tạo kế toán thực hành Tại ninh bình
    Trung tâm đào tạo kế toán thực hành Tại nghệ an
    Trung tâm đào tạo kế toán thực hành Tại vũng tàu

    ReplyDelete
  30. Amazing content. Great job.
    https://www.andbox.ch/

    ReplyDelete
  31. Inspiring writings and I greatly admired what you have to say , I hope you continue to provide new ideas for us all and greetings success always for you..Keep update more information..
    CCNA Training in Chennai

    ReplyDelete
  32. seo services in chennai
    Really an amazing post..! By reading your blog post i gained more information.

    ReplyDelete