cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1838
Views
0
Helpful
8
Replies

CME 8.5 and Iphone

epasqualotto
Level 1
Level 1

Hi all, I'm trying to use my Iphone as extensions of my CME

I've tryed both CounterPath Bria and Linphone with this configuration:


voice register global
mode cme
source-address 192.168.10.254 port 5060
max-dn 20
max-pool 10
authenticate register
authenticate realm cme
tftp-path flash:
file text
create profile sync 0372431455915402

!
voice register dn  1
number 1207
allow watch
name Enrico
no-reg
label Enrico
!

voice register pool  1
id mac 0000.0000.0000
number 1 dn 1
presence call-list
dtmf-relay rtp-nte
username 1207 password XXXX
codec g711ulaw
!

The SIP client is registered with CME and these are the results:

Linphone: two way audio, outgoing calls OK, incoming calls FAIL

Bria: one way audio, outgoing calls OK, incoming calls OK

Can someone share his experience with Iphone, how can I use it with my CME in SIP mode?

Thanks

Enrico

8 Replies 8

epasqualotto
Level 1
Level 1

This is what I see in the debug when the incoming calls fail:

CME#
Jan 10 10:07:58.361: //3323/5568370EA07C/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:1207@192.168.1.188:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.228:5060;branch=z9hG4bK2BBDB1
Remote-Party-ID: "NAME" <257>;party=calling;screen=no;privacy=off
From: "NAME" <257>;tag=48225C70-FF0
To: <1207>
Date: Mon, 10 Jan 2011 10:07:58 GMT
Call-ID: 55907EB8-1BD811E0-A081F28B-7149801C@192.168.1.228
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE:  1800
Cisco-Guid: 1432893198-0467145184-2692543115-1900642332
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Max-Forwards: 70
Timestamp: 1294654078
Contact: <257>
Expires: 180
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 323

v=0
o=CiscoSystemsSIP-GW-UserAgent 5106 8027 IN IP4 192.168.1.228
s=SIP Call
c=IN IP4 192.168.1.228
t=0 0
m=audio 18062 RTP/AVP 0 100 101 19
c=IN IP4 192.168.1.228
a=rtpmap:0 PCMU/8000
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:19 CN/8000
a=ptime:20

Does the phone registers to CME ?

Yes

UC500#show voice register pool 1

Pool Tag 1

Config:

  Mac address is 0000.0000.0000

  Number list 1 : DN 1

  Proxy Ip address is 0.0.0.0

  DTMF Relay is enabled, rtp-nte

  Call Waiting is enabled

  DnD is disabled

  Busy trigger per button value is 0

  keep-conference is enabled

  username 1207 password 1207

  blf call list is enabled

  Transport type is udp

  service-control mechanism is not supported

  registration Call ID is 552960606

  Privacy feature is not configured.

  Privacy button is disabled

  active primary line is: 1207

  contact IP address: 192.168.99.86 port 5060

Dialpeers created:

dial-peer voice 40003 voip

destination-pattern 1207

session target ipv4:192.168.99.86:5060

session protocol sipv2

dtmf-relay rtp-nte

codec  g711ulaw bytes 160

  after-hours-exempt   FALSE         

Statistics:

  Active registrations  : 1

  Total SIP phones registered: 1

  Total Registration Statistics

    Registration requests  : 19

    Registration success   : 19

    Registration failed    : 0

    unRegister requests    : 18

    unRegister success     : 18

    unRegister failed      : 0

UC500#

Then something is wrong with the registration,  because phone is registered as .86, CME sends invite to a different IP, from which receives no answer.

No because I take the debug from another router with different IP.

This is the correct debug:

Jan 10 15:04:32.175: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:1207@192.168.99.86:5060 SIP/2.0
Date: Mon, 10 Jan 2011 15:04:32 GMT
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
From: "Enrico" <1007>;tag=C8B649C0-2EF
Allow-Events: telephone-event
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE:  1800
Remote-Party-ID: "Enrico" <1007>;party=calling;screen=no;privacy=off
Cisco-Guid: 3269730557-469832160-2776993663-322050898
Timestamp: 1294671872
Content-Length: 320
User-Agent: Cisco-SIPGateway/IOS-12.x
To: <1207>
Contact: <1007>
Expires: 180
Content-Disposition: session;handling=required
Content-Type: application/sdp
Call-ID: C380FE5F-1C0111E0-A58A8F7F-13321B52@192.168.99.1
Via: SIP/2.0/UDP 192.168.99.1:5060;branch=z9hG4bK6832B5F7
CSeq: 101 INVITE
Max-Forwards: 70

v=0
o=CiscoSystemsSIP-GW-UserAgent 9362 9954 IN IP4 192.168.99.1
s=SIP Call
c=IN IP4 192.168.99.1
t=0 0
m=audio 16402 RTP/AVP 0 100 101 19
c=IN IP4 192.168.99.1
a=rtpmap:0 PCMU/8000
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:19 CN/8000
a=ptime:20

1007 is my SCCP phone

1207 is my SIP client

192.168.99.1 is the router IP

192.168.99.86 is the SIP client IP

Thanks

The you have to find why the iphone does not respond to the Invite message.

Finally I have my Bria client on Iphone registered and woriking with CME 8.5, the problem is the default NAT configuration so the client present himself with the public IP. In the "advanced setting" menu the NAT configuration MUST be set to "server managed" and this solve the problem.

Enrico Pasqualotto

NetspinLAB

Enrico, had you mentioned you were using NAT it would have been easier to suggest a solution