[Freeswitch-users] No outgoing media on SIP endpoints
Chris Chen
chris.chen2004 at gmail.com
Thu Apr 10 20:44:03 PDT 2008
A follow up to this issue: I resolved this issue by setting the ext-sip-ip
and ext-rtp-ip to 10.0.1.252.
in the vars.xml as this freeswitch is going nowhere to the internet. So
basically this one way audio issue is the NAT issue, the typical SIP issue.
now the sip default profile looks like this:
freeswitch at callcenter> sofia status profile default
API CALL [sofia(status profile default)] output:
=================================================================================================
Name default
Domain Name 10.0.1.252
DBName sofia_reg_default
Dialplan XML
RTP-IP 10.0.1.252
Ext-RTP-IP 10.0.1.252
SIP-IP 10.0.1.252
Ext-SIP-IP 10.0.1.252
URL sip:mod_sofia at 10.0.1.252:5060
BIND-URL sip:mod_sofia at 10.0.1.252:5060;maddr=10.0.1.252
HOLD-MUSIC local_stream://moh
CODECS G722,PCMU,PCMA,GSM,H263-1998
TEL-EVENT 101
CNG 13
SESSION-TO 0
MAX-DIALOG 0
Registrations:
=================================================================================================
Call-ID Zjg0YTVjMmU0NzRhN2NhZjA1MmNiOTEyZWExN2M4YTY.
User 1000 at 10.0.1.252
Contact "1000" <sip:1000 at 10.0.1.253:36784
;rinstance=6f9ee3cff586843a>
Agent Bria release 2.2 stamp 45414
Status Registered(unknown) EXP(2008-04-11 00:15:24)
Call-ID 1858798975-5064-1 at 10.0.1.160
User 1006 at 10.0.1.252
Contact "user" <sip:1006 at 10.0.1.160:5064>
Agent Grandstream GXW-4004 V1.1A 1.0.0.67
Status Registered(unknown) EXP(2008-04-11 00:20:37)
Call-ID 1412946610-5066-1 at 10.0.1.160
User 1007 at 10.0.1.252
Contact "user" <sip:1007 at 10.0.1.160:5066>
Agent Grandstream GXW-4004 V1.1A 1.0.0.67
Status Registered(unknown) EXP(2008-04-11 00:20:37)
Call-ID 51e43082-5491ec6d at 10.0.1.251
User 1010 at 10.0.1.252
Contact 1010 <sip:1010 at 10.0.1.251:5060>
Agent Linksys/PAP2-3.1.12(LS)
Status Registered(unknown) EXP(2008-04-11 00:21:11)
Call-ID f37727a1-518ac7da at 10.0.1.251
User 1011 at 10.0.1.252
Contact 1011 <sip:1011 at 10.0.1.251:5061>
Agent Linksys/PAP2-3.1.12(LS)
Status Registered(unknown) EXP(2008-04-11 00:21:11)
Call-ID 445786933-5060-1 at 10.0.1.160
User 1004 at 10.0.1.252
Contact "user" <sip:1004 at 10.0.1.160:5060>
Agent Grandstream GXW-4004 V1.1A 1.0.0.67
Status Registered(unknown) EXP(2008-04-11 00:21:21)
Call-ID 1697459759-5062-1 at 10.0.1.160
User 1005 at 10.0.1.252
Contact "user" <sip:1005 at 10.0.1.160:5062>
Agent Grandstream GXW-4004 V1.1A 1.0.0.67
Status Registered(unknown) EXP(2008-04-11 00:21:21)
=================================================================================================
I really appreciate your valuable advice to me for the happy freeswitch
journey.
Lots of good stuffs to be explored further.
Thanks,
Chris
On Thu, Apr 10, 2008 at 3:16 PM, Nicolas Brenner <nicolas at medularis.com>
wrote:
> Hi Chris,
>
> Your problem seems a lot like what's happening to me, although I'm
> only using xlite softphones on extensions 1000 and 1001. The phones
> are able to register and make calls (well two calls at least, before
> FS stops responding), but the media is not getting through. I'm also
> using CentOS 5, but the server and softphone computers are on public
> IPs connected directly to the Internet, and there's no firewall
> running.
>
> I made a test of registering with extension 1000 and calling the
> number 9998 2 times, the first I can hear 3 secs of the tetris sound,
> and hanging up on the softphone ends the call, but on the second call
> I get no audio at all, and when I hang up on the softphone, the call
> is not ended on FS, so it stays open for a while until it times out
> and FS starts deperately trying to send BYE messages to the softphone.
>
> Here are my logs and sip trace (user/pass: freeswitch/mailing):
> - http://www.medularis.com/fs/freeswitch.log
> - http://www.medularis.com/fs/consolelog.txt
> - http://www.medularis.com/fs/siptrace.log
>
> I guess I'm not being very useful to you in solving the problem, but I
> thought the issues could be related, so maybe we could be able to get
> the same help.
>
> On 4/10/08, Chris Chen <chris.chen2004 at gmail.com> wrote:
> > Firewall is disabled on the centos 5 as this is purely LAN environment
> to
> > start with. I believe there is no signaling issue here as every SIP
> endpoint
> > is able to be registered and with presence information. The issue is
> about
> > the media can be heard but not able to be sent out.
> > on the sip endpoints.
> >
> > Thanks
> >
> > Chris
> >
> >
> >
> > On Thu, Apr 10, 2008 at 2:49 PM, Chris Danielson <chris at maxpowersoft.com
> >
> > wrote:
> > >
> > > Just tossing this out there. Are iptables running?
> > > as root run: `iptables -L`
> > >
> > > Make sure that ports 5060-5080 (tcp and udp) are not being blocked.
> > >
> > >
> > > Chris Danielson
> > > chris at maxpowersoft.com
> > >
> > >
> > >
> > > Chris Chen wrote:
> > >
> > >
> > >
> > > Without the change, the domain name and rtp-ip sip-ip would be
> 127.0.0.1
> > which is the loopback IP address of the freeswitch server. After those
> > changes, at least I had all sip end-points registered and I heard
> dialtones
> > when off the hook.
> > > Thanks
> > >
> > >
> > >
> > > On Thu, Apr 10, 2008 at 2:31 PM, Brian West <brian at freeswitch.org>
> wrote:
> > >
> > > >
> > > > Can you elaborate on why you did this change?
> > > >
> > > >
> > > > /b
> > > >
> > > >
> > > >
> > > > On Apr 10, 2008, at 1:25 PM, Chris Chen wrote:
> > > >
> > > > I am using the default profile, with the SIP-IP and RTP-IP changed
> to
> > 10.0.1.252
> > > >
> > > >
> > > >
> > > > Brian West
> > > > sip:brian at freeswitch.org <sip%3Abrian at freeswitch.org>
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Freeswitch-users mailing list
> > > > Freeswitch-users at lists.freeswitch.org
> > > >
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > >
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > > http://www.freeswitch.org
> > > >
> > > >
> > >
> > > ________________________________
> >
> > > _______________________________________________
> > > Freeswitch-users mailing list
> > > Freeswitch-users at lists.freeswitch.org
> > >
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > >
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > http://www.freeswitch.org
> > >
> > >
> > > _______________________________________________
> > > Freeswitch-users mailing list
> > > Freeswitch-users at lists.freeswitch.org
> > >
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > >
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > http://www.freeswitch.org
> > >
> > >
> >
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
>
>
> Regards,
>
> --
> Nicolás Brenner
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080410/f49a3da1/attachment-0002.html
More information about the FreeSWITCH-users
mailing list