<div dir="ltr"><div>Dear Sir,</div>
<div> </div>
<div>I have the following Scenario: </div>
<div> </div>
<div>1- I have a DID number from Voxbone mapped to my asterisk server with RFC 2833 protocol used for DTMF</div>
<div>2- On asterisk Server I configured an incoming peer that receives calls from VoxBone and send calls to a2billing context as follow:</div>
<div> </div>
<div><strong><font color="#cc0000">sip.conf</font></strong><br>[sip_proxy1]<br>type=peer<br>context=a2billing<br>host=<a href="http://81.201.82.39">81.201.82.39</a><br>dtmfmode=RFC2833<br>rfc2833compensate=yes</div>
<div> </div>
<div><font color="#cc0000"><strong>extensions.conf</strong></font></div>
<div>[a2billing]<br>exten => _X.,1,Gotoif($[${EXTEN} = 111] ? 21)<br>exten => _X.,2,DeadAGI,a2billing.php<br>exten => _X.,3,Wait,2<br>exten => _X.,4,Hangup<br>exten => _X.,21,Playback(AR_GetGiveToID)<br>exten => _X.,22,Wait(2)<br>
exten => _X.,23,Record(/tmp/asterisk-recording:ulaw,,5)<br>exten => _X.,24,Wait(2)<br>exten => _X.,25,Playback(/tmp/asterisk-recording)<br>exten => _X.,26,Wait(2)<br>exten => _X.,27,Hangup</div>
<div> </div>
<div>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:</div>
<div> </div>
<div>-----><br> -- <SIP/voxbone.com-0a02e0d8> Playing 'prepaid-enter-pin-number' (language 'en')<br> a2billing.php: file:Class.A2Billing.php - line:1790 - RES DTMF : <br> a2billing.php: file:Class.A2Billing.php - line:1794 - CARDNUMBER ::> <br>
a2billing.php: file:Class.A2Billing.php - line:1798 - PREPAID-NO-CARD-ENTERED<br> a2billing.php: file:Class.A2Billing.php - line:1780 - PREPAID-NO-CARD-ENTERED<br> a2billing.php: file:Class.A2Billing.php - line:1788 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15<br>
-- <SIP/voxbone.com-0a02e0d8> Playing 'prepaid-enter-pin-number' (language 'en')<br> a2billing.php: file:Class.A2Billing.php - line:1790 - RES DTMF : <br> a2billing.php: file:Class.A2Billing.php - line:1794 - CARDNUMBER ::> <br>
a2billing.php: file:Class.A2Billing.php - line:1798 - PREPAID-NO-CARD-ENTERED<br> a2billing.php: file:Class.A2Billing.php - line:1780 - PREPAID-NO-CARD-ENTERED<br> a2billing.php: file:Class.A2Billing.php - line:1788 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15<br>
-- <SIP/voxbone.com-0a02e0d8> Playing 'prepaid-enter-pin-number' (language 'en')</div>
<div> </div>
<div>What do you think the issue could be?</div>
<div> </div>
<div>Regards</div></div>