[asterisk-users] Stupid Question #1 - Testing the "s" exten from a SIP Phone
Baji Panchumarti
baji.panchumarti at gmail.com
Mon Oct 15 20:38:04 CDT 2007
On 10/15/07, Mojo wrote:
> Alan Lord wrote:
> > Can I do this?
> >
> > I have a x100p card on my PSTN line and I have an incoming context for
> > these calls which uses the "s" extension. I'm wanting to set up a simple
> > IVR and would like to be able to test the dialplan as I go. But having
> > to dial-in on my PSTN line each time is going to cost me money. Can I
> > connect to my zap_incoming context from my locally connected SIP phone?
> >
> > I'm sure this is possible but it's late and I'm a bit brain dead.
> >
> > Cheers
> >
> >
> Something like this should work:
>
> [locally_connected_sip_phone_context]
> exten => 123,1,Goto(zap_incoming,s,1)
yep !
I use an ITSP, sip softphone on the lan and
iax softphone outside the lan, all run the
same script/app by jumping to a common
context.
You can use :
#include "/full-path/script-name"
in extensions.conf to add more contexts.
-baji.
--
More information about the asterisk-users
mailing list