Log of real session:

[EMAIL PROTECTED] root]# telnet localhost 5038
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Asterisk Call Manager/1.0
action: login
username: joe
secret: bob

Response: Success
Message: Authentication accepted

action: originate
exten: 200
context: stations
channel: SIP/[EMAIL PROTECTED]

Event: Newchannel
Channel: SIP/Jeremy7960-376c
State: Down
Callerid: <unknown>
Uniqueid: 1066109610.410

Event: Newchannel
Channel: SIP/Jeremy7960-376c
State: Ringing
Callerid: <unknown>
Uniqueid: 1066109610.410

Event: Newstate
Channel: SIP/Jeremy7960-376c
State: Up
Callerid: <unknown>
Uniqueid: 1066109610.410

Response: Success
Message: Originate successfully queued


then extensions.conf might look like:


[stations]
exten => 200,1,Dial,IAX2/[EMAIL PROTECTED]/${EXTEN}
exten => 200,2, Hangup


Jeremy McNamara



WipeOut wrote:


Hi,

Currently I use "call files" to automate the generation of calls from our address book and the resulting call file looks like this..

Channel: SIP/201
WaitTime: 30
Application: Dial
Data: CAPI/4567:5556789
CallerID: Auto Dial <1000>

This method works but it not logging the calls to the CDR and there are a few other issues.. So I wanted to try and do the same thing using the manager interface in Asterisk.. The problem is that the docs are a little shy on details..

Does anyone know how I can turn my call file sample into the manager interface equivalent??

My guess is something like..

Action: Originate
Channel: SIP/201
Timeout: 30
??? (application line)
???(data line)
CallerID: Auto Dial <1000>

Thanks..



_______________________________________________
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