Author Topic: Resource Manager active-active without Virtual IP  (Read 8297 times)

Offline naviat

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
Resource Manager active-active without Virtual IP
« on: July 05, 2014, 04:40:16 AM »
Hi guys,

I try to setup a pair RM HA active-active without VIP,  to do so, i use this guide and config MSML treatment but cannot play treatment

I need to know this configuration for Media version 8.1 is conrrect ?

Thanks !

[img width=405 height=480]http://s2.postimg.org/hrl8k4yxl/SIP_vs_RMHA_1.jpg[/img]
[img width=524 height=480]http://s10.postimg.org/f9f46b0kp/SIP_vs_RMHA_2.jpg[/img]


And i get this error in URS when play treatment:

[quote]11:02:44.360_T_I_007c024b1129f006 [14:28] TApplyTreatment (type PlayAnnouncement) is being called
request to 65200(sipsrv_peer01/sipsrv_peer02) message RequestApplyTreatment
AttributeReferenceID 21
AttributeTreatmentParms [85] 00 01 03 00..
'PROMPT'(list) '1'(list) 'INTERRUPTABLE' 0
                        'TEXT' '/music/announcement/001.wav'
AttributeTreatmentType 7 (TreatmentPlayAnnouncement)
AttributeConnID 007c024b1129f006
AttributeThisDN '1111'
..sent to vngnpeersip01.pdc.hcnet.vn:3000(fd=12)
    _B_I_007c024b1129f006 [14:28] treatment===========>TREATMENT_REQUEST
11:02:44.360_A_I_007c024b1129f006 [0E:0c] ----------->TMESSAGE
11:02:44.360_I_I_007c024b1129f006 [09:04] <<<<<<<<<<<<suspend interp(WAIT_PLAY_TREATMENT), func:TreatmentPlayAnnouncement timers:00000
received from 65200(sipsrv_peer01)vngnpeersip01.pdc.hcnet.vn:3000(fd=) message EventError
(Resource unavailable)
AttributeClientID 12
AttributeThisDN '1111'
AttributeConnID 007c024b1129f006
AttributeTreatmentType 7 (TreatmentPlayAnnouncement)
AttributeReferenceID 21
AttributeErrorMessage 'Resource unavailable'
AttributeErrorCode 166
AttributeTreatmentParms [85] 00 01 03 00..
'PROMPT'(list) '1'(list) 'INTERRUPTABLE' 0
                        'TEXT' '/music/announcement/001.wav'
AttributeTimeinSecs 1404532964 (11:02:44)
AttributeTimeinuSecs 436700
AttributeEventSequenceNumber 00000000000000e0
11:02:44.437_T_E_ [14:0c] EventError is received for ts sipsrv_peer01[SIP_PEER] - Resource unavailable
11:02:44.437_A_E_007c024b1129f006 [14:32] <-----------ERROR
11:02:44.437 Std 21003 interaction 007c024b1129f006 routing error 0166 Resource unavailable
    _B_I_007c024b1129f006 [07:1b] treatment not applied===========>TREATMENT_NONE
11:02:44.437 Int 21002 interaction 007c024b1129f006 mandatory treatment PlayAnnouncement fails
11:02:44.437_I_I_007c024b1129f006 [09:05] >>>>>>>>>>>>resume interp(0), func:TreatmentPlayAnnouncement
    _I_E_007c024b1129f006 [09:05] error in strategy: 0013 Remote error (TreatmentPlayAnnouncement)
11:02:44.437_I_I_007c024b1129f006 [07:07] HERE IS TARGETS
TARGETS: Ppf test group@routing_statserver.GA
11:02:44.437_M_I_ [17:0c] VQ 3508160 created: type=0, ten=Environment[/quote]


« Last Edit: July 05, 2014, 05:57:33 AM by naviat »

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Resource Manager active-active without Virtual IP
« Reply #1 on: July 05, 2014, 06:00:07 AM »
Yes, the steps are correct. It depends on used method - GDNS or IP addresses. In first case, you will use contact as is standard. In second case, you have to use contact-list option with comma-separated list of IP addresses, in rest of DN objects you can point to the RM with string ::msml.

Offline naviat

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
Re: Resource Manager active-active without Virtual IP
« Reply #2 on: July 05, 2014, 06:07:03 AM »
thanks Kubig for reply,

Do you mean "in rest of DN objects you can point to the RM with string ::msml." ?

What's DN in here? Voice IP Server for MSML or Routing Point ..

I use GVP as an Inbound Media Server :)
« Last Edit: July 05, 2014, 06:08:56 AM by naviat »

Offline naviat

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
Re: Resource Manager active-active without Virtual IP
« Reply #3 on: July 05, 2014, 07:40:11 AM »
I configured MSML DN (Voice IP Service type) in standard with contact option and get this error in SIP log:

[quote]



@14:23:37.7003 [TCONF] READER: status: [3]->[3]
[104] dn = 'MSML' type = VoIPService xtype = DN cfgtype = 29 hash = 1 make-call-rfc3725-flow = 1 ring-tone-on-make-call = false prefix = 'msml=' contact = '10.19.148.24:5068' refer-enabled = false oos-check = 20 oos-force = 10 subscription-id = 'Environment' cpd-capability = 'mediaserver' service-type = 'msml'
14:23:37.700: GSDNChecker: AddChecker for 10.19.148.24:5068
14:23:37.700: GSProxyRegistrar:ActiveTransport Out Of Service for dn 'MSML' '10.19.148.24:5068:1'
14:23:37.701: Unable to resolve number for DN:MSML
14:23:37.701: SIPDM: failed to get registration info for MSML
14:23:37.701: SIPDM: failed to get registration info for MSML
14:23:57.701: GSDNChecker: AddChecker for 10.19.148.24:5068
14:24:17.701: GSDNChecker: AddChecker for 10.19.148.24:5068
14:24:37.701: GSDNChecker: AddChecker for 10.19.148.24:5068
14:24:57.701: GSDNChecker: AddChecker for 10.19.148.24:5068
14:25:17.702: GSDNChecker: AddChecker for 10.19.148.24:5068

.......

[/quote]

Offline GMG

  • Newbie
  • *
  • Posts: 41
  • Karma: 2
  • GCP CIV 8X
Re: Resource Manager active-active without Virtual IP
« Reply #4 on: July 05, 2014, 02:32:05 PM »
Naviat,

Have created LRG, with MSML option ?

AS per error, looks like LRG is missing..


--
GMG
CIV-8.X

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Resource Manager active-active without Virtual IP
« Reply #5 on: July 05, 2014, 11:11:23 PM »
The error does not looks like LRG is missing - has nothing to do with  the SIP server .
Your RM is running on port 5068 for proxy service?I think that standard port is 5060 or some non-standard value like 5160 and something like that.
Just note: if you want to use A-A mode, why did you configure options like for active-standby (for example "contact" option)?
« Last Edit: July 06, 2014, 06:34:59 AM by Kubig »

Offline naviat

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
Re: Resource Manager active-active without Virtual IP
« Reply #6 on: July 07, 2014, 02:06:17 AM »
Thanks all for reply.

@Kubig and GMG : in the last SIP log, i use contact with standard and use 5068 is value of sip.localport.  You are talking about LRG with contact-list option? i created LRG for it

In addition, the new SIP log error message and LRG i had

[img width=640 height=174]http://s27.postimg.org/x2tcdqcfn/7_7_2014_9_55_17_AM.jpg[/img]

[quote]
@09:29:38.8636 [TCONF] DN info changed (dbid 104) (number MSML) (switch-dbid 101)
@09:29:38.8657 [TCONF] READER: status: [3]->[3]
[104] dn = 'MSML' type = VoIPService xtype = DN cfgtype = 29 hash = 1 make-call-rfc3725-flow = 1 ring-tone-on-make-call = false prefix = 'msml=' contact = '10.19.148.24:5060' refer-enabled = false oos-check = 20 oos-force = 10 subscription-id = 'Environment' cpd-capability = 'mediaserver' service-type = 'msml'
09:29:38.868: GSDNChecker: AddChecker for 10.19.148.24:5060
09:29:38.868: GSProxyRegistrar:ActiveTransport Out Of Service for dn 'MSML' '10.19.148.24:5060:1'
09:29:38.868: Unable to resolve number for DN:MSML
09:29:38.868: SIPDM: failed to get registration info for MSML
09:29:38.868: SIPDM: failed to get registration info for MSML
09:29:41.139: GSDNChecker: AddChecker for 10.19.148.24:5060
09:29:44.126: $+NET:SIP::0:0
09:29:44.126: SIPTR: Received [0,UDP] 1097 bytes from 172.24.37.18:21938 <<<<<
INVITE sip:1111@10.19.149.12 SIP/2.0
Via: SIP/2.0/UDP 172.24.37.18:21938;branch=z9hG4bK-d8754z-7148e856ab1ceb5b-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:1235@172.24.37.18:21938>
To: "1111"<sip:1111@10.19.149.12>
From: "1235"<sip:1235@10.19.149.12>;tag=92634142
Call-ID: MTQyZmExZmFkMzM3MzEzYmUyYjc2MzI5OGUzOGE2MGE.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: eyeBeam release 1100z stamp 47739
Content-Length: 567

v=0
o=- 3 2 IN IP4 172.24.37.18
s=CounterPath eyeBeam 1.5
c=IN IP4 172.24.37.18
t=0 0
m=audio 24610 RTP/AVP 107 100 106 6 0 105 8 18 3 5 101
a=alt:1 3 : GO6qFJbH 4gr+QDkf 172.24.37.18 24610
a=alt:2 2 : AN20VGiM MESD4OBG 10.10.10.1 24610
a=alt:3 1 : s9peO6d/ 9bjpuwe4 192.168.43.2 24610
a=fmtp:18 annexb=yes
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:100 SPEEX/16000
a=rtpmap:106 SPEEX-FEC/16000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
a=x-rtp-session-id:333FF377A8C04F6FB2645375C4AB34A2

.......................
......................................


09:29:52.179 Trc 04541 RequestApplyTreatment received from [21] (0000000c urs 10.19.148.38:41741)
message RequestApplyTreatment
AttributeThisDN '1111'
AttributeConnID 007c024b1129f02f
AttributeTreatmentType 7 (TreatmentPlayAnnouncement)
AttributeTreatmentParms [85] 00 01 03 00..
'PROMPT'(list) '1'(list) 'INTERRUPTABLE' 0
                        'TEXT' '/music/announcement/001.wav'
AttributeReferenceID 67
09:29:52.180 Int 04543 Interaction message "RequestApplyTreatment" received from 21 ("urs")
09:29:52.180  -- created: CRequest@5541b40 RequestApplyTreatment-urs[21]/67
09:29:52.180: $+TLIB:CTI:Unknown:0:0
09:29:52.180 +++ CIFace::Request +++
  -- new invoke
  -- thisCall by party
  Parsed: RequestApplyTreatment
  From: urs[21]/67
  Numbers: +<1111> -<none>
  Calls: 48eaff0:1 none
  Parties: 1111.553db20-48eaff0:1
          none
  Status: parsed:1 queued:0 sent:0 acked:0 preevent:0 event:0 context:0 transferred:0
  -----
  -- validate
  -- state check: ok
  CIFace: Sent CRequest@5541b40 RequestApplyTreatment-urs[21]/67
  FinishRequest CRequest@5541b40 RequestApplyTreatment-urs[21]/67
  IFace stats: q=0 s=0
  -- complete
09:29:52.180: GetTheBestNode:: server list for  exists, but has no validated entries
09:29:52.180: ERROR: 1000001d, GetDeviceManager().ResolveServiceDevice(call, SIP_MEDIA_SERVICE_MSML, geoLocation.CStr(), device), SipMediaResourceManager.cpp,728
09:29:52.180: ERROR: 1000001d, GetMediaResourceManager().CreateMediaService(call, party, *device, params, mediaService), SipCallManagerScenarios.cpp,5857
09:29:52.180: ERROR: 1000001d, ApplyTreatment(*scenario,*call,*party,params,context), SipCallManagerCallControl.cpp,4763
  Response (166): for CRequest@5541b40 RequestApplyTreatment-urs[21]/67
  -- thisCall by party
09:29:52.180 Trc 36002 Request rejected: error code 166(Resource unavailable)
@09:29:52.1807 [0] 8.1.101.17 send_to_client: message EventError
(Resource unavailable)
AttributeEventSequenceNumber 00000000000004ff
AttributeTimeinuSecs 180787
AttributeTimeinSecs 1404700192 (09:29:52)
AttributeTreatmentParms [85] 00 01 03 00..
'PROMPT'(list) '1'(list) 'INTERRUPTABLE' 0
                        'TEXT' '/music/announcement/001.wav'
AttributeErrorCode 166
AttributeErrorMessage 'Resource unavailable'
AttributeReferenceID 67
AttributeTreatmentType 7 (TreatmentPlayAnnouncement)
AttributeConnID 007c024b1129f02f
AttributeThisDN '1111'
AttributeClientID 12[/quote]
« Last Edit: July 07, 2014, 02:56:26 AM by naviat »

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Resource Manager active-active without Virtual IP
« Reply #7 on: July 07, 2014, 04:18:38 AM »
As I wrote above, the docs steps are correct of course. I think that you do not understand how GVP or MediaServer works and how implement it.  5068 is value of sip.localport, but within what section? RM has approx 8 SIP module, which each has own SIP port (in default is 5068 for monitoring I guess) - for proxy it is a 5060 port. Try to check what say RM logs as well.

No, I am not talking about LRG with contact-list, but about VoIP service DN with this option. If you have read the docs carefully, all is described very well and for A-A mode without DNS using is necessary tu use contact-list option instead contact.

I strongly recommend to you read the docs as first and afterward you understand the technology, try to deploy it. Without these knowledges the deployment will look like ....
« Last Edit: July 07, 2014, 04:28:12 AM by Kubig »

Offline naviat

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
Re: Resource Manager active-active without Virtual IP
« Reply #8 on: July 08, 2014, 03:47:35 AM »
Thanks Kubig, it's ok follow deployment guide  :)

Offline ryusuf

  • Full Member
  • ***
  • Posts: 108
  • Karma: 0
Re: Resource Manager active-active without Virtual IP
« Reply #9 on: September 14, 2014, 01:22:56 PM »
Hi,

I was setting up Active-Active RM and the MCP, but i faced many issues and i could not move forward. I am facing the following error log in the SIP server.

2014-09-14T15:54:04.641 Trc 04541 RequestApplyTreatment received from [688] (00000009 ORS 10.33.41.152:58051)
message RequestApplyTreatment
AttributeThisDN '6001'
AttributeConnID 006b0250f0dcc006
AttributeTreatmentType 7 (TreatmentPlayAnnouncement)
AttributeTreatmentParms [85] 00 02 00 00..
'LANGUAGE' 'English (US)'
'PROMPT'(list) '1'(list) 'INTERRUPTABLE' 0
                        'ID' '****'
AttributeReferenceID 561
2014-09-14T15:54:04.641 Int 04543 Interaction message "RequestApplyTreatment" received from 688 ("ORS")
2014-09-14T15:54:04.641  -- created: CRequest@3d8bd88 RequestApplyTreatment-ORS[688]/561
15:54:04.641: $+TLIB:CTI:Unknown:0:29923
2014-09-14T15:54:04.641 +++ CIFace::Request +++
  -- new invoke
  -- thisCall by party
  Parsed: RequestApplyTreatment
  From: ORS[688]/561
  Numbers: +<6001> -<none>
  Calls: 4658840:1 none
  Parties: 6001.4693e08-4658840:1
          none
  Status: parsed:1 queued:0 sent:0 acked:0 preevent:0 event:0 context:0 transferred:0
  -----
  -- validate
  -- state check: ok
  CIFace: Sent CRequest@3d8bd88 RequestApplyTreatment-ORS[688]/561
  FinishRequest CRequest@3d8bd88 RequestApplyTreatment-ORS[688]/561
  IFace stats: q=0 s=0
  -- complete
15:54:04.641: GetTheBestNode:: server list for  exists, but has no validated entries
15:54:04.641: ERROR: 1000001d, GetDeviceManager().ResolveServiceDevice(call, SIP_MEDIA_SERVICE_MSML, geoLocation.CStr(), device), SipMediaResourceManager.cpp,719
15:54:04.641: ERROR: 1000001d, GetMediaResourceManager().CreateMediaService(call, party, *device, params, mediaService), SipCallManagerScenarios.cpp,5572
15:54:04.641: ERROR: 1000001d, ApplyTreatment(*scenario,*call,*party,params,context), SipCallManagerCallControl.cpp,4458
  Response (166): for CRequest@3d8bd88 RequestApplyTreatment-ORS[688]/561
  -- thisCall by party
2014-09-14T15:54:04.641 Trc 36002 Request rejected: error code 166(Resource unavailable)
@15:54:04.6410 [0] 8.1.100.84 send_to_client: message EventError
(Resource unavailable)
AttributeEventSequenceNumber 00000000000003bd
AttributeTimeinuSecs 641000
AttributeTimeinSecs 1410699244 (15:54:04)
AttributeTreatmentParms [85] 00 02 00 00..
'LANGUAGE' 'English (US)'
'PROMPT'(list) '1'(list) 'INTERRUPTABLE' 0
                        'ID' '****'
AttributeErrorCode 166
AttributeErrorMessage 'Resource unavailable'
AttributeReferenceID 561
AttributeTreatmentType 7 (TreatmentPlayAnnouncement)
AttributeConnID 006b0250f0dcc006
AttributeThisDN '6001'
AttributeClientID 9
2014-09-14T15:54:04.641 Int 04545 Interaction message "EventError" sent to 688 ("ORS")
2014-09-14T15:54:04.641 Trc 04542 EventError sent to [688] (00000009 ORS 10.33.41.152:58051)
  FinishRequest: second time for CRequest@3d8bd88 RequestApplyTreatment-ORS[688]/561
2014-09-14T15:54:04.641 --- CIFace::Request ---
2014-09-14T15:54:04.641  -- deleted: CRequest@3d8bd88 RequestApplyTreatment-ORS[688]/561
15:54:04.641: $-TLIB:CTI:Unknown:0:597


I am not sure why this EventError is coming. When i try to dial, i get ring backs and the call is reaching the agent without any prompts being played.

I had played around the LRG, but i did not understand its concept even after referring to many documents. I would appreciate if anyone could help me out in this.  :(

Thank You
Rashid

Offline ryusuf

  • Full Member
  • ***
  • Posts: 108
  • Karma: 0
Re: Resource Manager active-active without Virtual IP
« Reply #10 on: September 14, 2014, 02:17:34 PM »
I wanted to inform you that the issue got resolved, but don't know the exact solution.

I checked the options which was provided in the msml-dn (Voice over IP service) and an option called cpd-capability was missing. I gave that option and restarted the MCP(Media Server), RM and the SIP server. Then when i tried calling i could hear the prompts. This seems to be strange as i understood cpd-capability is for call progress detection.

Best Regards
Rashid