Re: [asterisk-users] Registering and initiating a SIP call without a SIP client

2010-09-05 Thread Bruce Ferrell
It can be done either using a call file and a clever dial plan or via
the manager interface, again with a clever dialplan


On 09/05/2010 03:20 PM, Gautam Desai wrote:
> Can I generate SIP registration and call from Asterisk without a SIP
> client? I need to initiate a call from asterisk and play a recorded
> message.
>
> Gautam
>


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Registering and initiating a SIP call without a SIP client

2010-09-05 Thread Stefan Schmidt
Am 06.09.2010 00:20, schrieb Gautam Desai:
> Can I generate SIP registration and call from Asterisk without a SIP  client? 
> I 
> need to initiate a call from asterisk and play a recorded message. 
> 
> 
> Gautam 
> 
> 
>   
> 
hello,

have a look at the sip.conf.sample file how to register asterisk as a
sip client and also at callfiles or the cli command originate.

best regards

steve

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Registering and initiating a SIP call without a SIP client

2010-09-05 Thread Thomas Perron
Yes.  Send your code.  Consider using call files.
Here is a part of what works for me.

[-system]
exten => s,1,Answer
exten => s,n,Wait(2)
exten => s,n,Playback(pa-welcome) please record your broadcast
after the beep
;exten => s,n,Playback(beep)
exten => s,n,Wait(1)
exten => s,n,Record(/var/lib/asterisk/sounds/en/record713.gsm)
;exten => s,n,Record(LINDA_RISTIG_linda005) ; record this:  this
welcome to dial a restaurant  ???
;exten => s,n,Wait(1)
exten => s,n,Background(pa-confirm) ; press 1 to  send or zero to hangup
exten => s,n,WaitExten(10)
;exten => s,n,Hangup()
exten => 1,1,System(cp /etc/asterisk/pizza/*.call /tmp/)
exten => 1,n,System(mv /tmp/*.call /var/spool/asterisk/outgoing/)
exten => 0,1, Hangup()
;;
;;
[pizza]
exten => 13,1,Answer()
exten => 13,n,Wait(1)
exten => 13,n,Playback(record713)
;exten => 13,n,Playback(LINDA_RISTIG_IVR)
;exten => 13,n,Playback(calleveryone)
;exten => 13,n,WaitExten(5)
exten => 13,n,Goto(13,1)




On Sun, Sep 5, 2010 at 6:20 PM, Gautam Desai  wrote:
> Can I generate SIP registration and call from Asterisk without a SIP client?
> I need to initiate a call from asterisk and play a recorded message.
>
> Gautam
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Registering and initiating a SIP call without a SIP client

2010-09-05 Thread Gautam Desai
Can I generate SIP registration and call from Asterisk without a SIP  client? I 
need to initiate a call from asterisk and play a recorded message. 


Gautam 


  -- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users