[asterisk-users] DTMF Problem

michel freiha michofr at gmail.com
Thu Oct 2 04:27:16 CDT 2008


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.php
exten => _X.,3,Wait,2
exten => _X.,4,Hangup
exten => _X.,21,Playback(AR_GetGiveToID)
exten => _X.,22,Wait(2)
exten => _X.,23,Record(/tmp/asterisk-recording:ulaw,,5)
exten => _X.,24,Wait(2)
exten => _X.,25,Playback(/tmp/asterisk-recording)
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081002/984a3537/attachment.htm 


More information about the asterisk-users mailing list