Hello, I have a problem concerning outgoingcalls on my Asterisk box, with a E1 Digium card. I manage to receive call on the E1 with no problem and can transfer to internal ip phones. But the problem happens when calling from the internal to outside. Here are my config files : zaptel.conf : span=1,1,0,ccs,hdb3 bchan=1-15,17-31 dchan=16 loadzone = fr defaultzone = fr zapata.conf : [channels] language=fr context= default switchtype = euroisdn pridialplan = national usecallerid=yes hidecallerid = no immediate = no signalling = pri_cpe echocancel = yes callerid = asreceived echotraining = yes channel => 1-15,17-31 and extensions. conf : [default] include => outgoing exten => 22,1,Dial(SIP/nico,20) exten => 23,1,Dial(SIP/max,20) [outgoing] exten => _0389XXXXXX,1,Dial(ZAP/1/${EXTEN}) The company has more than one numbers (french operators ) : 038936xx and 03698888xx The 0369 is assigned to the E1 , the 0389 is assigned to classical ISDN lines not running with asterisk My problem is when i Dial 03893296.. from a ip phone i get an unavailable signal (you know the tone that explodes you the ears :) ) Another time composing the 0389 number I was in relmation with an english person ( tried many times sorry for her) or , it should be ringing in my company not with an english person :) Does my asterisk box place an international call without I know it ? Has anyone got that kind of problem with French operators ? Any advice would be welcomed . Thanks in advance. Nicolas __________________________________________________________________ D?couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Cr?ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
On Tue, 5 Apr 2005, cereal killer wrote:> I have a problem concerning outgoingcalls on my > Asterisk box, with a E1 Digium card. I manage to > receive call on the E1 with no problem and can > transfer to internal ip phones. But the problem > happens when calling from the internal to outside. > Here are my config files :[snip]> pridialplan = national[snip]> The 0369 is assigned to the E1 , the 0389 is assigned > to classical ISDN lines not running with asterisk > My problem is when i Dial 03893296.. from a ip phone i > get an unavailable signal (you know the tone that > explodes you the ears :) ) > Another time composing the 0389 number I was in > relmation with an english person ( tried many times > sorry for her) or , it should be ringing in my company > not with an english person :) Does my asterisk box > place an international call without I know it ?In Europe you should almost always specify pridialplan=unknown if you use escape digits ("0"). You are claiming that the number you dial is in the national format which is defined as a fully formed (including area code) number without any escape digits in front. Since you start with an esacpe digit almost anything can happen. In your case the telecom operator may have interpeted your number as +38 xxxxx. Peter
Thank you Peter, it works perfectly now.> I have a problem concerning outgoingcalls on my > Asterisk box, with a E1 Digium card. I manage to > receive call on the E1 with no problem and can > transfer to internal ip phones. But the problem > happens when calling from the internal to outside. > Here are my config files :> [snip]> pridialplan = national> [snip]> The 0369 is assigned to the E1 , the 0389 isassigned> to classical ISDN lines not running with asterisk > My problem is when i Dial 03893296.. from a ip phonei> get an unavailable signal (you know the tone that > explodes you the ears :) ) > Another time composing the 0389 number I was in > relmation with an english person ( tried many times > sorry for her) or , it should be ringing in mycompany> not with an english person :) Does my asterisk box > place an international call without I know it ?> In Europe you should almost always specify >pridialplan=unknown if you use> escape digits ("0"). You are claiming that thenumber > you dial is in the> national format which is defined as a fully formed > > (including area code) > number without any escape digits in front. Since you > start with an esacpe > digit almost anything can happen. In your case the > > telecom operator may > have interpeted your number as +38 xxxxx.> Peter__________________________________________________________________ D?couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Cr?ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/