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

Thomas Perron thomas.perron at gmail.com
Sun Sep 5 17:33:41 CDT 2010


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
>



More information about the asterisk-users mailing list