• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone

The forum for asterisk and voip discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TDM400P: Can't make or receive PSTN calls

 
Post new topic   Reply to topic     Forum Index -> Hardware questions
View previous topic :: View next topic  
Author Message
reloded



Joined: 02 Mar 2007
Posts: 11
Location: Nairobi

PostPosted: Fri Aug 03, 2007 7:37 am    Post subject: TDM400P: Can't make or receive PSTN calls Reply with quote

Hi people.
I have been having problems with my TDM400P. I cannot make (initiate) or receive calls via PSTN. Have a look at the following:

Quote:
Starting simple switch on 'Zap/2-1'
Executing Wait("Zap/2-1", "") in new stack
Executing Dial("Zap/2-1", "iax2/502") in new stack
Called 502
Call accepted by 192.168.56.150 (format gsm)
Format for call is gsm
IAX2/502-1 is ringing
IAX2/502-1 answered Zap/2-1
Hungup 'IAX2/502-1'
== Spawn extension (incoming, s, 2) exited non-zero on 'Zap/2-1'
-- Hungup 'Zap/2-1'



I call the PSTN using my mobile phone. The PSTN is picked up by zap/2; It dials IAX extension. ; I pick up the IAX extension ;
On IdeFisk, I can see call progress i.e. In terms of time. However, the phone I called with -my mobile phone-, is still ringing. To the mobile phone, the call has not been answered.
-I hang up my mobile phone -Nothing happens on Asterisk ;According to Idefisk, the call is still in progress!
-Finally, I hang up Idefisk and thus (Hungup 'IAX2/502-1')

When making outgoing calls, zap/2 (the trunk line) connects but I cannot hear any ringing. The phone am calling also doesn't ring.

I talked to someone at Digium support and we reached a point where they suggested I add my country's tone settings to zonedata.c using the ITU2003 guidelines.

I followed guidelines from ITU2003:
Quote:

Kenya (Republic of)
Busy tone - 425 0.2 on 0.6 off 0.2 on 0.6 off
Congestion tone - 425 0.2 on 0.6 off
Dial tone - 425 continuous
Pay tone - I 941 0.2 on 0.2 off
Pay tone - II 800/1600 0.08 on 0.08 off
Payphone recognition tone - 1633 0.08 on 1.5 off
Ringing tone - 425 0.67 on 3.0 off 1.5 on 5.0 off
Special information tone - 900/1400/1800 3x0.75 on 1.25 off
Warning tone - operator intervening 425 0.2 on 0.2 off
Call waiting tone - 425 continuous


And then added a tone zone as below
Code:
 { 26, "ke", "Kenya", { 1000, 5000 },
          {
                  { ZT_TONE_DIALTONE, "425" },
                  { ZT_TONE_BUSY, "425/500,0/500" },
                  { ZT_TONE_RINGTONE, "425/1000,0/5000" },
                  { ZT_TONE_CONGESTION, "425/200,0/200" },
                  { ZT_TONE_CALLWAIT, "425/200,425/200,425/200,0/5000" },
                  /* DIALRECALL - not specified */
                  { ZT_TONE_DIALRECALL, "425/1000,0/200" },
                  /* RECORDTONE - not specified */
                  { ZT_TONE_RECORDTONE, "1400/500,0/15000" },
                  { ZT_TONE_INFO, "900/330,1400/330,1800/330,0/1000" },
                  /* STUTTER not specified */
                  { ZT_TONE_STUTTER, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
          },
        },


I then added "loadzone = ke" on /etc/zaptel.conf. When I run ztcfg -vvv I get:
Quote:
"Unable to Register Tone Zone 'ke'.


My setup is::
TDM400P -1 FXS & 1 FXO
Asterisk 1.2.23
Zaptel 1.2.19
Libpri 1.2.5
Ubuntu 6.06

Please help me in coming up with the correct settings of tone settings for Kenya using the above ITU2003 guidelines. Thought Digium support would help but they apparently its beyond their scope!
If you think its not even the cause of my problems i.e zaptel not making or receiving PSTN calls, please let me know. Its been >4 months. Am at my end game. Sad


Thanks.
Back to top
View user's profile Send private message
conrad



Joined: 13 Sep 2007
Posts: 2
Location: Philippines

PostPosted: Thu Sep 13, 2007 6:32 am    Post subject: Forgotten Hardware ISSUE Reply with quote

Hello! Reloaded

I have same problem , installed and configured all the necessary stuff but never solve the issue . I research all the way, Hmmm!!! Seems like Asterisk and Digium didn't expected these would happen , I review every thread and find no answer , others are even posted last year . Hope you Guys from Asterisk will HELP !!! Wink , Thanks in ADVANCE
_________________
Everything should be as simple as possible but not simpler , Im just a simple man.
Back to top
View user's profile Send private message Yahoo Messenger
akechi



Joined: 12 Jun 2008
Posts: 1

PostPosted: Thu Jun 12, 2008 6:48 pm    Post subject: Reply with quote

hi guys ,

i get the same problem !

I type ztcfg -vvv ... and it's response OK

My Analog phone connect to Zap/1 and I can here tone pulse when push 101.But my SIP friend 101 have no ringing ....

I also can not make call to outbound through PSTN Zap/2

is it necessary to install Asterisk -sounds ???? or some Codec .. ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Hardware questions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™