RE: [Asterisk-Users] Manager "Message: Originate failed" beinggenerated when callee does not pick up

2005-02-28 Thread Thomas Miller
Thanks for your help. From what you said it looks like
I should not use Originate, but there is no
alternative to the "Originate" action  if I just want
to make an outgoing call is there?

This is what my code is sending to the Manager API:

clientSocket.Send(Encoding.ASCII.GetBytes("Action:
Originate\r\nChannel: " + asteriskVoipChannel + "/" +
PhoneNumber +  "\r\nContext: justring\r\nCallerID: " +
callerId + "\r\nExtension: justring\r\nPriority:
1\r\n\r\nAction: Logoff\r\nActionId: 1\r\n\r\n")); 

Here is the extension:

[justring]
exten =>
_1XX,1,DIAL(IAX2/[EMAIL PROTECTED]/${EXTEN},10,S(0))
exten => _1XX,2,Hangup
exten => s,1,Hangup

How do I use the Manager API to place an outgoing call
and reliably get a status code indicating the the call
was placed successfully?



--- Bill Seddon <[EMAIL PROTECTED]> wrote:

> < phone is ringing on the other end of the line.>>
>  
> Originate will ring your own extension first and
> when you pick up, call the other number.  If you
> don't pick up your extension, you will receive the
> message you see.
>  
> Bill Seddon




__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Manager "Message: Originate failed" beinggenerated when callee does not pick up

2005-02-28 Thread Bill Seddon




<>
 
Originate will ring your own 
extension first and when you pick up, call the other number.  If you don't 
pick up your extension, you will receive the message you see.
 
Bill Seddon


From: [EMAIL PROTECTED] on 
behalf of Thomas MillerSent: Mon 28/02/2005 17:33To: 
asterisk-users@lists.digium.comSubject: [Asterisk-Users] Manager 
"Message: Originate failed" beinggenerated when callee does not pick 
up

I am using the Manager to originate calls. I am getting "Message: 
Originate failed" even the phone is ringing on the other end of the line.
 
How can I reliably know if the phone on the other end of the line is 
receiving the call?
 
Thanks, Tom


Do you Yahoo!?Yahoo! Mail - 250MB free storage. Do 
more. Manage less.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users