I'm quite successfully running chan-misdn_0.3.1-rc23 on an Austrian P2P
line. Recently I introduced a new waitfordigits context similar to the
wiki page http://www.voip-info.org/wiki/view/Asterisk+DID+mISDN
I've turned on "immediate=yes" in misdn.conf and misdn is configured to
jump into the "default" context. Previously I had immediate=no but when
somebody dialled the base-number without DID (Durchwahl) the caller
would get busy and Asterisk would never see the call.

A note to understand the extensions.conf sample: In Austria we're
getting only the DID (Durchwahl) on a P2P line, we are *not* getting the
base number (Kopfnummer) part of the number, *only* the digits dialled
after that.

My extensions.conf snippet:
[waitfordigits]
exten => s,1,Noop(s)
exten => s,2,SetAccount(wfd)
exten => s,3,Waitfordigits(4000,2,true,15)
exten => s,4,Goto(extern,${EXTEN},1)

[default]
include => waitfordigits
include => extern

Now some questions:
- When in the waitfordigits context I'm getting the following verbose 3
  output:
        -- Executing waitfordigits("mISDN/1-2", "4000|2|true|15") in new stack
    You passed timeout:4000 maxnum:2 addexten:0 control:15
    Not Overwriting extension:s with new Number: s
    Sending CONTROL: 15  to Channel s
  
  Hu? I passed "true" as 3rd parameter and it tells me addexten is off?

- Should I expect that I get "half" dialled extension, e.g. that I
  receive a DID of "1" and the second half of the DID as an overlap
  dialled digit, so that I should add some more to the waitfordigits
  context like
    exten => _X.,1,Noop(s)
    exten => _X.,2,SetAccount(wfd)
    exten => _X.,3,Waitfordigits(4000,1,true,15)
    exten => _X.,4,Goto(extern,${EXTEN},1)
  (That example probably wouldn't work, I'd need to save the previous
  extension here but servers to illustrate the point, that half of the
  extension comes with the call setup and the other half as overlap --
  can I instruct waitfordigits to *append* to the existing ${EXTEN}?)

- Wouldn't the better way to handle overlap dialling be to do it in the
  channel driver directly without resorting to waitfordigits? Maybe with
  a configurable timeout in misdn.conf?

Ralf
-- 
Ralf Schlatterbeck
email: [EMAIL PROTECTED] FAX: +43/2243/26465/23

_______________________________________________
Misdn-asterisk mailing list
[email protected]
http://lists.beronet.com/cgi-bin/mailman/listinfo/misdn-asterisk

Reply via email to