Ich versuche gerade xml Objecten nach Snom 360 wie im [0] beschrieben ist zu senden. Erst mal befolge ich die konfiguration Schritte von [1] mit einem Snom 360 (firmware 6.5.1) und dann versuche ich eine SIP notify Nachricht mit sipsak [3] Program zu senden.
z.ß (notify.txt am Ende):
$ sipsak -i -O ID -l 1036 -f notify.txt -s sip:[email protected]:5060 -H
192.168.51.2 -v
SIP/2.0 400 Bad Request
Via: SIP/2.0/UDP 192.168.51.2:1036;branch=z9hG4bK.7377ef6c;rport
From: <sip:[email protected]>;tag=2502
To: <sip:[email protected]>;tag=2502
Call-ID: 35a@snom362
CSeq: 1 NOTIFY
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE,
PRACK, MESSAGE, INFO
Allow-Events: talk, hold, refer
Supported: timer, 100rel, replaces, callerid
Content-Length: 0
Den Telefon anwortet mit eine "Bad Request" und das Feld "Allow-Events" erhalts nur "talk, hold, refer". In RFC 3265
Section 3.3.7 wird erklärt, dass "Allow-Events" zeigt die Ereignisse einer Element prozesieren kann. Den xml Ereignis ist nicht drin. Ich glaube, dass den snom 360 kann nicht diese xml Ereignisse prozesieren. Das Dokumentation sagt aber anders
.
Hat jemanden es zufällig zum laufen gebracht?
Vielen Dank.
--- notify.txt ---
NOTIFY sip:[email protected]:5060;line=o3cyzrwy SIP/2.0
Via: SIP/2.0/UDP 192.168.51.2:1036;branch=z9hG4bK.7377ef6c;rport
f: <sip:[email protected]>;tag=2502
t: <sip:[email protected]>;tag=2502
i: 35a@snom362
CSeq: 1 NOTIFY
Max-Forwards: 70
m: sip:[email protected]:1036
Event: xml
Subscription-State: active;expires=30000
c: application/snomxml
l: 753
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneDirectory>
<Title>Menu</Title>
<Prompt>Prompt</Prompt>
<DirectoryEntry>
<Name>Hirosh</Name>
<Telephone>444</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Oliver</Name>
<Telephone>444</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Christian</Name>
<Telephone>444</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Polizei</Name>
<Telephone>110</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Maria</Name>
<Telephone>444</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Parents</Name>
<Telephone>44442710</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Support</Name>
<Telephone>444</Telephone>
</DirectoryEntry>
</SnomIPPhoneDirectory>
---
[0]
http://snom.com/wiki/index.php/Xmlobjects#Current_supported_XML_Objects
[1] http://snom.com/minibrowser/doc/xmlapplsnom360.pdf
[2] http://snom.com/minibrowser/notify.txt
[3] http://www.sipsak.org
[4] http://www.faqs.org/rfcs/rfc3265.html
z.ß (notify.txt am Ende):
$ sipsak -i -O ID -l 1036 -f notify.txt -s sip:[email protected]:5060 -H
192.168.51.2 -v
SIP/2.0 400 Bad Request
Via: SIP/2.0/UDP 192.168.51.2:1036;branch=z9hG4bK.7377ef6c;rport
From: <sip:[email protected]>;tag=2502
To: <sip:[email protected]>;tag=2502
Call-ID: 35a@snom362
CSeq: 1 NOTIFY
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE,
PRACK, MESSAGE, INFO
Allow-Events: talk, hold, refer
Supported: timer, 100rel, replaces, callerid
Content-Length: 0
Den Telefon anwortet mit eine "Bad Request" und das Feld "Allow-Events" erhalts nur "talk, hold, refer". In RFC 3265
Section 3.3.7 wird erklärt, dass "Allow-Events" zeigt die Ereignisse einer Element prozesieren kann. Den xml Ereignis ist nicht drin. Ich glaube, dass den snom 360 kann nicht diese xml Ereignisse prozesieren. Das Dokumentation sagt aber anders
Hat jemanden es zufällig zum laufen gebracht?
Vielen Dank.
--- notify.txt ---
NOTIFY sip:[email protected]:5060;line=o3cyzrwy SIP/2.0
Via: SIP/2.0/UDP 192.168.51.2:1036;branch=z9hG4bK.7377ef6c;rport
f: <sip:[email protected]>;tag=2502
t: <sip:[email protected]>;tag=2502
i: 35a@snom362
CSeq: 1 NOTIFY
Max-Forwards: 70
m: sip:[email protected]:1036
Event: xml
Subscription-State: active;expires=30000
c: application/snomxml
l: 753
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneDirectory>
<Title>Menu</Title>
<Prompt>Prompt</Prompt>
<DirectoryEntry>
<Name>Hirosh</Name>
<Telephone>444</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Oliver</Name>
<Telephone>444</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Christian</Name>
<Telephone>444</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Polizei</Name>
<Telephone>110</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Maria</Name>
<Telephone>444</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Parents</Name>
<Telephone>44442710</Telephone>
</DirectoryEntry>
<DirectoryEntry>
<Name>Support</Name>
<Telephone>444</Telephone>
</DirectoryEntry>
</SnomIPPhoneDirectory>
---
[0]
http://snom.com/wiki/index.php/Xmlobjects#Current_supported_XML_Objects
[1] http://snom.com/minibrowser/doc/xmlapplsnom360.pdf
[2] http://snom.com/minibrowser/notify.txt
[3] http://www.sipsak.org
[4] http://www.faqs.org/rfcs/rfc3265.html