#!/usr/bin/perl
use strict;
$|=1;
my %AGI;
my $Timeout = 1; # http timeout
while(<STDIN>) {
chomp;
last unless length($_);
if (/^agi_(\w+)\:\s+(.*)$/) {
$AGI{$1} = $2;
}
}
# Name aus Telefonbuch raussuchen
my $CallerID = $AGI{'callerid'};
if ("${CallerID}" ne "") {
my $SearchOutput = `wget -q -T ${Timeout} -O - "http://www.dasoertliche.de/?form_name=search_inv&ph=${CallerID}"`;
$SearchOutput =~ /class=\"entry\".*>(.*)</;
my $CallerName = "$1";
if ("${CallerName}" ne "") {
print "SET VARIABLE CALLERID(name) \"${CallerName}\" \"\"\n";
}
}
######################################_IM_KLICKTEL_SUCHEN_#################################################################
if echo $1 | grep '^01';then
echo "Das ist ein Handy"
else
if [ "$NAME" == "" ]; then
echo "Suche nach $NUMMER in www.klicktel.de"
wget -q -O $TMPFILE "http://www.klicktel.de/inverssuche/backwardssearch.html?newSearch=1&boxtype=backwards&sid=270asss9s9u1m4l7bfvhc3tbb6&vollstaendig=$NUMMER"
# Adresse Zeile herausfiltern und in Datei speichern
#durch Verkürzung
[COLOR="Red"]if grep -i "1 Treffer" $TMPFILE > $NULL;then[/COLOR]
echo "EIN TREFFER!"
grep $TMPFILE -e "$TITEL" >$TMPFILE1
rm $TMPFILE
tr -d ' ' < $TMPFILE1 > $TMPFILE
#Umwandlung von html in text
NAME="`sed -e 's/<[^>]*>//g' $TMPFILE`"
echo "WEB2-Name: $NAME"
else
echo "FEHLER"
fi;
fi;
fi;
Executing [1234567@incoming:1] NoOp("SIP/-00869800", "Incoming call on sipgate.de") in new stack
-- Executing [1234567@incoming:2] Ringing("SIP/1234567-00869800", "") in new stack
-- Executing [1234567@incoming:3] AGI("SIP/1234567-00869800", "ast_revers.agi,02123456789") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/ast_revers.agi
/var/lib/asterisk/agi-bin/ast_revers.agi: line 558: svdrpsend.pl: command not found
/var/lib/asterisk/agi-bin/ast_revers.agi: line 559: svdrpsend.pl: command not found
-- <SIP/1234567-00869800>AGI Script ast_revers.agi completed, returning 0
-- Executing [1234567@incoming:4] Set("SIP/1234567-00869800", "CALLERID(name)=Name Vorname") in new stack
") in new stackg [1234567@incoming:5] Set("SIP/1234567-00869800", "CALLERID(num)=Strasse 1, 12345 Ort
-- Executing [1234567@incoming:6] Dial("SIP/1234567-00869800", "SIP/30&SIP/31&SIP/32,30") in new stack
-- Called 30
-- Called 31
-- Called 32
[Feb 8 18:07:41] WARNING[514]: chan_sip.c:2794 retrans_pkt: Maximum retries exceeded on transmission [email protected] for seqno 102 (Critical Request) -- See doc/sip-retransmit.txt.
[Feb 8 18:07:41] WARNING[514]: chan_sip.c:2821 retrans_pkt: Hanging up call [email protected] - no reply to our critical packet (see doc/sip-retransmit.txt).
[Feb 8 18:07:41] WARNING[514]: chan_sip.c:2794 retrans_pkt: Maximum retries exceeded on transmission [email protected] for seqno 102 (Critical Request) -- See doc/sip-retransmit.txt.
[Feb 8 18:07:41] WARNING[514]: chan_sip.c:2821 retrans_pkt: Hanging up call [email protected] - no reply to our critical packet (see doc/sip-retransmit.txt).
[Feb 8 18:07:44] WARNING[514]: chan_sip.c:2794 retrans_pkt: Maximum retries exceeded on transmission [email protected] for seqno 102 (Critical Request) -- See doc/sip-retransmit.txt.
[Feb 8 18:07:44] WARNING[514]: chan_sip.c:2821 retrans_pkt: Hanging up call [email protected] - no reply to our critical packet (see doc/sip-retransmit.txt).
== Everyone is busy/congested at this time (3:3/0/0)
-- Executing [1234567@incoming:7] NoOp("SIP/1234567-00869800", "Dial beendet") in new stack
-- Executing [1234567@incoming:8] VoiceMail("SIP/1234567-00869800", "30,u") in new stack
[incoming]
;mit diesem dialplan läuft Asterisk wie gewünscht
;exten => 1234567,1,NoOp(Incoming call on sipgate.de)
;exten => 1234567,n,Ringing()
;exten => 1234567,n,Wait(1)
;exten => 1234567,n,Dial(SIP/30&SIP/31&SIP/32,30)
;exten => 1234567,n,VoiceMail(30,u)
;exten => 1234567,n,Hangup
;Test für Inverssuche
exten => 1234567,1,NoOp(Incoming call on sipgate.de)
exten => 1234567,n,Ringing()
exten => 1234567,n,AGI(ast_revers.agi,${CALLERID(NUM)})
exten => 1234567,n,Set(CALLERID(name)=${LONGNAME})
exten => 1234567,n,Set(CALLERID(num)=${LONGDETAILS})
exten => 1234567,n,Dial(SIP/30&SIP/31&SIP/32,30)
exten => 1234567,n,NoOp(Dial beendet)
exten => 1234567,n,VoiceMail(30,u)
exten => 1234567,n,Hangup()
[general]
context=default
[30]
type=friend
username=30
secret=geheim
host=dynamic
disallow=all
allow=ulaw
allow=alaw
canreinvite=no
qualify=yes
dtmfmode=auto
nat=yes
[31]
type=friend
username=31
secret=geheim
host=dynamic
disallow=all
allow=ulaw
allow=alaw
canreinvite=no
qualify=yes
dtmfmode=auto
nat=yes
[32]
type=friend
username=32
secret=geheim
host=dynamic
disallow=all
allow=ulaw
allow=alaw
canreinvite=no
qualify=yes
dtmfmode=auto
nat=yes
/var/lib/asterisk/agi-bin/ast_revers.agi: line 558: svdrpsend.pl: command not found
/var/lib/asterisk/agi-bin/ast_revers.agi: line 559: svdrpsend.pl: command not found
OderDu solltest das Script svdrpsend.pl mit vollem Pfad aufrufen.
#VDR-Anzeige
VDR=0 #Anzeige VDR 0=Nicht 1=Ja
SET VARIABLE LONGDETAILS "***strasse **nr***, SCHWEIZ <span class="tel_addrpart">***PLZ*** Winterthur/ZH</span>"
DETAILS=`grep 'class=\"raddr\".*' -m1 $TMPFILE | sed -e s/^.*\"raddr\"\>//g -e s/\<'\/'div\>.*//g`
DETAILS=`grep 'class=\"raddr\".*' -m1 $TMPFILE | sed -e s/^.*\"raddr\"\>//g -e s/\<'\/'div\>.*//g -e s/\<span.*addrpart\"\>//g -e s/\<'\/'span\>//g`
## MYSQL LOG:
## Timestamp von mysql
echo "insert ignore into log (nummer,destination) values ('$NUMMER','$DEST')" | mysql -h$MYSQLHOST -u$MYSQLUSER -p$MYSQLPASS $MYSQLDB
wget -b "http://localhost/ast_log/sendmessage.php?nummer=$NUMMER&name=$NAME&details=$DETAILS&dest=$DEST" -o /tmp/ast_sendmessagelog -O /tmp/ast_sendmessageout
CREATE TABLE log (
id int(11) NOT NULL auto_increment,
nummer varchar(100) default NULL,
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
destination varchar(50) default NULL,
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Version vom 31.03.2009
Durch ein Land geänderte Nummernpläne (Neugestaltung/Renummerierung):
Kuwait
Mali
Marokko
Nikaragua
Ruanda
Durch ein Land erweiterte Nummernpläne (neue Gassen):
Elfenbeinküste
Israel
Malta
Intern erweiterte Nummernpläne (Aufnahme der Orts/Gebietsnetze / Area codes)
Ägypten
Aserbaidschan
Ghana
Kasachstan
Kirgisien
Malawi
Tadschikistan
Tschad
Ungarn
-- Executing [s@macro-normal:1] AGI("SIP/5060-015bf158", "ast_reverse.agi,01234123456,201") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/ast_reverse.agi
[B][Apr 8 16:53:42] ERROR[7625]: utils.c:1126 ast_carefulwrite: write() returned error: Broken pipe[/B]
-- <SIP/5060-015bf158>AGI Script ast_reverse.agi completed, returning 0
-- Executing [s@macro-normal:2] NoOp("SIP/5060-015bf158", "Ein Anruf von ") in new stack
-- Executing [s@macro-normal:3] NoOp("SIP/5060-015bf158", "Ein Anruf in ") in new stack
Habe eine Lösung gefunden: Scheinbar erzwingt Asterisk jetzt das Rücklesen der Statuswerte (z.B.: AGI Tx >> 200 result=1) und meldet broken pipe, wenn dies nicht getan wird. Ein entsprechend adaptiertes skript habe ich beigefügt. Wichtig: Damit das jetzt auf der Kommandozeile noch funktioniert, muss man als dritten Parameter test angeben, sonst bekommt man nichts zu sehen (der Aufruf aus dem Asterisk bleibt der gleiche)
-- Executing [s@macro-normal:1] AGI("SIP/5060-015c0f78", "ast_reverse.agi,01234123456,201") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/ast_reverse.agi
agi_request: ast_reverse.agi
agi_channel: SIP/5060-015c0f78
agi_language: de
agi_type: SIP
agi_uniqueid: 1239210197.131
agi_version: 1.6.1.0-rc3
agi_callerid: 01234123456
agi_calleridname: unknown
agi_callingpres: 0
agi_callingani2: 0
agi_callington: 0
agi_callingtns: 0
agi_dnid: 712345
agi_rdnis: unknown
agi_context: macro-normal
agi_extension: s
agi_priority: 1
agi_enhanced: 0.0
agi_accountcode:
agi_threadid: 1077598544
agi_arg_1: 01234123456
agi_arg_2: 201
200 result=1
200 result=1
[Apr 8 19:03:19] ERROR[10489]: utils.c:1126 ast_carefulwrite: write() returned error: Broken pipe
[Apr 8 19:03:19] ERROR[10489]: utils.c:1126 ast_carefulwrite: write() returned error: Broken pipe
-- <SIP/5060-015c0f78>AGI Script ast_reverse.agi completed, returning 0
-- Executing [s@macro-normal:2] NoOp("SIP/5060-015c0f78", "Ein Anruf von ") in new stack
-- Executing [s@macro-normal:3] NoOp("SIP/5060-015c0f78", "Ein Anruf in ") in new stack
[COLOR="SeaGreen"]##Helper-Funktion fuer Returnwerte
checkresults() {
while read line
do
case ${line:0:4} in
"200 " ) echo $line >&2
return;;
"510 " ) echo $line >&2
return;;
"520 " ) echo $line >&2
return;;
* ) echo $line >&2;; #keep on reading those Invlid command
#command syntax until "520 End ..."
esac
done
}
[/COLOR]
## LONGNAME an die Asterisk uebergeben
function asterisk {
echo 'SET VARIABLE LONGNAME '"\"$NAME\"" >/dev/stdout
[COLOR="SeaGreen"]if [ "$READRES" == "0" ]; then
checkresults
fi[/COLOR]
# Für mein Fax-Script wird auch Details zurückgeschrieben
echo 'SET VARIABLE LONGDETAILS '"\"$DETAILS\"" >/dev/stdout
[COLOR="SeaGreen"]if [ "$READRES" == "0" ]; then
checkresults
fi[/COLOR]
#falls BLACKLISTING-Funktionalitaet gesetzt, dieses auch zuückgeben
if [ "$BLACKLIST" == "YES" ]; then
echo 'SET VARIABLE BLACK '"\"$ISBLACK\"" >/dev/stdout
[COLOR="SeaGreen"] if [ "$READRES" == "0" ]; then
checkresults
fi[/COLOR]
fi
}
NUMMER=$1
DEST=$2
[COLOR="SeaGreen"]if [ "$3" == "test" ]; then
READRES=1
else
READRES=0
fi[/COLOR]
Asterisk 1.6.0.9, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': == Found
Running as group 'dialout'
== Parsing '/etc/asterisk/extconfig.conf': == Found
Connected to Asterisk 1.6.0.9 currently running on bnas01 (pid = 23793)
Verbosity is at least 5
== Using SIP RTP CoS mark 5
-- Executing [15@sip_phone:1] Set("SIP/300-800ab750", "~~EXTEN~~=15") in new stack
-- Executing [15@sip_phone:2] Set("SIP/300-800ab750", "SIPDOMAIN=192.168.1.11") in new stack
-- Executing [15@sip_phone:3] Set("SIP/300-800ab750", "DESTDOMAIN=") in new stack
-- Executing [15@sip_phone:4] Set("SIP/300-800ab750", "MYNUM=15") in new stack
-- Executing [15@sip_phone:5] NoOp("SIP/300-800ab750", "Incoming Call from house extension 300 for 15@") in new stack
-- Executing [15@sip_phone:6] Set("SIP/300-800ab750", "STATUS=NOK") in new stack
-- Executing [15@sip_phone:7] GotoIf("SIP/300-800ab750", "0?8:11") in new stack
-- Goto (sip_phone,15,11)
-- Executing [15@sip_phone:11] NoOp("SIP/300-800ab750", "Finish if-sip_dial-1670") in new stack
-- Executing [15@sip_phone:12] GotoIf("SIP/300-800ab750", "1?13:23") in new stack
-- Goto (sip_phone,15,13)
-- Executing [15@sip_phone:13] GotoIf("SIP/300-800ab750", "0?14:15") in new stack
-- Goto (sip_phone,15,15)
-- Executing [15@sip_phone:15] NoOp("SIP/300-800ab750", "Finish if-if-sip_dial-1673-1674") in new stack
-- Executing [15@sip_phone:16] GotoIf("SIP/300-800ab750", "0?17:18") in new stack
-- Goto (sip_phone,15,18)
-- Executing [15@sip_phone:18] NoOp("SIP/300-800ab750", "Finish if-if-sip_dial-1673-1675") in new stack
-- Executing [15@sip_phone:19] GotoIf("SIP/300-800ab750", "0?20:21") in new stack
-- Goto (sip_phone,15,21)
-- Executing [15@sip_phone:21] NoOp("SIP/300-800ab750", "Finish if-if-sip_dial-1673-1676") in new stack
-- Executing [15@sip_phone:22] Goto("SIP/300-800ab750", "handle_outbound_call,15,1") in new stack
-- Goto (handle_outbound_call,15,1)
-- Executing [15@handle_outbound_call:1] NoCDR("SIP/300-800ab750", "") in new stack
-- Executing [15@handle_outbound_call:2] AGI("SIP/300-800ab750", "ast_revers.agi,0123451234567,300") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/ast_revers.agi
-- <SIP/300-800ab750>AGI Script ast_revers.agi completed, returning 0
-- Auto fallthrough, channel 'SIP/300-800ab750' status is 'UNKNOWN'
Asterisk 1.6.0.9, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': == Found
Running as group 'dialout'
== Parsing '/etc/asterisk/extconfig.conf': == Found
Connected to Asterisk 1.6.0.9 currently running on bnas01 (pid = 23793)
Verbosity is at least 5
bnas01*CLI> agi set debug on
AGI Debugging Enabled
== Using SIP RTP CoS mark 5
-- Executing [15@sip_phone:1] Set("SIP/300-8013dfc0", "~~EXTEN~~=15") in new stack
-- Executing [15@sip_phone:2] Set("SIP/300-8013dfc0", "SIPDOMAIN=192.168.1.11") in new stack
-- Executing [15@sip_phone:3] Set("SIP/300-8013dfc0", "DESTDOMAIN=") in new stack
-- Executing [15@sip_phone:4] Set("SIP/300-8013dfc0", "MYNUM=15") in new stack
-- Executing [15@sip_phone:5] NoOp("SIP/300-8013dfc0", "Incoming Call from house extension 300 for 15@") in new stack
-- Executing [15@sip_phone:6] Set("SIP/300-8013dfc0", "STATUS=NOK") in new stack
-- Executing [15@sip_phone:7] GotoIf("SIP/300-8013dfc0", "0?8:11") in new stack
-- Goto (sip_phone,15,11)
-- Executing [15@sip_phone:11] NoOp("SIP/300-8013dfc0", "Finish if-sip_dial-1670") in new stack
-- Executing [15@sip_phone:12] GotoIf("SIP/300-8013dfc0", "1?13:23") in new stack
-- Goto (sip_phone,15,13)
-- Executing [15@sip_phone:13] GotoIf("SIP/300-8013dfc0", "0?14:15") in new stack
-- Goto (sip_phone,15,15)
-- Executing [15@sip_phone:15] NoOp("SIP/300-8013dfc0", "Finish if-if-sip_dial-1673-1674") in new stack
-- Executing [15@sip_phone:16] GotoIf("SIP/300-8013dfc0", "0?17:18") in new stack
-- Goto (sip_phone,15,18)
-- Executing [15@sip_phone:18] NoOp("SIP/300-8013dfc0", "Finish if-if-sip_dial-1673-1675") in new stack
-- Executing [15@sip_phone:19] GotoIf("SIP/300-8013dfc0", "0?20:21") in new stack
-- Goto (sip_phone,15,21)
-- Executing [15@sip_phone:21] NoOp("SIP/300-8013dfc0", "Finish if-if-sip_dial-1673-1676") in new stack
-- Executing [15@sip_phone:22] Goto("SIP/300-8013dfc0", "handle_outbound_call,15,1") in new stack
-- Goto (handle_outbound_call,15,1)
-- Executing [15@handle_outbound_call:1] NoCDR("SIP/300-8013dfc0", "") in new stack
-- Executing [15@handle_outbound_call:2] AGI("SIP/300-8013dfc0", "ast_revers.agi,0123451234567,300") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/ast_revers.agi
<SIP/300-8013dfc0>AGI Tx >> agi_request: ast_revers.agi
<SIP/300-8013dfc0>AGI Tx >> agi_channel: SIP/300-8013dfc0
<SIP/300-8013dfc0>AGI Tx >> agi_language: de
<SIP/300-8013dfc0>AGI Tx >> agi_type: SIP
<SIP/300-8013dfc0>AGI Tx >> agi_uniqueid: 1239224472.84
<SIP/300-8013dfc0>AGI Tx >> agi_version: 1.6.0.9
<SIP/300-8013dfc0>AGI Tx >> agi_callerid: 300
<SIP/300-8013dfc0>AGI Tx >> agi_calleridname: Test
<SIP/300-8013dfc0>AGI Tx >> agi_callingpres: 0
<SIP/300-8013dfc0>AGI Tx >> agi_callingani2: 0
<SIP/300-8013dfc0>AGI Tx >> agi_callington: 0
<SIP/300-8013dfc0>AGI Tx >> agi_callingtns: 0
<SIP/300-8013dfc0>AGI Tx >> agi_dnid: 15
<SIP/300-8013dfc0>AGI Tx >> agi_rdnis: unknown
<SIP/300-8013dfc0>AGI Tx >> agi_context: handle_outbound_call
<SIP/300-8013dfc0>AGI Tx >> agi_extension: 15
<SIP/300-8013dfc0>AGI Tx >> agi_priority: 2
<SIP/300-8013dfc0>AGI Tx >> agi_enhanced: 0.0
<SIP/300-8013dfc0>AGI Tx >> agi_accountcode: Test
<SIP/300-8013dfc0>AGI Tx >> agi_threadid: 140678952446288
<SIP/300-8013dfc0>AGI Tx >> agi_arg_1: 0123451234567
<SIP/300-8013dfc0>AGI Tx >> agi_arg_2: 300
<SIP/300-8013dfc0>AGI Tx >>
<SIP/300-8013dfc0>AGI Rx << SET VARIABLE LONGNAME "kein Eintrag"
<SIP/300-8013dfc0>AGI Tx >> 200 result=1
<SIP/300-8013dfc0>AGI Rx << SET VARIABLE LONGDETAILS "keine Adresse"
<SIP/300-8013dfc0>AGI Tx >> 200 result=1
-- <SIP/300-8013dfc0>AGI Script ast_revers.agi completed, returning 0
-- Auto fallthrough, channel 'SIP/300-8013dfc0' status is 'UNKNOWN'
-- Executing [30@intern:1] AGI("SIP/jansip-0157d428", "agi-test.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-test.agi
-- Playing 'beep' (escape_digits=) (sample_offset 0)
[Apr 8 22:59:21] WARNING[12641]: file.c:638 ast_openstream_full: File digits/1N does not exist in any format
[Apr 8 22:59:21] WARNING[12641]: file.c:916 ast_streamfile: Unable to open digits/1N (format 0x1000 (g722)): No such file or directory
-- <SIP/jansip-0157d428> Playing 'digits/hundred.g722' (language 'de')
[Apr 8 22:59:22] WARNING[12641]: file.c:638 ast_openstream_full: File digits/and does not exist in any format
[Apr 8 22:59:22] WARNING[12641]: file.c:916 ast_streamfile: Unable to open digits/and (format 0x1000 (g722)): No such file or directory
[Apr 8 22:59:22] WARNING[12641]: file.c:638 ast_openstream_full: File digits/2-and does not exist in any format
[Apr 8 22:59:22] WARNING[12641]: file.c:916 ast_streamfile: Unable to open digits/2-and (format 0x1000 (g722)): No such file or directory
-- <SIP/jansip-0157d428> Playing 'digits/90.g722' (language 'de')
[Apr 8 22:59:23] WARNING[12641]: file.c:638 ast_openstream_full: File digits/millions does not exist in any format
[Apr 8 22:59:23] WARNING[12641]: file.c:916 ast_streamfile: Unable to open digits/millions (format 0x1000 (g722)): No such file or directory
-- <SIP/jansip-0157d428> Playing 'digits/8.g722' (language 'de')
-- <SIP/jansip-0157d428> Playing 'digits/hundred.g722' (language 'de')
[Apr 8 22:59:24] WARNING[12641]: file.c:638 ast_openstream_full: File digits/and does not exist in any format
[Apr 8 22:59:24] WARNING[12641]: file.c:916 ast_streamfile: Unable to open digits/and (format 0x1000 (g722)): No such file or directory
[Apr 8 22:59:24] WARNING[12641]: file.c:638 ast_openstream_full: File digits/7-and does not exist in any format
[Apr 8 22:59:24] WARNING[12641]: file.c:916 ast_streamfile: Unable to open digits/7-and (format 0x1000 (g722)): No such file or directory
-- <SIP/jansip-0157d428> Playing 'digits/30.g722' (language 'de')
-- <SIP/jansip-0157d428> Playing 'digits/thousand.g722' (language 'de')
-- <SIP/jansip-0157d428> Playing 'digits/4.g722' (language 'de')
-- <SIP/jansip-0157d428> Playing 'digits/hundred.g722' (language 'de')
[Apr 8 22:59:27] WARNING[12641]: file.c:638 ast_openstream_full: File digits/and does not exist in any format
[Apr 8 22:59:27] WARNING[12641]: file.c:916 ast_streamfile: Unable to open digits/and (format 0x1000 (g722)): No such file or directory
[Apr 8 22:59:27] WARNING[12641]: file.c:638 ast_openstream_full: File digits/5-and does not exist in any format
[Apr 8 22:59:27] WARNING[12641]: file.c:916 ast_streamfile: Unable to open digits/5-and (format 0x1000 (g722)): No such file or directory
-- <SIP/jansip-0157d428> Playing 'digits/60.g722' (language 'de')
PHP 5.2.6-2ubuntu4.1 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 11 2009 20:44:58)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
<SIP/5060-0159e368>AGI Tx >> agi_threadid: 1102633296
<SIP/5060-0159e368>AGI Tx >> agi_arg_1: 012345677
<SIP/5060-0159e368>AGI Tx >> agi_arg_2: 201
<SIP/5060-0159e368>AGI Tx >>
<SIP/5060-0159e368>AGI Rx << SET VARIABLE LONGNAME "Hans Xy"
<SIP/5060-0159e368>AGI Tx >> 200 result=1
<SIP/5060-0159e368>AGI Rx << SET VARIABLE LONGDETAILS "geheime straße"
<SIP/5060-0159e368>AGI Tx >> 200 result=1
<SIP/5060-0159e368>AGI Rx << 220 svp SVDRP VideoDiskRecorder 1.6.0; Wed Apr 8 23:15:35 2009
<SIP/5060-0159e368>AGI Tx >> 510 Invalid or unknown command
<SIP/5060-0159e368>AGI Rx << 250 Message queued
<SIP/5060-0159e368>AGI Tx >> 510 Invalid or unknown command
<SIP/5060-0159e368>AGI Rx << 221 svp closing connection
<SIP/5060-0159e368>AGI Tx >> 510 Invalid or unknown command
<SIP/5060-0159e368>AGI Rx << 220 svp SVDRP VideoDiskRecorder 1.6.0; Wed Apr 8 23:15:36 2009
<SIP/5060-0159e368>AGI Tx >> 510 Invalid or unknown command
<SIP/5060-0159e368>AGI Rx << 250 Message queued
<SIP/5060-0159e368>AGI Tx >> 510 Invalid or unknown command
[Apr 8 23:15:38] ERROR[13306]: utils.c:1126 ast_carefulwrite: write() returned error: Broken pipe
<SIP/5060-0159e368>AGI Rx << 221 svp closing connection
<SIP/5060-0159e368>AGI Tx >> 510 Invalid or unknown command
[Apr 8 23:15:38] ERROR[13306]: utils.c:1126 ast_carefulwrite: write() returned error: Broken pipe
-- <SIP/5060-0159e368>AGI Script ast_reverse.agi completed, returning 0
-- Executing [s@macro-normal:2] NoOp("SIP/5060-0159e368", "Ein Anruf von ") in new stack
-- Executing [s@macro-normal:3] NoOp("SIP/5060-0159e368", "Ein Anruf in ") in new stack
-- Executing [s@macro-normal:2] NoOp("SIP/8001123-780d9398", "Ein Anruf von ") in new stack
-- Executing [s@macro-normal:3] NoOp("SIP/8001123-780d9398", "Ein Anruf in ") in new stack
PHP 5.2.9 with Suhosin-Patch 0.9.7 (cli) (built: Mar 23 2009 12:43:40)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
This is perl, v5.10.0 built for x86_64-linux-thread-multi
GNU bash, version 3.2.39(1)-release (x86_64-suse-linux-gnu)
Copyright (C) 2007 Free Software Foundation, Inc.