Using RisPort to get phone IP address

Hi all,
I want to use Risport dll to get real time information about phones, specifically their assigned ip address in CCM 4.1(2). ( I know that in CCM4.1 devicelist can give me the same information but we are going to upgrade to CCM5 and I have realized that in that version devicelist is not supported anymore.)
However RisPort request does not work. I've made different changes but every time I get different errors back from Cal Manager.
For example when I send this request to CM:
POST /Soap/RisPort HTTP/1.0
Host: 192.168.1.246
Authorization: Basic QWRtaW5pc3RyYXRvcjpjaXNjbw==
Accept: application/soap+xml, text/*
Content-Type: text/xml; charset=utf-8
Content-Length: 734
SOAPAction: "http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevices"
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"xmlns:tns="http://schemas.cisco.com/ast/soap/"xmlns:types="http://schemas.cisco.com/ast/soap/encodedTypes"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><tns:AstHeader id="id1"><SessionId xsi:type="xsd:string">SessionId</SessionId></tns:AstHeader></soap:Header><soap:Body soap:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><tns:SelectCmDevice><Class xsi:type=\"tns:DeviceClass\">Phone</Class><Model xsi:type=\"xsd:unsignedInt\">255</Model></tns:SelectCmDevice></soap:Body></soap:Envelope>
I will get this reponse:
HTTP/1.1 405 Method not allowed
Server: Microsoft-IIS/5.0
Date: Mon, 09 Apr 2007 19:57:07 GMT
Allow: OPTIONS, TRACE, GET, HEAD, PUT, DELETE
Content-Length: 3923
Content-Type: text/html
When in http header, instead of "POST /Soap/RisPort HTTP/1.0", I put "POST /Soap/RisPort.dll HTTP/1.0"
then I get this response:
HTTP/1.1 500 Server Error
Server: Microsoft-IIS/5.0
Date: Mon, 09 Apr 2007 20:08:24 GMT
Content-Type: text/html
Content-Length: 103
Has anyone make this work? I appreciate if you can give some feedbacks,
Parisa Tashakori

Hi parisatashakori ,
I am using RisPort webservices to get the Devicelist information from CCM 5.0 ,but iam getting errors,iam also sending the same SOAP request to the CCM what ever you are sending ,can u send me sample code for me to my mail id [email protected] Thanks in advance

Similar Messages

  • Getting wierd error when trying to getting phone IP address using AXL

    I am current trying to use the AXL serviceability API to get phone IP
    address information. I looked the developers guide and used the Java example to create a
    SSL Socket connection to send the SOAP message to. The message I send is as follows:
    POST: 8443/axl/ HTTP/1.0
    Accept: application/soap+xml, application/dime, multipart/related, text/*
    Host:localhost:8443
    Authorization: Basic **************
    Content-type: text/xml
    SOAPAction: "http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevice"
    Content-length: 610
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
    <SelectCmDevice sequence="123456">
    <CmSelectionCriteria>
    <Class>Phone</Class>
    <Model>255</Model>
    <NodeName>10.248.140.11></NodeName>
    <SelectBy>Name</SelectBy>
    <MaxReturnedDevices>10</MaxReturnedDevices>
    <SelectItems soapenc:arrayType="SelectItems[1]">
    <Item>SEP001E4A3FAAAA</Item>
    </SelectItems>
    </CmSelectionCriteria>
    </SelectCmDevice>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The response I get back after about 30 seconds is as follows:
    HTTP/1.1 400 Invalid URI
    Content-Length: 0
    Date: Wed, 12 Mar 2008 19:28:43 GMT
    Server: Apache-Coyote/1.1
    Connection: close
    Could someone point me in the right direction as to what is going wrong?
    Thanks
    Mitch

    well, getting closer. Of course you were correct. After changing it, I now get an http 500 error after a lenghty timeout.
    POST /axl/ HTTP/1.0
    Accept: application/soap+xml, application/dime, multipart/related, text/*
    Host:localhost:8443
    Authorization: Basic ***********
    Content-type: text/xml
    SOAPAction: "http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevice"
    Content-length: 610
    <?xml version="1.0" encoding="utf-8"?>
    http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding">
    Phone
    255
    10.248.140.11>
    Name
    10
    SEP001E4A3FAAAA
    HTTP/1.1 500 Internal Server Error
    Content-Type: text/html;charset=utf-8
    Content-Length: 4566
    Date: Thu, 13 Mar 2008 02:15:53 GMT
    Server: Apache-Coyote/1.1
    Connection: close

  • AVAYA IP Phones unable to get an IP address from DHCP server.

    I installed new SRW208P switch and I mada an uplink connection with SRW 2024 switch (using GE port).
    when I am trying to connect AVAYA IP Phone to the SRW208P port, the set trying to get an IP address from the DHCP server and failed to get it.
    some times after 10 minutes, it get the IP address, but all the machines (PCs) connected to the same switch (SRW208P) hange.
    Note: the PCs an IP Phones are connected with separate UTP cables to the access switch.
    Is there any suggestions to solve this issue, please.
    Regards, 

    The issue is that your machine is not being assigned an IP address / was unable to reach the DHCP server to receive one. The 169.254.x.x IP your machine is showing isn't assigned from DHCP, it's assigned by the local machine and is referred to as an APIPA
    address.
    So something is preventing your machine from reaching your DHCP server, which could one of a number of things. In the first instance I'd suggest having a look at
    http://epan36.blogspot.co.uk/2012/09/eventid-1001-dhcp-your-computer-was-not.html which lists several of things that could cause this error and things you can try in order to resolve it.
    If none of those work, can you confirm whether you have any other machines connecting via the same method on the network, which might indicate whether this is an issue at the machine end or somewhere between the machine and DHCP server?

  • RVS4000 v2 when VLAN used Vista computers can't get a DHCP address.

    Just bought a RVS4000 v2. Firmware v2.0.0.0.3. All worked fine when using factory default settings. But I bought this because I wanted to implement VLANs. I defined VLAN2 for the VOIP phones connected through a switch to Port 1. I also defined VLAN3 for my accounts computers, whose switch connects to port 3. All VLANs are defined by Port, untagged.
    The phones, using Linux, pick up an IP address fine. So do the two remaining W2K systems. XP systems do but rather slowly. Vista though just hangs for a while, then uses an autoconfiguration address and won't connect unless I spoecify the IP settings. However if I connect the same Vista system to a port which uses the default LAN, it gets an IP address fine. I haven't tested Win7 yet.
    Why? Is this a bug in the firmware, or just a bug in Vista?

    May be a bug.  A Wireshark trace might be illuminating.

  • TS2755 I have just updated my phone to iso 7 on my wifes i tunes on her computer, now when i send a message to people they get my email address come up and when i need to update it askes for her apple id.. any help please

    I have just updated my iphone to iso 7.0.2 on my wifes i tunes on her computer,now when i send a message to people they get my email address come up and when i need to update apps it asks for her apple id... any help please????

    ChrisJ4203,
    Thank you for the help.  Every app on my phone was downloaded using my old I-tunes ID.  I just hope that they will re-download under my new ID because I still can't change it on my phone.  In order to change to the new ID it says I have to sign out from the old ID and change to the new one.  My problem is that I don't remember my password to be able to sign out from my old ID.  Then the phone says it can change my password through e-mail and I  agree but I never get an e-mail at my old address or the new one.
    BHuyett

  • Why do i keep getting 'to use data on your phone,you'l need add on pack' texts?

    I ordered a pay as you go sim card from EE a few weeks ago to use in my iphone 5 as a second/work phone. The package on the sim is a 'top up £1 and get some free mins and texts (no data allowance)' plan. I put the sim card in my phone and have left the phone at home and not put any credit on it yet or used it at all, ( not even any apps/calls etc ). Every day when i come to look at the phone there are atleast 4 text messages a day from EE saying 'To use data on your phone, you'll need an add-on pack Click here to buy'. I am getting sick of this as i have turned mobile data off in the settings and my phone is constantly connected to my home wi-fi so cannot see how it would even by using any data. Today i have come home to 8 of these messages! I refuse to top my phone up with credit and start using it until this is sorted as im not paying for any data usage i wont use! There are no apps running in the background, and nothing has been set up on the phone that would require internet usage i.e. emails / weather etc. Please can someone help me...  Thanks

    Hi,  I also recieved thousands of messages saying that I need to buy add-on, that's anoying.  I called EE for 3 hours and they are not able to deal with that. They just try to make my mobile phone responsible. What can I do?  Thank you.

  • How am i ment to use "find my i phone" when my iphone has not yet got icloud on it. What a waste of an app. Now need to get a new phone.

    How am i ment to use "find my i phone" when my iphone has not yet got icloud on it. What a waste of an app. Now need to get a new phone.

    Easy... you install the Find My iPhone app >  http://itunes.apple.com/us/app/find-my-iphone/id376101648?mt=8
    You can use that app without iCloud and you don't need a new iPhone.
    Read here >  Apple - iPhone - How to set up Find My iPhone

  • I just updated my Apple ID to a current email address, it worked on my laptop but my phone is still using the old one and neither password works. I can't download or use anything other than phone calls and texting on my phone now. Help!

    I just updated my Apple ID to a current email address, it worked on my laptop but my phone is still using the old one and neither password works. I can't download or use anything other than phone calls and texting on my phone now. Help!

    go to settings
    then to store
    tap your id then click sign out
    then sign back in and you should be fine

  • I bought iphone 5 in september last year and the whatsapp which I installed was free of cost.The number which I used is the one I was using in my android phone and validity for its expiring in april but for other users its lifetime free.how can I get it ?

    I bought iphone 5 in september last year and the whatsapp which I installed was free of cost.The number which I used is the one I was using in my android phone and validity for its expiring in april but for other iphone users its lifetime free.how can I get the lifetime free validity?

    kratigupta wrote:
    how can I get the lifetime free validity?
    Huh? AFAIK, such does not exist. Read here:
    http://www.whatsapp.com/faq/general/23014681

  • Can i set my iPhone 4 as a new phone then use iCloud to get information from before restoring the phone?

    Can i set my iPhone 4 as a new phone then use iCloud to get information from before restoring the phone? I've restored my iPhone 4 thru iTunes and now trying to set it up using iCloud but it says 'no back ups available'.
    I was upgrading my OS system thru iTunes but the plug on my macbook came out and battery ran flat half way thru. This jammed my iPhone 4.
    I think it's to do with the OS system. That if i take it to the previous OS system it might work. But since i'm in phone set up mode i can't get into general setting to change it back.
    So can i set it up as a new phone and then use icloud to restore info? Or shld i set it up thru iTunes and then iCloud (but since it jammed half way thru upgrading and i've restored i don't think iTunes has any of my previous info)? Or is there something else i can do?

    No. You can set up as a new device or restore from iCloud or iTunes. It looks like you backed up with iTunes, so you can't restore with iCloud. To backup your device in iCloud, go to Settings > iCloud and activate it

  • This morning I changed my Apple ID to my new email address.  I thought it meant that I could then use all my alias icloud email addresses with my new Apple ID because it would be the same account.  Why am I now not getting email to those addresses.

    This morning I changed my Apple ID to my new email address.  I thought it meant that I could continue to use all my alias icloud email addresses with my new Apple ID because it would be the same account.  Since then I have not received and new emails to my iCloud email addresses.  Normally I get at least  7 new emails a day, so I'm pretty sure my iCloud addresses are not working.  It would be a lot of work for me to notify a lot of people, companies, and organizations about new email addresses, so I really would like to make them work.  Will it be possible to make them work with my new Apple ID?

    Roger, I didn't know that "Delete Account" was synonymous with "log out".  Yes, I had deleted my iCloud account in my iPad email settings more than once yesterday and again one more time after I read your reply.  I then followed the instructions below to log off on my Windows PC.  I found these when I searched for how to log off of iCould:
    1- Go to www.iCloud.com
    2- Sign in with your current login info
    3- Click on your user name on top right corner
    4- Select account setting
    5- Select "Advanced."
    6- Click 2nd option, "Sign Out Of All Browsers."
    I also scanned settings for all the other apps on my iPad and changed a couple that still had my old sbcglobal email address. Later, I noticed that I was able to see my old previous iCloud emails in iCloud.com, and the couple of messages that I received from this Support Community site, but still no new emails.  Suddenly the emails started rolling in again this morning.  I have 7 new ones at the moment.  I sort of expected to get a backlog of emails from yesterday, but something tells me those were all lost as "undeliverable".  I don't know who or exactly what did the trick, but the issue seems to be fixed.  I'm using my new Apple ID, and I'm glad I don't have to get all new iCloud alias email addresses after all.

  • HT1277 I recently used icloud on my phone to back up my phone.  After I did that my gmail stopped working, so I deleted it and when I go to add my gmail account I get an error message.  It says cannot get mail, user name or passwork incorrect? What do I d

    I recently used icloud on my phone to back up my phone.  After I did that my gmail stopped working, so I deleted it and when I go to add my gmail account I get an error message.  It says cannot get mail, user name or passwork incorrect? What do I do?

    Hi,
    Just wanted to say I found out the answer. I should have looked first to see if anyone else was having the same problem but I didn't. 

  • I purchased a used iphone4 and the phone displays the previous owners apple id and prompts me for the previous owners password. how do i get rid of his info....and install my own apple id number?

    I purchased a used iphone4 and the phone displays the previous owners apple id and prompts me for the previous owners password. how do i get rid of his info....and install my own apple id number?

    Login to the app store with YOUR ID. You can't use the app store without an Apple ID. If there are apps on the phone that were purchased with the original owners ID, you do NOT own them. The owner had no legal right to give them to you and they are permanently tied to the ID that was used to purchase them.
    ...i was also allowed to purchase an apple network id for this phone...
    I have absolutely NO IDEA what you mean by that. You can not "purchase an apple network id".

  • 5130 cannot get phone connection, using as modem

    Recently purchased 5130 to use as modem for my laptop.  Am using sim card from primary phone to access internet (primary phone has internet service), and connection with USB cable.  Downloaded PC suite, have Vista OS.  Have set specs to phone and internet provider (AT&T) but cannot get connection.  Error display says cannot get phone connection.  Phone works in phone mode, although cannot see contacts.
    ( I have a new bluetooth USB adaptor, but do not want to open package if I can get cable to work.  No point in opening blue tooth yet as cannot even get phone connection.)
    Any advice? 

    Hello, dthurnherr.
    Thank you for visiting Apple Support Communities.
    Here are a couple troubleshooting articles that I would recommend going through when experiencing this issue.
    FaceTime for Mac: Troubleshooting FaceTime
    http://support.apple.com/kb/ts4185
    Unable to make or receive FaceTime calls after April 16, 2014
    http://support.apple.com/kb/TS5419
    Cheers,
    Jason H.

  • Hello I'm upgrading my iPhone 4S tmw to a iPhone 5c , I also have a iPad which I've used iCloud to get pics from phone to iPad, obviously if I delete my phone pics there gonna go from iPad too. Any idea what I can do please?

    Hello I'm upgrading my iPhone 4S tmw to a iPhone 5c , I also have a iPad which I've used iCloud to get pics from phone to iPad, obviously if I delete my phone pics there gonna go from iPad too. Any idea what I can do please?

    In addition to the very sound and useful information posted by Lawrence Finch, there is also a way to save the photos from the photo stream to the camera roll on the iPad so that even if the photo stream is turned off, the photos will remain on the iPad.
    Launch the photos app and them open the Photo Stream album. Select every photo that you want to save by tapping on them, then tap in the action/sharing icon and select  - Save to Camera Roll.
    Having said that, the information that Lawrence shared with you is very important and the instructions in both articles are very useful. Make use of them.

Maybe you are looking for

  • Dynamically assigning aggregation type in a matrix table

    I have a matrix table that will produce multiple summary columns.  These columns should not all use Sum in the Totals row at the bottom.  Some will any of these to be determined at runtime: Sum, Avg, Count, Min, Max.  I have a column in the underlyin

  • Kernel debugging using git bisection method in combination with abs.

    Is there any way to use git bisection method for kernel debugging in combination with ABS for building the kernel via makepkg?

  • Saving Master Slide to Use in Other Projects Captivate 6

    Can anyone tell me how I can save a master slide so that I can use it in other projects?  i've copied and pasted into the Master slide tab in the new project, but it does not allow me to use it as my master slide.  Any suggestions? 

  • Mass Blocking of PR Line Items

    Dear SAP Experts, I have a one query. I had a more than 1000 open PR's. I want to block these PR's. Can any body give me solution? Some PR's may had more than 10 line Items. I had checked for Mass Maint for PR, but there is not that field. Hope u had

  • Regarding Duplication of Invoice

    Hi All, Got struck with a issue. please hepl me out in this. I need to check the duplication of invoice when i post a document in F-42. It also a country specific as well. so can anyone pls suggest me which method i can use and how to use it. I apper