I have a quick question - Unfortunately i’m very new to Asterisk! I’m using a Asterisk call manager and Grandstream phones. I’ve recently been asked to look at setting up softphones for staff members to work at home. The softphone and the hard phone work fine when testing using my extension number, however I do have a small problem. Basically when i log into my extension using x-lite softphone, my hardphone doesn’t work. In order to get the hardphone to re-register I have to manually reboot it to get it going. Is there any way that I can set it up in asterisk or on the phone to stop this? Basically i just want to have essentially two phones (1 hard 1 soft) connected to the same extension number. And if any calls come in to ring on both at the same time.
Yes you do.
Then you could call as David wrote to you.
If you register 2 devices with same numbers - how Asterisk will know what to do? And as consequence Asterisk send ring etc to device which is last registered.
Meaning - last registration invalidates all other registrations.
I’ve made the entry in sip.conf, however can’t find "exten -> 123,n,Dial(sip/123) " in extensions.conf at-all - The closest thing like that i can see is in something called [BLF_Group_1] that says exten => 123,hint,SIP/100
Sorry to be a pain. Just started a new job and inherited this asterisk box to look after and don’t understand half of it! I know bits and bobs and am picking up some things. But getting these softphones to work is becoming a nightmare! hahah
Register softphone as 123, and device as 124 - you must have 123 and 124 in sip.conf
Make extension 500
exten => 500,1,Answer
exten => 500,2,playback(/var/lib/asterisk/sounds/visit-asterisk-website)
exten => 500,3,Hangup
You must have file /var/lib/asterisk/sounds/visit-asterisk-website.wav or /var/lib/asterisk/sounds/visit-asterisk-website.gsm. If you havent - install sound files.
Reload dialplan
Dial from softphone 500
Dial from grandstream 500
Make extension 123
exten => 123,1,dial(sip/123&sip/124)
Reload dialplan
Dial from some other phone which is registered to system 123
You have to put it in default context.
And if there is something wrong - you have to find correct context.
By the way - you can read “Asterisk the Future of Telephony” - it is as pdf - free of charge. Just google it.