Gautam Desai
2010-Sep-05 22:20 UTC
[asterisk-users] Registering and initiating a SIP call without a SIP client
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100905/f5e2535b/attachment.htm
Thomas Perron
2010-Sep-05 22:33 UTC
[asterisk-users] Registering and initiating a SIP call without a SIP client
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 <gdesai_us at yahoo.com> 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 >
Stefan Schmidt
2010-Sep-05 22:37 UTC
[asterisk-users] Registering and initiating a SIP call without a SIP client
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
Bruce Ferrell
2010-Sep-05 22:43 UTC
[asterisk-users] Registering and initiating a SIP call without a SIP client
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 >