No, I didn't turn it on, i can hear it ask me to enter destination number.
But i have just tried when it turned on.
The result with it on is: Will not ask me to enter a destination number, it will dial the DID as the destination number again and again....It enters a infinite loop.
(I call DID -->A2B pick up the call--->A2B use DID as destination number --->A2B pick up the call--->A2B use DID as destination number--->A2B pick up the call--->A2B use DID as destination number --->A2B pick up the call--->A2B use DID as destination number ......again and again... )
Without it turned on:
1. If i enter the destination number at the very first time A2B ask for destination number.
(I call DID -->A2B pick up the call ask for destination number(1ST time)---->I enter a destination number---->A2B use DID as destination number instead the one i entered-->A2B pick up the call ask for destination number(1ST time)---->I enter a destination number---->A2B use DID as destination number instead the one i entered-->A2B pick up the call ask for destination number(1ST time)---->I enter a destination number---->A2B use DID as destination number instead the one i entered....again and again....)
When i turn AGI debug on, i actually saw
result = the Dest number i entered,which means GET DATA already capured the Dest number. But A2B just didn't call this number , it call the DID number(Which mean it call itself...)
THERE is the log:
<SIP/didforsale1-0000000a>AGI Rx << GET DATA prepaid-enter-dest 4000 20
-- <SIP/didforsale1-0000000a> Playing 'prepaid-enter-dest.g729' (language 'us')
<SIP/didforsale1-0000000a>AGI Tx >> 200 result=12345
<SIP/didforsale1-0000000a>AGI Rx << EXEC DIAL SIP/
[email protected],60, HRrL(595108000:61000:30000)
-- AGI Script Executing Application: (DIAL) Options: (SIP/
[email protected],60,HRrL(595108000:61000:30000))
-- Limit Data for this call:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called
[email protected]2. If i enter the destination number at the second time or later ask for destination number.
I call DID -->A2B pick up the call ask for destination number(1ST time)----Time out---->A2B ask for destination number(2nd time or later)---> I enter destination number--->A2B dial the destination number. (It works perfect.)