Hi,
i’m trying to use this function:
AMPEXTENSIONS=deviceanduser
Devices and Users will be administered seperately now.
Add a new default User:
User Extension: 1001
User Password:1234
Display Name: def_user // default user
Add a new dynamic User:
User Extension: 5001
User Password:1234
Display Name: dyn_user // dynamic user
Add a new Device:
Device ID : 30
Description : SEP0017596EXXX
Device Type Adhoc
Default User: 1001
Device Options
dial: sccp/30
The default number will be set in the sccp.conf with autologin 1001.
First:
calling the 1001 will not work, cause the dial option in the device. ( Executing Dial(“xxxxxxxxx”, “sccp/30||tr”) in new stack )
So, i need to dial “SCCP/”+Exension. Just for testing ich changed in " /var/lib/asterisk/agi-bin/dialparties.agi"
the function get_dial_string( $agi, $extnum ) to :$dialstring = sprintf(“sccp/%s”, $extnum);
Now i can call the default extension “1001” ( Executing Dial(“xxxxxxxxx”, “sccp/1001||tr”) in new stack ).
A call from the device to a second internal sccp device is working and the incomming user name is def_user. Thats is O.K.
Now i press “*11” and login with 5001#1234#.
- the line number on the phone is not changing.
But, a call from the device to a second internal sccp device is working and the incomming user name is dyn_user now. Thats is O.K.
Incomming calls only possible with extension 1001, cause the channel is still SCCP/1001.
(sccp/5001 is not found)
The channel should change after login from sccp/1001 to sccp/5001 , or ?
Did i miss something?
Kind of burning out?
Any suggestions? (except vacations)
thx