I'm not sure I understand "in that extension". I included everything in
the "fpl_in" context; almost. I just noticed a typo in my email.
This line works (replaces line with Dial() in original email):
exten => _1226289XXXX,1,Dial(SIP/1519702x...@fpl,60,)
All three of these (tried one at a time) fail with same error:
exten => _1226289XXXX,n,Dial(SIP/1519702x...@fpl,60,)
exten => _1226289XXXX/_1519455.,1,Dial(SIP/1519702x...@fpl,60,)
exten => _1226289XXXX/_1519455.,n,Dial(SIP/1519702x...@fpl,60,)
I forgot to mention Asterisk 1.6.0.19; if that has an impact.
Jim Van Meggelen wrote:
Do you have a priority '1' anywhere in that extension?
On 1/16/2010 10:18 AM, Frank Bax wrote:
[fpl_in]
exten => _12891234567/_800.,1,Hangup
exten => _12891234567/_866.,1,Hangup
exten => _12891234567/_877.,1,Hangup
exten => _12891234567/_888.,1,Hangup
exten => _12891234567/_1800.,1,Hangup
exten => _12891234567/_1866.,1,Hangup
exten => _12891234567/_1877.,1,Hangup
exten => _12891234567/_1888.,1,Hangup
exten => _12891234567,1,Dial(SIP/2001&SIP/2002&SIP/2003&SIP/2004,${RT})
exten => _12891234567,n,Goto(in_fpl-${DIALSTATUS},1)
exten => _12891234567,n,Hangup
exten => _in_fpl-.,1,Hangup(16)
I could find no reference to '/' in first parm to exten in TFoT. I did
some reading and found that callerid comes after '/'. I deduced from
this (perhaps incorrectly) that the 800/866/877/888 entries block
incoming calls from tollfree numbers.
I figured out the Dial() example appears to be some kind of
call-forward function. I changed it to Dial(SIP/19999999...@fpl,60,)
and sure enough; I can call anywhere in Canada using fpl as long as I
change 9999999999 to the number I want to reach before I actually dial
my own fpl number. It works, but I'd some more flexibility.
As early as last summer I was thinking about a setup that looks the
same thing that Apa Minerala mentioned in mid-December when he gave a
link to canadafreecalls.com
OK, finally to the point; responses can freely cut everything before
this.
My goal is to allow selected callers enter a PIN number (PIN depends
on callerid) and they can dial any Canadian telephone number using fpl.
From previously mentioned examples, I have ('XXXX' are really numbers):
exten => _1226289XXXX,n,Dial(SIP/1519702x...@fpl,60,)
which forwards calls to 1519870XXXX when I dial 226289XXXX. As a
first step towards my goal; my first attempt was to change this to:
exten => _1226289XXXX/_1519455.,n,Dial(SIP/1519702x...@fpl,60,)
Using _1519455. or _519455. produces same results. When I dial
226289XXXX from 519455XXXX, I get:
[Jan 16 09:45:13] NOTICE[15707]: chan_sip.c:17962
handle_request_invite: Call from '1226289XXXX' to extension
'1226289XXXX' rejected because extension not found.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]