Could you please post the result to sofia status?

Best,

Wesley Akio
Sent  from mobile

Em 05/01/2015 23:14, "Richard Adams" <Richard.Adams@stentofon.com.au> escreveu:

I enabled this on the External.xml to no change.

 

 

Regards,

 

Richard Adams

Technical Manager

 

STENTOFON AUSTRALIA ● UNIT 2 / 670 MOUNTAIN HIGHWAY ● BAYSWATER VIC 3153 ● AUSTRALIA

PHONE: +61 3 9729 6600 ● FAX: +61 3 9729 0099 ● MOBILE: +61 404 058 798

Richard.Adams@STENTOFON.COM.AU ● WWW.STENTOFON.COM.AU

WWW.ZENITEL.COM ● WWW.DNH.NO

cid:image001.jpg@01CD7927.5758B850 

 

 

 

 

 

From: Moishe Grunstein [mailto:max@nysolutions.com]
Sent: Tuesday, January 06, 2015 11:31 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Help required

 

<param name="NDLB-force-rport" value="true"/> belongs on the profile not sip gateway.

 

Thanks,

 

Moishe Grunstein

Tornado Computer Systems, Inc.

212.400.7650 888.IPPBX.US
Service Request Email: support@nysolutions.com

Polycom Certified VAR
Microsoft Small Business Specialist, Cisco SMB Select Certified

cid:image001.jpg@01C72F94.9EE45D60

Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Richard Adams
Sent: Monday, January 5, 2015 7:15 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Help required

 

https://pastebin.freeswitch.org/23822 for Internal.xml

https://pastebin.freeswitch.org/23823 for External.xml

https://pastebin.freeswitch.org/23824 for 00_dialmynetfone.xml

 

Regards,

 

Richard Adams

Technical Manager

 

STENTOFON AUSTRALIA ● UNIT 2 / 670 MOUNTAIN HIGHWAY ● BAYSWATER VIC 3153 ● AUSTRALIA

PHONE: +61 3 9729 6600 ● FAX: +61 3 9729 0099 ● MOBILE: +61 404 058 798

Richard.Adams@STENTOFON.COM.AU ● WWW.STENTOFON.COM.AU

WWW.ZENITEL.COM ● WWW.DNH.NO

cid:image001.jpg@01CD7927.5758B850 

 

 

 

 

 

From: Chris Tunbridge [mailto:blasterjr@gmail.com]
Sent: Tuesday, January 06, 2015 11:00 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Help required

 

Richard someone else asked this, and i think they were correct in asking, can you please pastebin your config files, specifically the ones in conf/sip_profiles/ as that'll give us the best information to help you with.

you can use the freeswitch pastebin: http://pastebin.freeswitch.org

Instructions/credentials are included on the box that pops up.

At this point to me, it sounds like improper (or missing) configuration, OR its getting messed with by the router.

 

On Mon, Jan 5, 2015 at 3:16 PM, Richard Adams <Richard.Adams@stentofon.com.au> wrote:

I tried setting NDLB_force_rport on my mynetfone profile, but the result is the same.

 

The SDP still uses the private IP of the PBX.

 

What do I need to set to re-write the O and S records in the SDP to my public IP?

 

   o=FreeSWITCH 1420422599 1420422600 IN IP4 192.168.34.2

   s=FreeSWITCH

   c=IN IP4 192.168.34.2

Regards,

 

Richard Adams

Technical Manager

 

STENTOFON AUSTRALIA ● UNIT 2 / 670 MOUNTAIN HIGHWAY ● BAYSWATER VIC 3153 ● AUSTRALIA

PHONE: +61 3 9729 6600 ● FAX: +61 3 9729 0099 ● MOBILE: +61 404 058 798

Richard.Adams@STENTOFON.COM.AU ● WWW.STENTOFON.COM.AU

WWW.ZENITEL.COM ● WWW.DNH.NO

cid:image001.jpg@01CD7927.5758B850 

 

 

 

 

 

From: Daniel Ivanov [mailto:sertys@gmail.com]
Sent: Monday, January 05, 2015 7:59 PM


To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Help required

 

Just set the NDLB_force_rport param on your mynetfone profile and be done with it.

5 янв. 2015 г. 10:30 пользователь "Francis" <sms@icefire.qza.net.au> написал:

There are some exotic NAT settings on the wiki that will _force_ certain behaviours, which may get things working and give you a starting point to work back from. Bear in mind that these settings aren't really fixes, just ways of telling FS to treat  devices as stoopid and do the thinking for them.

On 5/01/2015 6:11 PM, Richard Adams wrote:

I said practically.  If they're both broken, then they're practically the same :)

 

I have the ext-sip-ip and ext-rtp-ip set to my public address in internal.xml, external.xml and the mynetfone external profile.

 

Where else do I need to set the public IP to get the SDP to report correctly?

 

Regards,

 

Richard Adams

Technical Manager

 

STENTOFON AUSTRALIA ● UNIT 2 / 670 MOUNTAIN HIGHWAY ● BAYSWATER VIC 3153 ● AUSTRALIA

PHONE: +61 3 9729 6600 ● FAX: +61 3 9729 0099 ● MOBILE: +61 404 058 798

Richard.Adams@STENTOFON.COM.AU ● WWW.STENTOFON.COM.AU

WWW.ZENITEL.COM ● WWW.DNH.NO

cid:image001.jpg@01CD7927.5758B850 

 

 

 

 

 

From: jay binks [mailto:jaybinks@gmail.com]
Sent: Monday, January 05, 2015 6:09 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Help required

 

Not identical.

the FROM's differ
one has X-Serialnumber & P-Key-Flags headers.

Both of them have bad IP's in the SDP ( 192.168.34.2 )
this will be key here..  fix this and it may fix all your problems.

that NEEDS To have your external, REAL IP Address.

Do you know what that IP does in the SDP ??

Thats what tells My Net Fone where to send the audio.
how can they route to that IP address, its not globally routable.
so its either going to fail 100% of the time, or they are going to rely on hacks and magic to make a guess at where to send the audio.   and sometimes that magic might fail ( like your seeing )

Make sure your RTP IP address is your EXTERNAL IP !  XXX.243.120.79  
( XXX Added to protect you from more attacks :P )

 

 

On 5 January 2015 at 16:47, Richard Adams <Richard.Adams@stentofon.com.au> wrote:

First invite is a successful call from my desk to mobile, and the second is from external incoming call to my mobile.

 

The packets are practically identical.

 

send 1224 bytes to udp/[125.213.160.83]:5060 at 17:41:21.029475:

   ------------------------------------------------------------------------

   INVITE sip:0404058798@sip20.mynetfone.com.au SIP/2.0

   Via: SIP/2.0/UDP 123.243.120.79:5080;rport;branch=z9hG4bKS3jUUDpSeDpXr

   Max-Forwards: 33

   From: "0397296600" <sip:0397296600@sip20.mynetfone.com.au>;tag=D7U82j7Qj3pKQ

   To: <sip:0404058798@sip20.mynetfone.com.au>

   Call-ID: b36af627-0f48-1233-04b8-00188b436d1c

   CSeq: 69883976 INVITE

   Contact: <sip:0397296600@123.243.120.79:5080;transport=udp;gw=MyNetFone>

   User-Agent: FreeSWITCH-mod_sofia/1.4.15+git~20141229T185951Z~507a0f22c5~64bit

  Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY

   Supported: timer, path, replaces

   Allow-Events: talk, hold, conference, refer

   Content-Type: application/sdp

   Content-Disposition: session

   Content-Length: 270

   Diversion: <sip:86447200@125.213.160.83>;reason=unconditional

   X-FS-Support: update_display,send_info

   Remote-Party-ID: "0397296600" <sip:0397296600@sip20.mynetfone.com.au>;party=calling;screen=yes;privacy=off

 

   v=0

   o=FreeSWITCH 1420422599 1420422600 IN IP4 192.168.34.2

   s=FreeSWITCH

   c=IN IP4 192.168.34.2

   t=0 0

   m=audio 17482 RTP/AVP 0 8 3 101 13

   a=rtpmap:0 PCMU/8000

   a=rtpmap:8 PCMA/8000

   a=rtpmap:3 GSM/8000

   a=rtpmap:101 telephone-event/8000

   a=fmtp:101 0-16

   a=ptime:20

 

send 1208 bytes to udp/[125.213.160.83]:5060 at 17:42:26.665905:

   ------------------------------------------------------------------------

   INVITE sip:0404058798@sip20.mynetfone.com.au SIP/2.0

   Via: SIP/2.0/UDP 123.243.120.79:5080;rport;branch=z9hG4bKX7Qy2SS72gF8p

   Max-Forwards: 69

   From: "Richard" <sip:0397296600@sip20.mynetfone.com.au>;tag=egN14DrUFcD6j

   To: <sip:0404058798@sip20.mynetfone.com.au>

   Call-ID: da8a496a-0f48-1233-04b8-00188b436d1c

   CSeq: 69884009 INVITE

   Contact: <sip:0397296600@123.243.120.79:5080;transport=udp;gw=MyNetFone>

   User-Agent: FreeSWITCH-mod_sofia/1.4.15+git~20141229T185951Z~507a0f22c5~64bit

   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY

   Supported: timer, path, replaces

   Allow-Events: talk, hold, conference, refer

   Content-Type: application/sdp

   Content-Disposition: session

   Content-Length: 270

   X-Serialnumber: 0004133887C7

   P-Key-Flags: keys="3"

   X-FS-Support: update_display,send_info

   Remote-Party-ID: "Richard" <sip:0397296600@sip20.mynetfone.com.au>;party=calling;screen=yes;privacy=off

 

   v=0

   o=FreeSWITCH 1420422380 1420422381 IN IP4 192.168.34.2

   s=FreeSWITCH

   c=IN IP4 192.168.34.2

   t=0 0

   m=audio 17766 RTP/AVP 0 8 3 101 13

   a=rtpmap:0 PCMU/8000

   a=rtpmap:8 PCMA/8000

   a=rtpmap:3 GSM/8000

   a=rtpmap:101 telephone-event/8000

   a=fmtp:101 0-16

   a=ptime:20

 

 

Regards,

 

Richard Adams

Technical Manager

 

STENTOFON AUSTRALIA ● UNIT 2 / 670 MOUNTAIN HIGHWAY ● BAYSWATER VIC 3153 ● AUSTRALIA

PHONE: +61 3 9729 6600 ● FAX: +61 3 9729 0099 ● MOBILE: +61 404 058 798

Richard.Adams@STENTOFON.COM.AU ● WWW.STENTOFON.COM.AU

WWW.ZENITEL.COM ● WWW.DNH.NO

cid:image001.jpg@01CD7927.5758B850 

 

 

 

 

 

From: jay binks [mailto:jaybinks@gmail.com]
Sent: Monday, January 05, 2015 5:35 PM


To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Help required

 

it might just be easier to pastebin your config files , specifically the SIP profiles for a start.

 

On 5 January 2015 at 16:16, Richard Adams <Richard.Adams@stentofon.com.au> wrote:

.2 is the PBX.

 

Bypass media is not on.

 

I'll look at the RTP-IP.

 

Regards,

 

Richard Adams

Technical Manager

 

STENTOFON AUSTRALIA ● UNIT 2 / 670 MOUNTAIN HIGHWAY ● BAYSWATER VIC 3153 ● AUSTRALIA

PHONE: +61 3 9729 6600 ● FAX: +61 3 9729 0099 ● MOBILE: +61 404 058 798

Richard.Adams@STENTOFON.COM.AU ● WWW.STENTOFON.COM.AU

WWW.ZENITEL.COM ● WWW.DNH.NO

cid:image001.jpg@01CD7927.5758B850 

 

 

 

 

 

From: jay binks [mailto:jaybinks@gmail.com]
Sent: Monday, January 05, 2015 5:09 PM


To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Help required

 

That is kinda what happens when you post IP Address in a mailing list or online :(

You can rest assured MyNetFone will also be getting them to their IP address.

 

OK so the SDP imn your 200 OK definitaly tells MNF to send the media stream to 192.168.34.2 so either your RTP IP is not set,  your router is re-writing it with an ALG, or your telling freeswitch to bypass media or something.

 

What IS 192.168.34.2 ?? if that is your PBX, then that will be option #1 or #2 

if .34.2 is a phone handset then id guess its closer to option #3 

 

Jay

 

On 5 January 2015 at 15:56, Richard Adams <Richard.Adams@stentofon.com.au> wrote:

I have attached a packet trace from a failed call.

 

We use TPG.  The service is exceptional, and we've had only one downtime event in 5 years.

 

We don't have any call issues on a standard ADSL2+ line with all office internet and phones on the same line.

 

Some nefarious people are on this mailing list, as I'm now under attack.  Hooray!

 

Regards,

 

Richard Adams

Technical Manager

 

STENTOFON AUSTRALIA ● UNIT 2 / 670 MOUNTAIN HIGHWAY ● BAYSWATER VIC 3153 ● AUSTRALIA

PHONE: +61 3 9729 6600 ● FAX: +61 3 9729 0099 ● MOBILE: +61 404 058 798

Richard.Adams@STENTOFON.COM.AU ● WWW.STENTOFON.COM.AU

WWW.ZENITEL.COM ● WWW.DNH.NO

cid:image001.jpg@01CD7927.5758B850 

 

 

 

 

 

From: jay binks [mailto:jaybinks@gmail.com]
Sent: Monday, January 05, 2015 4:48 PM


To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Help required

 

Im coming in late to the party here.

 

Do you have any packet captures of this ??? 

 

It sounds like your trying to bypass the media and get out of the RTP stream.

Nobody is going to do that for you :)

 

Also, from your logs I can see your on a TPG service.

A quick test here shows 8% packet loss and average of 130ms latency with 40ms std dev.

 

I hope that is just the service your using for your testing ??

 

Jay Binks

 

 

 

On 5 January 2015 at 15:25, Richard Adams <Richard.Adams@stentofon.com.au> wrote:

UPNP is now off.  Same result.

 

The short version of the call progress is below.  For testing, I'm calling from an internal extension 127 to the DID for the Help Line.  It fails the same with an external first caller.

 

2015-01-05 16:17:29.846341 [NOTICE] switch_channel.c:1055 New Channel sofia/internal/127@192.168.34.2 [253bea7c-949a-11e4-9703-192279674221]

2015-01-05 16:17:29.846341 [INFO] mod_dialplan_xml.c:635 Processing Theo <127>->86447200 in context default

2015-01-05 16:17:29.846341 [NOTICE] switch_channel.c:1055 New Channel sofia/external/86447200 [253cc730-949a-11e4-970c-192279674221]

2015-01-05 16:17:30.026327 [NOTICE] switch_channel.c:1055 New Channel sofia/external/61397296600@125.213.160.83 [25584398-949a-11e4-9710-192279674221]

2015-01-05 16:17:30.026327 [INFO] mod_dialplan_xml.c:635 Processing 61397296600 <61397296600>->0386447200 in context public

2015-01-05 16:17:30.026327 [NOTICE] switch_ivr.c:1854 Transfer sofia/external/61397296600@125.213.160.83 to XML[0386447200@default]

2015-01-05 16:17:30.026327 [INFO] mod_dialplan_xml.c:635 Processing 61397296600 <61397296600>->0386447200 in context default

2015-01-05 16:17:30.026327 [NOTICE] switch_channel.c:1055 New Channel sofia/internal/sip:122@192.168.34.20:2100 [25594e96-949a-11e4-9727-192279674221]

2015-01-05 16:17:30.086342 [NOTICE] sofia.c:6716 Ring-Ready sofia/internal/sip:122@192.168.34.20:2100!

2015-01-05 16:17:30.086342 [NOTICE] mod_sofia.c:2098 Ring-Ready sofia/external/61397296600@125.213.160.83!

2015-01-05 16:17:30.106356 [NOTICE] switch_ivr_originate.c:527 Ring Ready sofia/external/61397296600@125.213.160.83!

2015-01-05 16:17:30.266329 [NOTICE] sofia.c:6716 Ring-Ready sofia/external/86447200!

2015-01-05 16:17:30.286303 [NOTICE] mod_sofia.c:2098 Ring-Ready sofia/internal/127@192.168.34.2!

2015-01-05 16:17:30.286303 [NOTICE] switch_ivr_originate.c:527 Ring Ready sofia/internal/127@192.168.34.2!

2015-01-05 16:17:40.006322 [NOTICE] switch_ivr_originate.c:3495 Hangup sofia/internal/sip:122@192.168.34.20:2100 [CS_CONSUME_MEDIA] [NO_ANSWER]

2015-01-05 16:17:40.026337 [NOTICE] switch_ivr_originate.c:2735 Cannot create outgoing channel of type [USER] cause: [NO_ANSWER]

2015-01-05 16:17:40.026337 [INFO] mod_dptools.c:3234 Originate Failed.  Cause: NO_ANSWER

2015-01-05 16:17:40.026337 [NOTICE] switch_core_session.c:1633 Session 8 (sofia/internal/sip:122@192.168.34.20:2100) Ended

2015-01-05 16:17:40.026337 [NOTICE] switch_core_session.c:1637 Close Channel sofia/internal/sip:122@192.168.34.20:2100 [CS_DESTROY]

2015-01-05 16:17:40.026337 [NOTICE] switch_channel.c:1055 New Channel sofia/external/0404058798 [2b4cddb8-949a-11e4-9730-192279674221]

2015-01-05 16:17:44.646340 [NOTICE] sofia_media.c:92 Pre-Answer sofia/external/0404058798!

2015-01-05 16:17:47.586301 [NOTICE] sofia.c:7416 Channel [sofia/external/0404058798]


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
...


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org