LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 11-22-2009, 08:14 AM   #1
depam
Member
 
Registered: Sep 2005
Posts: 776

Rep: Reputation: 30
one way audio in asterisk...provider issue?


Hi,

I have signed up for pfingo which offers a VOIP trunk which enables me to receive and place calls in one region. My first setup was fine I can make make and receive calls perfectly. But after some time, I can no longer place any call. I can place call and it will ring on the other end and I can hear the other end's voice from a IP phone. However, he (from PSTN) cannot hear anything I say.

I thought this was a NAT/RTP issue so I did some tests. However, when the party called my DID(incoming) I am able to speak to him just fine without any issue. Is it possible that the Provider itself is blocking the conversation making it appear like a one way voice problem? Here are the test scenarios:

1.) IP Phone to PSTN --> Voice can be heard on the IP Phone but the PSTN guy cannot hear anything
2.) PSTN --> IP Phone --> The same.Voice can be heard on the IP Phone but PSTN cannot hear anything
3.) Incoming directly from DID number --> Voice can be heard both ways

Am I missing something here? Here is my sip.conf:

;!
;! Automatically generated configuration file
;! Filename: sip.conf (/etc/asterisk/sip.conf)
;! Generator: Manager
;! Creation Date: Tue Nov 17 10:18:42 2009
;!

[general]
context = default
allowoverlap = no
bindport = 5060
bindaddr = 0.0.0.0
srvlookup = yes
useragent = IP0x
allowexternaldomains = yes
allowguest = yes
allowsubscribe = yes
allowtransfer = yes
alwaysauthreject = no
autodomain = no
callevents = no
canreinvite = yes
checkmwi = 10
compactheaders = no
defaultexpiry = 120
domain =
dtmfmode =
dumphistory = no
externhost = xxx.dyndns.org
externip = xxx.dyndns.org
externrefresh = 10
fromdomain =
g726nonstandard = no
jbenable = no
jbforce = no
jbimpl =
jblog = no
jbmaxsize =
jbresyncthreshold =
language =
localnet = x.x.x.x/x.x.x.x
maxcallbitrate = 384
maxexpiry = 3600
minexpiry = 60
mohinterpret = default
mohsuggest =
nat = yes
notifyringing = yes
pedantic = no
progressinband = never
promiscredir = no
realm = asterisk
recordhistory = no
registerattempts = 0
registertimeout = 20
relaxdtmf = no
rtpholdtimeout =
rtptimeout =
sendrpid = no
sipdebug = no
subscribecontext =
t1min = 100
t38pt_udptl = no
tos_audio = none
tos_sip = none
tos_video = none
trustrpid = no
usereqphone = no
disallow = all
allow = undefined,ulaw,alaw,gsm,speex,g726,g729
 
Old 11-24-2009, 01:24 AM   #2
andycol
Member
 
Registered: Jul 2009
Location: South Africa
Posts: 36

Rep: Reputation: 16
This is because there is a bug in asterisk to fix it do the following
in /etc/asterisk/extensions.conf
under external context put

exten => s,1,Playback(silence/1)

that should resolve it, if it doesnt let me know.
 
Old 11-27-2009, 09:22 AM   #3
depam
Member
 
Registered: Sep 2005
Posts: 776

Original Poster
Rep: Reputation: 30
Hi,

I was able to resolve the problem by restarting my NAT router. Thanks a lot for the advice. Though my problem is now is I cannot get my incoming DID to route to IVR. But when in Ring all seems to work fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
voice recording program needed for Asterisk audio file Agustina Linux - Software 2 07-16-2009 11:02 PM
LXer: Installing The Asterisk PBX And The Asterisk Web-Based Provisioning GUI On Linu LXer Syndicated Linux News 0 09-25-2007 02:50 PM
Asterisk and CD-ROM issue with 10.2? Dox Systems - Brian Suse/Novell 1 03-15-2007 07:49 AM
LXer: VoIPowering Your Office with Asterisk: Shiny New Asterisk 1.4 LXer Syndicated Linux News 0 11-03-2006 06:54 AM


All times are GMT -5. The time now is 03:36 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration