Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-13 Thread Stefan Guenther
Hi, Armin wrote: How does your dialplan look like? If you have e.g. exten = _.,1, in the context for capi incoming calls, then asterisk (chan-capi) accept these calls even if not all numbers are dialed (transmitted) yet. we found the reason for our problem, but not yet the

Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-13 Thread Armin Schindler
On Thu, 13 Dec 2007, Stefan Guenther wrote: Hi, Armin wrote: How does your dialplan look like? If you have e.g. exten = _.,1, in the context for capi incoming calls, then asterisk (chan-capi) accept these calls even if not all numbers are dialed (transmitted) yet. we found the

Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-13 Thread Stefan Guenther
Hi, Armin wrote: Again, same question. How does your dialplan look like? If you have a rule _. (which means 4 digits OR MORE), then there is a match even if other digits follow. Make sure your dialplan will accept the call only if all digits are dialed. here is the relevant part:

Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-13 Thread Tzafrir Cohen
On Thu, Dec 13, 2007 at 10:26:59AM -0500, Steve Totaro wrote: Stefan Guenther wrote: exten = 940331,3,DIAL(CAPI/g2/${EXTEN:4},20,tr) How do your zap conf files look? chan_capi is used in this thread. -- Tzafrir Cohen icq#16849755 jabber:[EMAIL

Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-13 Thread Steve Totaro
Stefan Guenther wrote: Hi, Armin wrote: Again, same question. How does your dialplan look like? If you have a rule _. (which means 4 digits OR MORE), then there is a match even if other digits follow. Make sure your dialplan will accept the call only if all digits are dialed.

Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-13 Thread Steve Totaro
Tzafrir Cohen wrote: On Thu, Dec 13, 2007 at 10:26:59AM -0500, Steve Totaro wrote: Stefan Guenther wrote: exten = 940331,3,DIAL(CAPI/g2/${EXTEN:4},20,tr) How do your zap conf files look? chan_capi is used in this thread. I have never used

Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-13 Thread Armin Schindler
On Thu, 13 Dec 2007, Stefan Guenther wrote: Hi, Armin wrote: Again, same question. How does your dialplan look like? If you have a rule _. (which means 4 digits OR MORE), then there is a match even if other digits follow. Make sure your dialplan will accept the call only if all digits

Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-13 Thread Armin Schindler
On Thu, 13 Dec 2007, Stefan Guenther wrote: Hi, Armin wrote: That looks corrct so far, numbers with just 94033 should not be accepted, because of no match. I then added a context to match those, too. Otherwise I would loose these calls. What type of ISDN line do you have? 4 BRI

Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-13 Thread Armin Schindler
On Thu, 13 Dec 2007, Steve Totaro wrote: Tzafrir Cohen wrote: On Thu, Dec 13, 2007 at 10:26:59AM -0500, Steve Totaro wrote: Stefan Guenther wrote: exten = 940331,3,DIAL(CAPI/g2/${EXTEN:4},20,tr) How do your zap conf files look? chan_capi is used in this thread. I have

Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-13 Thread Stefan Guenther
Hi, Armin wrote: That looks corrct so far, numbers with just 94033 should not be accepted, because of no match. I then added a context to match those, too. Otherwise I would loose these calls. What type of ISDN line do you have? 4 BRI (Anlagenanschluß) connected to an EICON 4 BRI8M And

Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-13 Thread Stefan Guenther
Hi, Armin wrote: Okay, but then the setting in capi.conf isdnmode=MSN is wrong. For 'Anlagenanschluss' you need isdnmode=did Okay , I changed that. These options are no general options, these are for the port sections only: immediate=yes The example capi.conf says about this

Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-13 Thread Armin Schindler
On Thu, 13 Dec 2007, Stefan Guenther wrote: Hi, Armin wrote: Okay, but then the setting in capi.conf isdnmode=MSN is wrong. For 'Anlagenanschluss' you need isdnmode=did Okay , I changed that. These options are no general options, these are for the port sections only:

Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-07 Thread Stefan Guenther
Hi, Does this number (you are dialing) has been ported from a different Telco? When you dial from the other city and you get service not available you may be dialing from a different Telco that either has no route aggreement for the dialed network, or the number portability database

Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-07 Thread Armin Schindler
On Fri, 7 Dec 2007, Stefan Guenther wrote: Hi, Does this number (you are dialing) has been ported from a different Telco? When you dial from the other city and you get service not available you may be dialing from a different Telco that either has no route aggreement for the dialed

Re: [asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-05 Thread Marco Mouta
Does this number (you are dialing) has been ported from a different Telco? When you dial from the other city and you get service not available you may be dialing from a different Telco that either has no route aggreement for the dialed network, or the number portability database (of Out of city

[asterisk-users] Strange ISDN-problem with incoming calls out of the same city

2007-12-05 Thread Stefan Guenther
Hi, after I fixed my problem with the playback() application, I now have the next strange one. When I dial the number of our client, located in another town, I get a connection to the asterisk server, I can talk to my client or listen to his mailbox. If some in the town of this client calls