[asterisk-bugs] [JIRA] (ASTERISK-24244) testsuite: dialog_info_xml fails on Asterisk 12 only
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Sun Aug 17 16:23:29 CDT 2014
Matt Jordan created ASTERISK-24244:
--------------------------------------
Summary: testsuite: dialog_info_xml fails on Asterisk 12 only
Key: ASTERISK-24244
URL: https://issues.asterisk.org/jira/browse/ASTERISK-24244
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_pjsip_dialog_info_body_generator, Tests/testsuite
Reporter: Matt Jordan
The {{dialog_info_xml}} test fails against Asterisk 12 only:
https://bamboo.asterisk.org/bamboo/browse/AST-ATTSCD4-C632TE-408/test/case/4980769
{code}
[Aug 17 00:03:12] WARNING[28429]: sipp:437 processEnded: 2014-08-17 00:03:12.238116 1408251792.238116: Failed regexp match: looking in '<?xml version="1.0" encoding="UTF-8"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="3" state="full" entity="sip:presence at 127.0.0.1">
<dialog id="presence">
<state>confirmed</state>
<local>
<target uri="sip:presence at 127.0.0.1">
<param pname="+sip.rendering" pvalue="no" />
</target>
</local>
</dialog>
</dialog-info>
', with regexp '<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="3" state="full" entity="sip:presence at 127.0.0.1:5060">
<dialog id="presence">
<state>confirmed</state>
<local>
<target uri="sip:presence at 127.0.0.1">
<param pname="\+sip.rendering" pvalue="no" />
</target>
</local>
</dialog>
</dialog-info>'.
{code}
The error is obvious: we are searching for an entity URI that contains a port, Asterisk is stripping the port. In 13+ we don't. Either the test will need two SIPp scenarios - one for 12 and one for 13 - or we should be including the port in the Asterisk 12 version of the body generator.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list