FUNCTION FILTER() ASTERISK


exten => _X.,1,Set(A_NUMBER=${FILTER(0-9,${EXTEN})})
exten => _X.,n,Dial(SIP/1000/${A_NUMBER},${DIALTIMEOUT},${DIALOPTIONS}tT)
exten => _X.,n,Noop(HANGUPCAUSE=${HANGUPCAUSE} DAN DIALSTATUS=${DIALSTATUS})
exten => _X.,n,Hangup()
exten => h,1,Hangup()
exten => s,1,Hangup()

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

shisdew

Listens until think alike

moses.spaceku@yahoo.com / voip ipbx

Hosted PBX, IP-PBX SOHO/ CALL CENTER, VOICE GATEWAY, VOICE CARD, COST EFECTIVE SOLUTIONS (LCR), GSM/CDMA GATEWAY

%d bloggers like this: