Hello,

just use the manager conduit:

Telnet to asterisk server ip_address to port 5038 (as long as you have a
login set up in manager.conf)
and send the following(what is between the  dash lines):
-----------------------------------
Action: Login
Username: user
Secret: pass

Action: Originate
Channel: SIP/123testphone
Context: default
Exten: 7275551212
Priority: 1
Callerid: PHP_groupware_call

Action: Logoff

-----------------------------------

Works every time and it get's logged in the system too.

MATT---

-----Original Message-----
From: Ludovic Drolez [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 3:02 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] Outgoing calls for a fancy address book app


Hi !

I'd like to connect phpgroupware to asterisk: when a user click on a phone
number, his phone rings and he gets connected to the number he just clicked.

I've tried by putting various files in /var/spool/asterisk/outgoing, without
results (we are using SIP phones + CAPI channels).

Is there a way to do that ?
(If it's impossible (something impossible in *, LOL ?!?) I will
create an extension which the phpgroupware user should call, then it would
DBGet
the number my app has DBPut when the user clicked on the number, and call
it.)

Cheers,

-- 
Ludovic Drolez.

http://www.palmopensource.com       - The PalmOS Open Source Portal
http://www.drolez.com      - Personal site - Linux and PalmOS stuff

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to