Go Back   Velocity Reviews > Newsgroups > VOIP
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VOIP - SIP softphone - no audio

 
Thread Tools Search this Thread
Old 06-30-2003, 03:17 AM   #1
Default SIP softphone - no audio


I'm trying out SIP softphones, X-Lite and SJPhone, and both does not have
any audio behind NAT. Everything else seems to work, incoming & outgoing
calls reach SIP client & Asterisk server, but as soon as I should be hearing
something, nada.

I've tried changing SIP client description in Asterisk (nat=yes/no),
changing proxy type in X-Lite, nothing seems to help. What bothers me is
that incoming calls do get thru NAT (ringing notification), but audio does
not. Shouldn't Asterisk be sending/receiving audio on the same UDP port as
where SIP comms? What could be the problem here? Dumb-headed NAT box?

Outside NAT everything works just fine. I've googled the web & usenet
without results.

TIA,
Peter




Peter
  Reply With Quote
Old 06-30-2003, 03:06 PM   #2
shido
 
Posts: n/a
Default Re: SIP softphone - no audio


You need to use nat = 1 instead of nat = yes

you sip.conf should be similar to this:

[general]
port=5060 ; port we use for sip - you can change this if you want
binadddr= sticktheipyouwantlisteningforsiphere
context = inbound ; this is where all the sip calls land
dtmfmode=inband ; to each his own
allow=ulaw

[Joe]
username=Joe
type=friend
secret=boink ; you dont need a secret if you havent set a password on the
sip device
host = puttheiphere ; or you can put dynamic if the sip devices ip changes
nat = 1 ; this is where you were in error.....
disallow=all ; just says we dont the codec set above
allow=ulaw ; this says ok we want ulaw
canreinvite = yes ; if this gives you problems change to no....


Testing with ulaw first is always best, some softphones only come with
ulaw....


-Greg




"Peter" <> wrote in message
news:bdo6ke$urdm1$...
> I'm trying out SIP softphones, X-Lite and SJPhone, and both does not have
> any audio behind NAT. Everything else seems to work, incoming & outgoing
> calls reach SIP client & Asterisk server, but as soon as I should be

hearing
> something, nada.
>
> I've tried changing SIP client description in Asterisk (nat=yes/no),
> changing proxy type in X-Lite, nothing seems to help. What bothers me is
> that incoming calls do get thru NAT (ringing notification), but audio does
> not. Shouldn't Asterisk be sending/receiving audio on the same UDP port as
> where SIP comms? What could be the problem here? Dumb-headed NAT box?
>
> Outside NAT everything works just fine. I've googled the web & usenet
> without results.
>
> TIA,
> Peter
>
>



  Reply With Quote
Old 06-30-2003, 03:20 PM   #3
shido
 
Posts: n/a
Default Re: SIP softphone - no audio

last resort...

If you are still having problems , you need to forward a port on your router
to the ip of the sip device

so if your sip/softphone is 192.168.0.5

open up port 16384 and 5060 udp and send them to your phone...


16385,16386,16387,16388,16389 if you want the other functions......

-Greg


"Peter" <> wrote in message
news:bdo6ke$urdm1$...
> I'm trying out SIP softphones, X-Lite and SJPhone, and both does not have
> any audio behind NAT. Everything else seems to work, incoming & outgoing
> calls reach SIP client & Asterisk server, but as soon as I should be

hearing
> something, nada.
>
> I've tried changing SIP client description in Asterisk (nat=yes/no),
> changing proxy type in X-Lite, nothing seems to help. What bothers me is
> that incoming calls do get thru NAT (ringing notification), but audio does
> not. Shouldn't Asterisk be sending/receiving audio on the same UDP port as
> where SIP comms? What could be the problem here? Dumb-headed NAT box?
>
> Outside NAT everything works just fine. I've googled the web & usenet
> without results.
>
> TIA,
> Peter
>
>



  Reply With Quote
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump