Dear Sir,
I have the following Scenario:
1- I have a DID number from Voxbone mapped to my asterisk server with RFC 2833 protocol used for DTMF
2- On asterisk Server I configured an incoming peer that receives calls from VoxBone and send calls to a2billing context as follow:
sip.conf
[sip_proxy1]
type=peer
context=a2billing
host=81.201.82.39
dtmfmode=RFC2833
rfc2833compensate=yes
extensions.conf
[a2billing]
exten => _X.,1,Gotoif($[${EXTEN} = 111] ? 21)
exten => _X.,2,DeadAGI,a2billing.ph
p
exten => _X.,3,Wait,2
exten => _X.,4,Hangup
exten => _X.,21,Playback(AR_GetGive
ToID)
exten => _X.,22,Wait(2)
exten => _X.,23,Record(/tmp/asteris
k-recordin
g:ulaw,,5)
exten => _X.,24,Wait(2)
exten => _X.,25,Playback(/tmp/aster
isk-record
ing)
exten => _X.,26,Wait(2)
exten => _X.,27,Hangup
My problem is that when entring the PIN number I did not notice that any DTMF digits has been sent from VoxBone to my asterisk server, and the IVR continue asking to enter the PIN number all the time as you can see in the below log messages:
----->
-- <SIP/voxbone.com-0a02e0d8>
Playing 'prepaid-enter-pin-number'
(language 'en')
a2billing.php: file:Class.A2Billing.php - line:1790 - RES DTMF :
a2billing.php: file:Class.A2Billing.php - line:1794 - CARDNUMBER ::>
a2billing.php: file:Class.A2Billing.php - line:1798 - PREPAID-NO-CARD-ENTERED
a2billing.php: file:Class.A2Billing.php - line:1780 - PREPAID-NO-CARD-ENTERED
a2billing.php: file:Class.A2Billing.php - line:1788 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15
-- <SIP/voxbone.com-0a02e0d8>
Playing 'prepaid-enter-pin-number'
(language 'en')
a2billing.php: file:Class.A2Billing.php - line:1790 - RES DTMF :
a2billing.php: file:Class.A2Billing.php - line:1794 - CARDNUMBER ::>
a2billing.php: file:Class.A2Billing.php - line:1798 - PREPAID-NO-CARD-ENTERED
a2billing.php: file:Class.A2Billing.php - line:1780 - PREPAID-NO-CARD-ENTERED
a2billing.php: file:Class.A2Billing.php - line:1788 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15
-- <SIP/voxbone.com-0a02e0d8>
Playing 'prepaid-enter-pin-number'
(language 'en')
What do you think the issue could be?
Regards
Start Free Trial