Issues with initial setup

Installation, configuration and support topics for Asterisk Desktop Assistant (ADA)

Issues with initial setup

Postby kactus » Mon Sep 21, 2009 1:29 am

Hi everyone

Been working at getting ADA working with asterisk 1.6 and freepbx 2.5 and have hit a number of hurdles. I'll post the things I had to do to make things work below as a few things are not in the documentation and I have it MOSTLY working.

The one remaining issue I have is that if I am on a call on my phone, and I idly use ADA to make a call, my phone returns busy then sends the call to voicemail & rings the destination. The end result is that the other party either gets the end of a leave your message call or just silence as asterisk waits for a message. Normally this wouldn't be an issue but I have had several phones hang sip channels so that they can make calls but the pbx sees the phone as busy.

How do I stop asterisk from finishing the call if the phone is busy?

changes made (needs to be done for all extensions):
manager_custom.conf

[XXX]
secret = PASSWORD
deny=0.0.0.0/0.0.0.0
permit=A.B.C.0/255.255.255.0
read = system,call,log,verbose,command,agent,user,all
write = system,call,log,verbose,command,agent,user,all

(please note the requirement of "all" or originate for asterisk 1.6 and XXX is your extension, PASSWORD is your password and A.B.C is your ip range)

create users.conf
[XXX]
fullname = FULLNAMEHERE
hasvoicemail = yes
secret = PASSWORD
vmsecret = 1234
hassip = yes
hasmanager = yes

extensions_custom.conf (this is the bit that needs work)
[ada]
;exten => 200,1,Dial(Local/200@from-internal,,i,)
;exten => 200,2,Hangup()
include => from-internal

reload asterisk and you should be able to connect with the client with extension@ipOfServer and your password with no problems.

as you can see I've tried a couple of things (the other 50 aren't shown :P ) to make this work but to no avail.

any help would be great as this is pretty much the final hurdle to having a nice elegant solution for click2dial in asterisk ... well this and a tapi driver compiled for 64bit (come on guys the siptapi team have done it ;) )

[Edit fix glaring spelling mistakes]

All the best.
Kactus
kactus
Newsterisk
 
Posts: 2
Joined: Mon Sep 21, 2009 1:09 am

Hackish workaround

Postby kactus » Mon Sep 21, 2009 6:53 pm

Hi Guys I ended up just extending out the dial plan from freepbx and modifying it to manually include all the additional parts that are needed and then modifying the exten-vm line to

exten => 200,1,Macro(exten-vm,novm,200)

Works a treat now. I'll probably end up rewriting this with pattern matches so there is less maint required. I haven't posted the full dial plan however as it both lists copyright and released under GPL in the header and it should be easy enough for people to do them selves.

One thing of note, When at one point I had

[ada]
exten => 200,1,Dial(Local/200@from-internal,,i,)
exten => 200,2,Hangup()
include => from-internal

which is redundant I know, but that used to close the ada dialler every time. Not quite sure what is going on there but I doubt a bad dialplan should log off the user ;)

All the best
Kactus
kactus
Newsterisk
 
Posts: 2
Joined: Mon Sep 21, 2009 1:09 am


Return to Asterisk Desktop Assistant (ADA) Support

Who is online

Users browsing this forum: No registered users and 1 guest