Content

Page tree

Snom Phone support the content-type snomxml; this is however a proprietary Snom XML Structure it has the same syntax as the Snom Minibrowser extension and can execute the same functions as described here.


Example Notify with explanation of the headers.

SIP NOTIFY
NOTIFY sip:500@192.168.88.8 SIP/2.0
Via: SIP/2.0/UDP 192.168.88.8:5060;branch=z9hG4bK001b84f6;rport
From: sip:info@192.168.89.193
To: sip:500@domain
Contact: <sip:500@sender:7089>
CSeq: 10 NOTIFY
Call-ID: 1234@192.168.91.254
Content-Type: application/snomxml
Content-Length: 186

<?xml version="1.0" encoding="UTF-8"?>
<IPPhoneSilent document_id="click_to_dial">
        <fetch mil="10">phone://mb_exit#numberdial=12345</fetch>
</IPPhoneSilent>

IPPhoneSilent is available since 10.1.82.0

Here is another example with SnomIPPhoneText:

SIP NOTIFY Text
NOTIFY sip:103@192.168.137.132 SIP/2.0
Via: SIP/2.0/UDP 192.168.137.132:5060;branch=z9hG4bK001b84f6;rport
From: sip:info@192.168.89.193
To: sip:103@192.168.137.132
Contact: <sip:103@192.168.137.132>
CSeq: 10 NOTIFY
Call-ID: 1234@192.168.91.254
Content-Type: application/snomxml
Content-Length: 173

<?xml version="1.0" encoding="UTF-8"?>
<IPPhoneText>
    <Title>Low credit</Title>
    <Text>
        Your phone credit is low, please recharge!
    </Text>
</IPPhoneText>


Preconditions:

  • The mb_trusted_hosts must be configured, and the host, which is eligible to send such SIP NOTIFY must be listed here, unless the host is the registrar of any registered identity.