The cheat is to include => from-internal in [from-pstn] but it looks
like you might get a loop....maybe your contexts are crossed over?
PaulH
Mark Best wrote:>
> This is possibly something easy but I just can?t figure it out. I?m
> setting up a pass-through to a legacy PBX.
>
> When dialing through from my cellphone (or any phone); I?m always
> getting the wrong context. All calls state ?from-pstn? but the
> extension I?m looking for is in the ?from-internal? context.
>
> -----------------
>
> ?Unknown extension '5551234' in context 'from-pstn'
requested.?
>
> -----------------
>
> ;Sangoma A104 port 1 [slot:7 bus:1 span:1] <wanpipe1>
>
> context=from-pstn
>
> group=1
>
> signalling=em_w
>
> channel => 1-24
>
> ;Sangoma A104 port 3 [slot:7 bus:1 span:3] <wanpipe3>
>
> context=from-internal
>
> group=2
>
> signalling=em_w
>
> channel => 49-72
>
> -----------------
>
> [from-pstn-custom]
>
> exten => _.,1,Dial(ZAP/g1/${EXTEN})
>
> [from-internal-custom]
>
> exten => _.,1,Dial(ZAP/g2/${EXTEN})
>
> exten => _5551234,1,Dial(ZAP/g2/${EXTEN})
>
> -----------------
>
> What am I missing?
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users