on 11-24-2010 09:13 AM
To verify that the iPhone can connect to the IPICS server use the following API URL by adding your info in the highlighted areas.
http://<IPICSserver>/ipics_server/pmc/service?method=login&pmcid=pmc123&userid=<Username>&password= <Password>&version=<ServerVersion>&clientType=iphone
Example:
Output:
<?xml version="1.0" encoding="UTF-8" ?>
- <login_result>
<supported-versions />
<license_exceeded number="0" feature="MOBILE_PORTS" />
<spwd value="1289334691115369380526" />
- <locations>
<location id="2" name="REMOTE" />
<location id="140" name="Reno-Lab" />
</locations>
- <files>
<file md5="2ed33d9c1647b1f63607ebb1a5c834ba" name="example-toneset.zip" displayName="Example" type="tone" priority="required" priorityOrder="0" />
<file md5="d69ea4a2dce6305e47c553a474ab73db" name="skin-update-4.0.zip" displayName="skin-update-4.0.zip" type="skin" priority="optional" priorityOrder="0" />
<file md5="b3f8c551cb837bdc61ccc3427a5936d6" name="upgrade-idc-4.0(1.016).zip" displayName="4.0(1.016)" version="4.0(1.016)" type="upgrade" priority="recommended" priorityOrder="1" />
</files>
- <dialerSettings>
<dialerUserName />
<dialerUserPassword />
<hostAddress>192.168.20.1</hostAddress>
<dialingNumber />
</dialerSettings>
- <permissions>
<permission name="allTalk" value="false" />
<permission name="dtmf" value="false" />
<permission name="multiSelect" value="false" />
<permission name="toneTransmit" value="false" />
</permissions>
<update_poll seconds="5" />
<log_upload_frequency number="600" />
<upload_logs value="true" />
<SendLogsOnRollover value="1" />
- <SetLoggingLevel>
<debugtype name="Debug Signaling" logLevel="0" />
<logtype name="Channel Activity" logLevel="1" />
<logtype name="User Interface" logLevel="0" />
<debugtype name="Debug User Interface" logLevel="0" />
<debugtype name="Debug Media" logLevel="0" />
<logtype name="Channel Statistics" logLevel="0" />
<logtype name="Authentication" logLevel="0" />
</SetLoggingLevel>
- <servers>
<server priority="1" ipAddress="192.168.2.193" hostname="ipics2.reno3260.com" />
</servers>
</login_result>
Copy the spwd value=1289334691115369380526 and past it in the following URL
http://192.168.2.193/ipics_server/pmc/service?method=getupdates&pmcid=pmc123&spwd=1289334691115369380526&locationid=2&version=4.0(1)&ipAddress=171.70.240.44&clientType=iphone
Output:
<?xml version="1.0" encoding="UTF-8" ?>
- <getupdates_result>
<MuteUser state="0" />
<DisableUser state="0" />
- <files>
<file md5="2ed33d9c1647b1f63607ebb1a5c834ba" name="example-toneset.zip" displayName="Example" type="tone" priority="required" priorityOrder="0" />
<file md5="d69ea4a2dce6305e47c553a474ab73db" name="skin-update-4.0.zip" displayName="skin-update-4.0.zip" type="skin" priority="optional" priorityOrder="0" />
<file md5="b3f8c551cb837bdc61ccc3427a5936d6" name="upgrade-idc-4.0(1.016).zip" displayName="4.0(1.016)" version="4.0(1.016)" type="upgrade" priority="recommended" priorityOrder="1" />
</files>
- <dialerSettings>
<dialerUserName />
<dialerUserPassword />
<hostAddress>192.168.20.1</hostAddress>
<dialingNumber />
</dialerSettings>
- <permissions>
<permission name="allTalk" value="false" />
<permission name="dtmf" value="false" />
<permission name="multiSelect" value="false" />
<permission name="toneTransmit" value="false" />
</permissions>
<update_poll seconds="5" />
<log_upload_frequency number="600" />
<upload_logs value="true" />
<SendLogsOnRollover value="1" />
<media-port-range begin="16384" end="32766" />
<DisableRtcpOnMulticast state="0" />
<DisableRtpNatOnM state="0" />
- <regions>
<region id="R0" short_name="1" long_name="1" description="Default Region" />
<region id="R1" short_name="2" long_name="2" description="2" />
<region id="R2" short_name="3" long_name="3" description="3" />
<region id="R3" short_name="4" long_name="4" description="4" />
<region id="R4" short_name="5" long_name="5" description="5" />
<region id="R5" short_name="6" long_name="6" description="6" />
</regions>
- <incidents>
- <incident id="284" name="RenoINC1" timestamp="1289265279000">
<notes>Reno 1</notes>
- <audios>
<vtgs />
</audios>
- <journals>
- <journal type="User" language="en_us" id="13" description="Incident Created" timestamp="1289265279000">
<ownerName>One,User (user1)</ownerName>
<createdDateStr>11/09/2010 01:14:39</createdDateStr>
<message>Incident Created</message>
</journal>
- <journal type="User" language="en_us" id="16" description="Test" timestamp="1289265446000">
<ownerName>One,User (user1)</ownerName>
<createdDateStr>11/09/2010 01:17:26</createdDateStr>
<message>Test</message>
</journal>
</journals>
</incident>
</incidents>
- <servers>
<server priority="1" ipAddress="192.168.2.193" hostname="ipics2.reno3260.com" />
</servers>
- <Lines>
- <talkgroup id="284" type="incident" name="RenoINC1" mediaAllocationStrategy="static" mediaAllocationStatus="allocated" connectionType="sip" disable="0" codec="G.729" secure="0" txmute="0" latchable="0" vad="0" duplex="half" rxmute="none" pttTimeout="0" sip_proxy="192.168.40.1:5060" number="1990000151909291915" colorization="" disableStreamControl="false" maxiumNumberOfVoiceStreams="3" incident_id="284" enabled="true" region="R0">
- <incidents>
<incident id="284" />
</incidents>
</talkgroup>
</Lines>
<DeviceDescriptors />
- <SetLoggingLevel>
<debugtype name="Debug Signaling" logLevel="0" />
<logtype name="Channel Activity" logLevel="1" />
<logtype name="User Interface" logLevel="0" />
<debugtype name="Debug User Interface" logLevel="0" />
<debugtype name="Debug Media" logLevel="0" />
<logtype name="Channel Statistics" logLevel="0" />
<logtype name="Authentication" logLevel="0" />
</SetLoggingLevel>
<SendLogs />
</getupdates_result>
If you are having PTT voice issues check the following from the above output.
- <talkgroup id="284" type="incident" name="RenoINC1" mediaAllocationStrategy="static" mediaAllocationStatus="allocated" connectionType="sip" disable="0" codec="G.729" secure="0" txmute="0" latchable="0" vad="0" duplex="half" rxmute="none" pttTimeout="0" sip_proxy="192.168.40.1:5060" number="1990000151909291915" colorization="" disableStreamControl="false" maxiumNumberOfVoiceStreams="3" incident_id="284" enabled="true" region="R0">
Check SIP invite Message from the “debug ccsip message” command
Received:
INVITE sip:1990000151909191916@192.168.40.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.126:5060;branch=z9hG4bK000042cd
From: "iphone" <sip:pmc001b77c431dd@192.168.2.126>;tag=001b788600890003000051e9-
000009e3
To: <sip:1990000151909191916@192.168.40.1>
Call-ID: 001b7886-00890003-00002b7e-54950614@192.168.2.126
Max-Forwards: 70
Date: Mon, 30 Mar 2009 17:24:10 GMT
CSeq: 101 INVITE
User-Agent: Cisco-IPICS/4.0(1)
Contact: <sip:radio330@192.168.2.126:5060>
Expires: 180
Accept: application/sdp
Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,REGISTER,UPDATE
Supported: replaces
Content-Length: 237
Content-Type: application/sdp
Content-Disposition: session;handling=optional
v=0
o=Cisco-PMC-SIPUA 18467 0 IN IP4 192.168.2.126
s=SIP Call
c=IN IP4 192.168.2.126
t=0 0
m=audio 22222 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
Nov 9 23:24:17.209: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.2.126:5060;branch=z9hG4bK000042cd
From: "iphone" <sip:pmc001b77c431dd@192.168.2.126>;tag=001b788600890003000051e9-
000009e3
To: <sip:1990000151909191916@192.168.40.1>
Date: Tue, 09 Nov 2010 23:24:17 GMT
Call-ID: 001b7886-00890003-00002b7e-54950614@192.168.2.126
CSeq: 101 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
Nov 9 23:24:17.217: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 192.168.2.126:5060;branch=z9hG4bK000042cd
From: "iphone" <sip:pmc001b77c431dd@192.168.2.126>;tag=001b788600890003000051e9-
000009e3
To: <sip:1990000151909191916@192.168.40.1>;tag=11597844-178
Date: Tue, 09 Nov 2010 23:24:17 GMT
Call-ID: 001b7886-00890003-00002b7e-54950614@192.168.2.126
CSeq: 101 INVITE
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIF
Y, INFO, REGISTER
Allow-Events: telephone-event
Remote-Party-ID: <sip:1990000151909191916@192.168.40.1>;party=called;screen=no;p
rivacy=off
Contact: <sip:1990000151909191916@192.168.40.1:5060>
Supported: sdp-anat
Server: Cisco-SIPGateway/IOS-12.x
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 235
v=0
o=CiscoSystemsSIP-GW-UserAgent 9599 7800 IN IP4 192.168.40.1
s=SIP Call
c=IN IP4 192.168.40.1
t=0 0
m=audio 16386 RTP/AVP 0 101
c=IN IP4 192.168.40.1
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
Nov 9 23:24:17.221: dsp_voice_pkt_detection: enable = 1
Nov 9 23:24:17.221: hpi_voice_pkt_detection:on-off-flag = 1
Nov 9 23:24:17.225: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.126:5060;branch=z9hG4bK000042cd
From: "iphone" <sip:pmc001b77c431dd@192.168.2.126>;tag=001b788600890003000051e9-
000009e3
To: <sip:1990000151909191916@192.168.40.1>;tag=11597844-178
Date: Tue, 09 Nov 2010 23:24:17 GMT
Call-ID: 001b7886-00890003-00002b7e-54950614@192.168.2.126
CSeq: 101 INVITE
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIF
Y, INFO, REGISTER
Allow-Events: telephone-event
Remote-Party-ID: <sip:1990000151909191916@192.168.40.1>;party=called;screen=no;p
rivacy=off
Contact: <sip:1990000151909191916@192.168.40.1:5060>
Supported: replaces
Supported: sdp-anat
Server: Cisco-SIPGateway/IOS-12.x
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 235
v=0
o=CiscoSystemsSIP-GW-UserAgent 9599 7800 IN IP4 192.168.40.1
s=SIP Call
c=IN IP4 192.168.40.1
t=0 0
m=audio 16386 RTP/AVP 0 101
c=IN IP4 192.168.40.1
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
Nov 9 23:24:17.293: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:1990000151909191916@192.168.40.1:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.126:5060;branch=z9hG4bK00003ff5
From: "iphone" <sip:pmc001b77c431dd@192.168.2.126>;tag=001b788600890003000051e9-
000009e3
To: <sip:1990000151909191916@192.168.40.1>;tag=11597844-178
Call-ID: 001b7886-00890003-00002b7e-54950614@192.168.2.126
Max-Forwards: 70
Date: Mon, 30 Mar 2009 17:24:50 GMT
CSeq: 101 ACK
User-Agent: Cisco-IPICS/4.0(1)
Content-Length: 0
Verify the codec is correct on the RMS router by checking the dial-peer, voice class codec and SIP-UA settings below.
dial-peer voice 555 voip
rtp payload-type lmr-tone 107
rtp payload-type nte-tone 108
session protocol sipv2
incoming called-number .
voice-class codec 1
dtmf-relay rtp-nte
no vad
voice class codec 1
codec preference 1 g729r8
codec preference 2 g711ulaw
sip-ua
g729-annexb override
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: