| 是否跟佢個extensions.conf sample改?? 在我心目中, 以為裝完就會有一個fxo等等給我在gui內set.
 
 
 
  ; this is chunks of Asterisk extensions.conf file for show some chan_dongle features
 [general]
 [dongle-incoming]
 ; example of ussd receive
 exten => ussd,1,Set(type=${USSD_TYPE})
 ; values from 0 till 5
 ;  0 - 'USSD Notify'
 ;  1 - 'USSD Request'
 ;  2 - 'USSD Terminated by network'
 ;  3 - 'Other local client has responded'
 ;  4 - 'Operation not supported'
 ;  5 - 'Network time out'
 exten => ussd,n,Set(typestr=${USSD_TYPE_STR})
 ; type in string, see above
 exten => ussd,n,Set(ussd=${USSD})
 ; USSD text, but may be truncated by first \n
 exten => ussd,n,Set(ussd_multiline=${BASE64_DECODE(${USSD_BASE64})})
 ; USSD text, may be multiline
 ; Note:  this exten run in Local channel not attached to anything, also all CALLERID() is empty
 exten => ussd,n,Hangup
 
 ; example of sms receive
 exten => sms,1,Set(sms=${SMS})
 ; SMS text, but may be truncated by first \n
 exten => sms,n,Set(sms_multiline=${BASE64_DECODE(${SMS_BASE64})})
 ; SMS text, may be multiline
 exten => sms,n,Set(raw_cmgr_message=${CMGR})
 ; raw CMGR message from dongle
 ; Note:  this exten run in Local channel not attached to anything, also CALLERID(num) is address of SMS originator
 exten => sms,n,Hangup
 
 ; example of begining context execution from not default exten
 exten => +12345678901,1,Verbose(This exten executed if Subscriber Number is available and equal +12345678901 or exten setting value is +12345678901)
 exten => +12345678901,n,Hangup
 
 ; example of channel variables setting by chan_dongle
 exten => s,1,Set(NAME_OF_DEVICE=${DONGLE0_STATUS})
 ; for example 'dongle0' or 'dongle1' see dongle.conf
 exten => s,n,Set(NAME_OF_PROVIDE=${DONGLEPROVIDER})
 ; for example see output of cli 'dongle show devices' column "Provider Name"
 exten => s,n,Set(IMEI_OF_DEVICE=${DONGLEIMEI})
 ; for example see output of cli 'dongle show devices' column "IMEI"
 exten => s,n,Set(IMSI_OF_SIMCARD=${DONGLEIMSI})
 ; for example see output of cli 'dongle show devices' column "IMSI"
 |