Koozali.org: home of the SME Server

Sail and DID-Trunklines

Offline kb-ohnemus

  • *****
  • 154
  • +0/-0
    • http://www.kb-ohnemus.de
Sail and DID-Trunklines
« on: July 31, 2007, 05:27:15 PM »
Hi,

I'm running sail quite successfully, thanks Selintra, but I noticed one strange problem. I have a point-to-point-line from deutsche telekom with the number 961238-0. I can use the DID-numbers 0...9 without any problems and everybody can dial them and call me. But I need more numbers so I've defined 11, 12 and so on. They also work when dialing in, but only for people who use either ISDN or mobile phones. People with old analog lines get to 1 when dialing 11 or 12. When 1 is not defined in sail but only 11 they get an error. So when dialing in from analog phones the last number misses.

I didn't ask deutsche telekom yet because their hotlines are always busy...Maybe I am not allowed to use longer numbers?

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Sail and DID-Trunklines
« Reply #1 on: July 31, 2007, 06:53:10 PM »
Hi KB

If you run the asterisk console with -vvvv....

Code: [Select]
asterisk -rvvvv

You can watch your calls arriving.  The console will report the DNID (Dialled number) if there is one present so you can see what is coming off the ISDN circuit.   I can't speak for Germany, but in the UK, BT DiDs are usually 6 digits.  I believe that you can have fewer (e.g. 4 digits) but I don't think you can have more than 6.

This does rather sound like a Telco issue rather than a SAIL issue.  SAIL has no limit on the DiD digit size and actually doesn't "know" where the DNID came from (SIP, ISDN, Analog) it simply matches it and switches it according to the rules you've set.

Hope this helps

S

Offline kb-ohnemus

  • *****
  • 154
  • +0/-0
    • http://www.kb-ohnemus.de
Re: Sail and DID-Trunklines
« Reply #2 on: May 18, 2009, 03:46:24 PM »
Hi selintra, it took me two years to figure out this problem, so for your information:

There are phones that wait until the last digit is pressed and then dial the number as a block. And there are older phones where you lift the receiver and dial one digit after the other. I experienced this problem when beeing called by the second kind of phones. Asterisk then answers immidiatly after the first digit.

The solution is to put overlapdial = yes in zapata.conf

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Sail and DID-Trunklines
« Reply #3 on: May 18, 2009, 07:53:36 PM »
Thank you for this.  I never did fully understand what overlap dial did.


Kind Regards, and well done.

S