I would like to be able to configure the P-CSCF to send Diameter messages to different hosts as well as add support for the Rx interface. I tried to edit the cipango-pcscf.xml but I am getting ConfigError messages on startup.
I edited the addSupportedApplication part as well as the addPeer part.
But I want to change it so that the P-CSCF advertises the Rx interface. I looked at the Zh and Cx classes in the org.cipango.diameter.ims package and did not see that they implement any special interfaces/abstract classes so I don't understand why my change is causing errors.
<Call name="addLifeCycle">
<Arg>
<New id="node" class="org.cipango.diameter.node.Node">
<Set name="server"><Ref id="Server"/></Set>
<Call name="addConnector">
<Arg>
<New class="org.cipango.diameter.bio.DiameterSocketConnector">
<Set name="host"><SystemProperty default="p-cscf.cipango.voip" name="pcscf.host"/></Set>
<Set name="port"><SystemProperty default="3898" name="pcscf.diameter.port"/></Set>
<Set name="messageListener">
<New class="org.cipango.diameter.log.MessageListenerCollection">
<Set name="server"><Ref id="Server"/></Set>
<Set name="messageListeners">
<Array type="org.cipango.diameter.log.DiameterMessageListener">
<Item>
<New class="org.cipango.callflow.diameter.JmxMessageLogger"/>
</Item>
<Item>
<New class="org.cipango.diameter.log.FileMessageLogger">
<Set name="filename"><SystemProperty default="." name="jetty.home"/>/logs/yyyy_mm_dd.diameter.log</Set>
<Set name="append">true</Set>
<Set name="retainDays">31</Set>
</New>
</Item>
</Array>
</Set>
</New>
</Set>
</New>
</Arg>
</Call>
<Set name="identity"><SystemProperty default="p-cscf.cipango.voip" name="pcscf.host"/></Set>
<Set name="server"><Ref id="Server"/></Set>
<Set name="statsOn">true</Set>
<Call name="addSupportedApplication">
<Arg>
<Get name="RX_APPLICATION_ID" class="org.cipango.littleims.pcscf.Rx"/>
</Arg>
</Call>
<Call name="addPeer">
<Arg>
<New class="org.cipango.diameter.node.Peer">
<Arg><SystemProperty default="pcrf.open-ims.test" name="pcrf.host"/></Arg>
</New>
</Arg>
</Call>
</New>
</Arg>
</Call>
If I leave the addSupportedApplication
part as it was in the cipango-hss.xml then everything works:
Is there anything special that I should do with my org.cipango.littleims.pcscf.Rx class?
Thanks
Victor
--
Vous recevez ce message, car vous êtes abonné au groupe
Google Groupes littleims-dev.
--
Vous recevez ce message, car vous êtes abonné au groupe Google
Groupes littleims-dev.