extensions.conf for the CallingCard Applications

Example extensions.conf entries for a direct voip configuration


exten => _.,1,Answer
exten => _.,2,SetLanguage(de)
exten => _.,3,PrepaidAuthCID(${CALLERIDNUM})
exten => _.,103,PrepaidAuthPIN()
exten => _.,203,PrepaidCall(${EXTEN},${PREPAID-CARDID},${PREPAID-TARIFFID},${PREPAID-CREDIT},${PREPAID-STARTPULSE},${PREPAID-FREQUENCY},${PREPAID-ANNOUNCEMENT},${PREPAID-CCPREFIX},${PREPAID-RESELLERID})
exten => _.,303,Playback(prepaid/prepaid-auth-failed)
exten => _.,304,GoTo(403)
exten => _.,403,SoftHangup(${CHANNEL})
exten => _.,404,Hangup


Example extensions.conf entries for incoming calls on the extension 850


exten => 850,1,Answer
exten => 850,2,SetCallerID("+${CALLERIDNUM}")
exten => 850,3,SetLanguage(de)
exten => 850,4,PrepaidAuthCID(${CALLERIDNUM})
exten => 850,104,PrepaidAuthPIN()
exten => 850,204,PrepaidCall(,${PREPAID-CARDID},${PREPAID-TARIFFID},${PREPAID-CREDIT},${PREPAID-STARTPULSE},${PREPAID-FREQUENCY},${PREPAID-ANNOUNCEMENT},${PREPAID-CCPREFIX},${PREPAID-RESELLERID)
exten => 850,304,Playback(prepaid/prepaid-auth-failed)
exten => 850,305,GoTo(404)
exten => 850,404,SoftHangup(${CHANNEL})
exten => 850,405,Hangup


Go Back

Example extensions.conf entries for a direct voip configuration


exten => _.,1,Answer
exten => _.,2,SetLanguage(de)
exten => _.,3,PrepaidAuthCID(${CALLERIDNUM})
exten => _.,103,PrepaidAuthPIN()
exten => _.,203,PrepaidCall(${EXTEN},${PREPAID-CARDID},${PREPAID-TARIFFID},${PREPAID-CREDIT},${PREPAID-STARTPULSE},${PREPAID-FREQUENCY},${PREPAID-ANNOUNCEMENT},${PREPAID-CCPREFIX},${PREPAID-RESELLERID})
exten => _.,303,Playback(prepaid/prepaid-auth-failed)
exten => _.,304,GoTo(403)
exten => _.,403,SoftHangup(${CHANNEL})
exten => _.,404,Hangup


Example extensions.conf entries for incoming calls on the extension 850


exten => 850,1,Answer
exten => 850,2,SetCallerID("+${CALLERIDNUM}")
exten => 850,3,SetLanguage(de)
exten => 850,4,PrepaidAuthCID(${CALLERIDNUM})
exten => 850,104,PrepaidAuthPIN()
exten => 850,204,PrepaidCall(,${PREPAID-CARDID},${PREPAID-TARIFFID},${PREPAID-CREDIT},${PREPAID-STARTPULSE},${PREPAID-FREQUENCY},${PREPAID-ANNOUNCEMENT},${PREPAID-CCPREFIX},${PREPAID-RESELLERID)
exten => 850,304,Playback(prepaid/prepaid-auth-failed)
exten => 850,305,GoTo(404)
exten => 850,404,SoftHangup(${CHANNEL})
exten => 850,405,Hangup


Go Back

Created by: wuwu, Last modification: Sat 16 of Apr, 2005 (21:23 UTC) by Herman
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+