Thanks! :)

On Thu, Dec 23, 2004 at 08:57:22AM -0600, Rich Adamson wrote:
> 
> As in many cases with *, there are usually multiple ways to accomplish
> a task. Here's a couple that you'll need to tailor to your environment.
> 
>  [in5100]
>  exten => s,1,Dial(SIP/sip1,20,tr)
> 
> The above assumes the pstn line is _not_ sending any digits to you. If
> it does, then replace "s" with whatever they are sending to you.
>
If the PSTN line is just an analog line connected to the TDM400P FXO
interface, is there any way it will be sending me digits?
 
> Or, if you don't want to maintain multiple instances of the Dial command,
> then do something like:
> 
>  [in5100]
>  exten => s,1,Goto(local-extns,sip1,1)
> 
> The above assumes your sip phone dialplan reside in the [local-extns]
> context, that sip1 is a valid extn number within that context, and "1" 
> is the first priority in that sip phone definition. 
>
so I would need something like:
[local-extns]
exten => sip1,1,Dial(SIP/sip1,,tr)

??
 
> When someone answers the sip phone, the zap pstn line will be answered.
> If no one answers the sip phone, the "20" second timer will expire and
> ordinarily it would jump to the next priority. So, you probably want to
> remove the timeout altogether from that exten definition and just let 
> it ring forever.
>
If I want to timeout to voicemail then what would the
line(s) in [local-extns] look like?

-Dorn
 
_______________________________________________
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

Reply via email to