Content

Page tree

When using "dummy.htm" there are still cases where html output is parsed, causing a total of 828 error messages in the log file in this example.
This simple example dials #61# using the xml defnition on a function key (A more complex behaviour ist intended later):

<general type="Weiterleitung"/>
<action>
<url when="on press" target="http://127.0.0.1/dummy.htm?number=%2361%23"/>
</action>

While the function is OK (number is successfully dialed), the log output reads:

Apr  5 14:49:05.498 [NOTICE] PHN: Sending post request http://127.0.0.1:80/dummy.htm?number=%2361%23
Apr  5 14:49:05.498 [NOTICE] PHN: Fetching URL: http://127.0.0.1:80/dummy.htm?...
Apr  5 14:49:05.634 [NOTICE] WEBCLIENT: handle_challenge: http server is asking for credentials!
Apr  5 14:49:05.635 [NOTICE] WEBCLIENT: handle_challenge: resending request !
Apr  5 14:49:05.649 [NOTICE] CSTA: csta_cid = 42
phone_cid42

Apr  5 14:49:05.725 [NOTICE] SIP: getInternalSdpFmts: Skipped Codec g723 is not supported for ptime of 20
Apr  5 14:49:05.746 [NOTICE] WEBCLIENT: handle_challenge: http server is asking for credentials!
Apr  5 14:49:05.747 [NOTICE] WEBCLIENT: handle_challenge: resending request !
Apr  5 14:49:05.807 [ERROR ] PHN: xml_tree::FixAttributeValue() attribute value not enclosed in " or ' - value: Content-Type
Apr  5 14:49:05.807 [ERROR ] PHN: xml_tree::FixAttributeValue() attribute value not enclosed in " or ' - value: Pragma
Apr  5 14:49:05.807 [ERROR ] PHN: xml_tree::FixAttributeValue() attribute value not enclosed in " or ' - value: no-cache
Apr  5 14:49:05.807 [ERROR ] PHN: xml_tree::FixAttributeValue() attribute value not enclosed in " or ' - value: text
Apr  5 14:49:05.807 [ERROR ] PHN: xml_tree::StripLeadingClosureIfPresent() expected: </LINK[opt whitespace]>
Apr  5 14:49:05.808 [ERROR ] PHN: xml_tree::StripLeadingClosureIfPresent() expected: </img[opt whitespace]>
Apr  5 14:49:05.808 [ERROR ] PHN: xml_tree::StripLeadingClosureIfPresent() expected: </TD[opt whitespace]>
Apr  5 14:49:05.808 [ERROR ] PHN: xml_tree::StripLeadingClosureIfPresent() expected: </img[opt whitespace]>
Apr  5 14:49:05.808 [ERROR ] PHN: xml_tree::StripLeadingClosureIfPresent() expected: </img[opt whitespace]>
Apr  5 14:49:05.809 [ERROR ] PHN: xml_tree::StripLeadingClosureIfPresent() expected: </TD[opt whitespace]>
Apr  5 14:49:05.809 [ERROR ] PHN: xml_tree::StripLeadingClosureIfPresent() expected: </TD[opt whitespace]>
Apr  5 14:49:05.809 [ERROR ] PHN: xml_tree::StripLeadingClosureIfPresent() expected: </TR[opt whitespace]>
Apr  5 14:49:05.809 [ERROR ] PHN: xml_tree::FixAttributeValue() attribute value not enclosed in " or ' - value: top
Apr  5 14:49:05.810 [ERROR ] PHN: xml_tree::StripLeadingClosureIfPresent() expected: </INPUT[opt whitespace]>
Apr  5 14:49:05.810 [ERROR ] PHN: xml_tree::StripLeadingClosureIfPresent() expected: </FORM[opt whitespace]>
Apr  5 14:49:05.810 [ERROR ] PHN: xml_tree::StripLeadingClosureIfPresent() expected: </DIV[opt whitespace]>
Apr  5 14:49:05.810 [ERROR ] PHN: xml_tree::StripLeadingClosureIfPresent() expected: </TD[opt whitespace]>
Apr  5 14:49:05.816 [ERROR ] PHN: xml_tree::FixAttributeValue() attribute value not enclosed in " or ' - value: https:
Apr  5 14:49:05.816 [ERROR ] PHN: xml_tree::StripLeadingClosureIfPresent() expected: </TR[opt whitespace]>
...
Apr  5 14:49:06.245 [ERROR ] PHN: Malformed xml (near META)
Apr  5 14:49:06.250 [ERROR ] PHN: Malformed xml (near META)
Apr  5 14:49:06.255 [ERROR ] PHN: Malformed xml (near HEAD)
Apr  5 14:49:06.260 [ERROR ] PHN: Malformed xml (near HTML)
Apr  5 14:49:06.726 [NOTICE] SIP: RTP: set_destination RP59 adr=192.168.2.254:14584
Apr  5 14:49:06.853 [NOTICE] MEDIA: PlayCall ssrc:2562739256 active: 0 use new channel
Apr  5 14:49:13.308 [NOTICE] SIP: RTP: set_destination RP59 adr=
Apr  5 14:49:13.529 [NOTICE] MEDIA: MediaIpc::rtpClose: RP59
Apr  5 14:49:13.529 [NOTICE] MEDIA: MediaIpc::rtpClose: RC59
Apr  5 14:49:13.652 [NOTICE] MEDIA: PlayCall ssrc:654321 active: 0 use new channel
Apr  5 14:49:13.853 [NOTICE] MEDIA: onRtpClose: RP59
Apr  5 14:49:13.854 [ERROR ] MEDIA: StopCall: failed to stop 2562739256
Apr  5 14:49:13.854 [NOTICE] MEDIA: onRtpClose: RC59
Apr  5 14:49:15.372 [NOTICE] PHN: Fetching URL: phone://mb_exit

(credentials removed in xml and log, phone and release is snomD385-SIP 10.1.101.11)

Is there a way to avoid this or to get the html output ignored?

Thank you

Marko

profilePicture

Marko Knepper

End user

Joined: 05.04.2022

2 Comments

  1. Hi,

    I cannot reproduce this when trying to use the URL http://127.0.0.1/dummy.htm?number=#61#, my phone doesn't get all those syslog lines.

    This isn't a known issue as far as I can see on our side and we would need to try and involve our developers, but that cannot be done via this Community: please refer to the reseller you've got the phone from as they will need to raise a ticket with us so we can escalate that.

    Thank you

  2. End user Marko Knepper

    Hi,

    Thank you for caring!

    You might want to try the URL http://<ip>/dummy.htm?number=#61# from outside the phone. The html content output for the well-known web interface is generated which causes the error flooding when used internal. I could reproduce this with any number I tried.

    But an empty content is expected according to the release notes for 10.1.101.11 referring to issues SAP-5424 / SAP-5427 (10.1.101.11 Release): "Workaround: instead of /settings.htm? the alternative /dummy.htm? (dummy.htm has no content) can be used inside the action..."

    However, when I use dummy.htm for settings there is an empty html content output, as expected and intended.

    Thanks

    Marko