On incoming call, chan_dongle tries to find matching exten in defined context (see dongle.conf). There is 3 different exten to search, in the following order:
If subscriber number is unknown, then you can set this in in dongle.conf
- Subscriber Number stored in SIM.
- Number defined in variable
exten
indongle.conf
s
exten
dongle cmd dongle0 AT+CPBS=\"ON\" dongle cmd dongle0 AT+CPBW=1,\"+79139131234\",145After restarting dongle0, incoming calls will start dialplan from exten
exten => +79139131234,1,Noop()also variable
CALLERID(dnid)
will be set to +79139131234If subscriber number is unknown, then you can set this in in dongle.conf
exten = +79139131234If subscriber number is unknown and there is no
exten
entry in dongle.conf
, then s
exten will be used as starting point in dialpan.
No comments:
Post a Comment