But something is wrong, because the asterisk give me a no-service message.
I think the problem can be that the card doesn't receive the last two numbers of the called number, but only the radix 011197111.
How can I configure it to get all the digits?
This is the log:
== Starting mISDN/1-u2 at from-pstn,011197111,1 failed so falling back to exten 's'
-- Executing [s@from-pstn] NoOp("mISDN/1-u2", "No DID or CID Match") in new stack
-- Executing [s@from-pstn] GotoIf("mISDN/1-u2", "0?ext-did|ZapN|1") in new stack
-- Executing [s@from-pstn] Wait("mISDN/1-u2", "2") in new stack
-- Executing [s@from-pstn] Playback("mISDN/1-u2", "ss-noservice") in new stack
-- Playing 'ss-noservice' (language 'it')
== Spawn extension (from-pstn, s, 4) exited non-zero on 'mISDN/1-u2'
hello,
please post your misdn.conf and extensions.conf, it cuts some digits, please check it: Starting mISDN/1-u2 at from-pstn,011197111,1 failed so falling back to exten 's'
make sure the logic is correct to route to right extensions or
add this command into your extensions:
exten => _011197111 .,1,WaitForDigits(6000,2,true,15)
hi,
please try it in this way:
[ext-did]
include => ext-did-custom
exten => fax,1,Goto(ext-fax,in_fax,1)
exten => _011197111 .,1,WaitForDigits(6000,2,true,15) // add this line for more digits
exten => _011197111XX,1,Set(__FROM_DID=${EXTEN})
exten => _011197111XX,n,Gosub(app-blacklist-check,s,1)
exten => _011197111XX,n,GotoIf($[ "${CALLERID(name)}" != "" ] ?cidok)
exten => _011197111XX,n,Set(CALLERID(name)=${CALLERID(num)})
exten => _011197111XX,n(cidok),Noop(CallerID is ${CALLERID(all)})
exten => _011197111XX,n,Goto(from-did-direct,452,1)
is '011197833' your fax number? maybe it go to there because of no exact match.
Regards!
James.zhu