Hi, mein Asterisk ist nun soweit, der Dienst läuft.
Er nimmt auch Telefonate an.
Da ich meine Haustüre über einen Dial-Plan öffnen möchte, folgende Frage:
Mein Log zur Code-Abfrage sieht wie folgt aus:
Gerne würde ich das Logfile permanent überwachen,
und sobald der Eintrag:
-- User entered '28400222'
gefunden wird einen Befehlt an eibd senden.
Weiss jemand hierfür einen Lösung ?
Vielen Dank
Er nimmt auch Telefonate an.
Da ich meine Haustüre über einen Dial-Plan öffnen möchte, folgende Frage:
Mein Log zur Code-Abfrage sieht wie folgt aus:
Code:
-- Accepting a maximum of 8 digits.
DTMF end '2' received on SIP/ext-sip-account-00000001, duration 100 ms
DTMF end passthrough '2' on SIP/ext-sip-account-00000001
DTMF end '8' received on SIP/ext-sip-account-00000001, duration 100 ms
DTMF end passthrough '8' on SIP/ext-sip-account-00000001
DTMF end '4' received on SIP/ext-sip-account-00000001, duration 100 ms
DTMF end passthrough '4' on SIP/ext-sip-account-00000001
DTMF end '0' received on SIP/ext-sip-account-00000001, duration 100 ms
DTMF end passthrough '0' on SIP/ext-sip-account-00000001
DTMF end '0' received on SIP/ext-sip-account-00000001, duration 100 ms
DTMF end passthrough '0' on SIP/ext-sip-account-00000001
DTMF end '2' received on SIP/ext-sip-account-00000001, duration 100 ms
DTMF end passthrough '2' on SIP/ext-sip-account-00000001
DTMF end '2' received on SIP/ext-sip-account-00000001, duration 100 ms
DTMF end passthrough '2' on SIP/ext-sip-account-00000001
DTMF end '2' received on SIP/ext-sip-account-00000001, duration 100 ms
DTMF end passthrough '2' on SIP/ext-sip-account-00000001
-- User entered '28400222'
-- Executing [623@default:4] Read("SIP/ext-sip-account-00000001", "i,,8") in new stack
-- Accepting a maximum of 8 digits.
-- User disconnected
Gerne würde ich das Logfile permanent überwachen,
und sobald der Eintrag:
-- User entered '28400222'
gefunden wird einen Befehlt an eibd senden.
Weiss jemand hierfür einen Lösung ?
Vielen Dank


Kommentar