iter = config.getContextMappings().getContextMapping().iterator();
}
while (iter.hasNext() == true)
{
ContextMapping mapping = (ContextMapping) iter.next();
String connector_name = mapping.getConnector();
if (connector_name == null)
{
connector_name = JipletContainer.getInstance()
.getDefaultConnectorName();
}
SipConnector c = JipletContainer.getInstance().findConnector(
connector_name);
if (c == null)
{
throw new JipletException("Connector " + connector_name
+ " specified in the context mapping is not found");
}
String ret = c.addMapping(mapping.getMapping(), this);
if (ret == null)
{
return;
}