I have successfully connected a TE410P Digium Card with my HIPATH 4000 PBX via E1 lines
Asterisk Verison 1.2.5
Zaptel 1.2.5
Libpri 1.2.2
Asterisk < --------- > HIPATH 4000
Everything is working perfectly except the monitor command.
extensions.conf
exten => _XXX,1,Answer
exten => _XXX,2,Wait(1)
exten => _XXX,3,Set(TIMEOUT(response)=1000)
exten => XXX,4,Monitor(gsm,/home/cron/${TIMESTAMP}${CallerID(num)})
This script is actually answers a call ,waits for a second and records the inbound call to a gsm file in the /home/cron/ directory with a name of timestamp_callerid(num)
The script is working and I am getting the following output
-Accepting call from ‘200’ to ‘100’ on channel 0/13, span 1
-Executing Answer(“ZAP/13-1”,"") in new stack
-Executing Wait(“ZAP/13-1”,“1”) in new stack
-Set Response Timeout to 1000
-Executing Monitor (“Za/13-1”, “gsm|/home/cron/20060309-130401_200”) in new stack
But sometimes I am getting the following
-Accepting call from ‘[color=red]200[/color]’ to ‘100’ on channel 0/13, span 1
-Executing Answer(“ZAP/13-1”,"") in new stack
-Executing Wait(“ZAP/13-1”,“1”) in new stack
-Set Response Timeout to 1000
-Executing Monitor (“Za/13-1”, “gsm|/home/cron/20060309-130401_[color=red]270[/color]”) in new stack
Pay Attension that the extension ‘200’ is shown as 270 in the Executing monitor command.
Can anyone explain to me what is the difference between the “Accepting call from’’ value and the “CallerID(num)” value.
If I can understand correctly these values should be the same.
Am I correct or I am missing something.
As you can see I have posted again this error but with less information given:shock:
Thanks
Iraklis