Hi Allan,<div><br></div><div> I am having the same problem with back to back FS boxes, I am also getting port '0' sent in the m= SDP, in my case it is sent in the 183 SDP.</div><div><br></div><div> Did you get to the bottom of the issue?</div>
<div><br></div><div>Thanks,</div><div><br></div><div>Michael<br><br><div class="gmail_quote">On Sun, Sep 4, 2011 at 6:44 AM, Allan Piske <span dir="ltr"><<a href="mailto:zyryznet@gmail.com">zyryznet@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<div><br></div><div>I'm having some trouble discovering the source and solution to one problem.</div><div><br>
</div>
<div>I setup a FS box for receiving faxes, and a already have another FS box as SBC.</div><div><br>
</div><div><br></div><div>SPA3102 ---> opensips ---> FS_SBC --> opensips --> FS_FAX</div><div>this works ok, call gets answered, i hear the fax tone, the SPA3102 changes to T38 and everyone is happy.</div><div>
<br></div><div><br></div><div>Nortel CS2000 ------> FS_SBC -------> opensips(regitrar,rtpproxy,etc) ---> FS_FAX</div><div>but his doen't.</div><div><br></div><div>This little devil CS2000 sends every invite with m=image header along with m=audio. With aparently FS doesn't like.</div>
<div><br></div><div><br></div><div>like that:</div><div><br></div><div><div>freeswitch@internal> recv 1215 bytes from udp/[10.143.82.250]:5060 at 08:26:08.226858:</div><div> ------------------------------------------------------------------------</div>
<div> INVITE sip:4730365302@10.143.82.253:5060;transport=UDP;user=phone SIP/2.0</div><div> Record-Route: <sip:10.143.82.250;lr=on;ftag=-45026-10d9cdb-2668a317-10d9cdb></div><div> f: <sip:<a href="tel:4784064435" value="+14784064435" target="_blank">4784064435</a>@10.150.65.16:5060;user=phone>;tag=-45026-10d9cdb-2668a317-10d9cdb</div>
<div> t: <sip:4730365302@10.143.82.250:5060;user=phone></div><div> i: 416cf3e01041960a13c410d9cdb1d2cba42b82409c10f14bb8-0322-4481</div><div> CSeq: 1 INVITE</div><div> User-agent: CS2000_NGSS/9.0</div><div>
P-Asserted-Identity: <<a href="mailto:sip%3A4784064435@10.150.65.16" target="_blank">sip:4784064435@10.150.65.16</a>;user=phone></div>
<div> Allow: ACK,BYE,CANCEL,INVITE,OPTIONS,INFO,SUBSCRIBE,REFER,NOTIFY,PRACK,UPDATE</div><div> Via: SIP/2.0/UDP 10.143.82.250;branch=z9hG4bK1d78.5262ccd1.0</div><div> v: SIP/2.0/UDP PAE1CS2K:5060;maddr=10.150.65.16;branch=z9hG4bK-10d9cdb-1d2cba43-57ebb21d</div>
<div> Max-Forwards: 69</div><div> m: <sip:10.150.65.16:5060;transport=UDP></div><div> k: 100rel</div><div> c: application/sdp</div><div> l: 420</div><div><br></div><div> v=0</div><div> o=PVG 1315110636830 1315110636830 IN IP4 10.152.204.202</div>
<div> s=-</div><div> p=<a href="tel:%2B1%206135555555" value="+16135555555" target="_blank">+1 6135555555</a></div><div> c=IN IP4 10.152.204.202</div><div> t=0 0</div><div> m=audio 55920 RTP/AVP 18 8 101</div><div>
a=rtpmap:101 telephone-event/8000</div><div> a=fmtp:101 0-15</div>
<div> a=ptime:20</div><div> a=fmtp:18 annexb=no</div><div> m=image 64112 udptl t38</div><div> a=T38FaxVersion:0</div><div> a=T38FaxMaxBuffer:1100</div><div> a=T38FaxMaxDatagram:612</div><div> a=T38MaxBitRate:14400</div>
<div> a=T38FaxRateManagement:transferredTCF</div><div> a=T38FaxUdpEC:t38UDPRedundancy</div></div><div><br></div><div>But then we have a problem ...</div><div><br></div><div><br></div><div><br></div><div><br></div><div>
My beloved FS_SBC changes the SDP before sending it to the next hop .. as it should becase they are on diferent subnets and set to proxy_media</div><div><br></div><div><div>2011-09-04 01:26:08.231102 [DEBUG] sofia_glue.c:1759 sofia/tpa/4730365302 Patched SDP</div>
<div>---</div><div>v=0</div><div>o=PVG 1315110636830 1315110636830 IN IP4 10.152.204.202</div><div>s=-</div><div>p=<a href="tel:%2B1%206135555555" value="+16135555555" target="_blank">+1 6135555555</a></div><div>c=IN IP4 10.152.204.202</div>
<div>t=0 0</div><div>m=audio 55920 RTP/AVP 18 8 101</div>
<div>a=fmtp:18 annexb=no</div><div>a=rtpmap:101 telephone-event/8000</div><div>a=fmtp:101 0-15</div><div>a=ptime:20</div><div>m=image 64112 udptl t38</div><div>a=T38FaxVersion:0</div><div>a=T38FaxMaxBuffer:1100</div><div>
a=T38FaxMaxDatagram:612</div><div>a=T38MaxBitRate:14400</div><div>a=T38FaxRateManagement:transferredTCF</div><div>a=T38FaxUdpEC:t38UDPRedundancy</div><div><br></div><div>+++</div><div>v=0</div><div>o=FreeSWITCH 2718891449 2718891450 IN IP4 A.B.C.D</div>
<div>s=FreeSWITCH</div><div>p=<a href="tel:%2B1%206135555555" value="+16135555555" target="_blank">+1 6135555555</a></div><div>c=IN IP4 A.B.C.D</div><div>t=0 0</div><div>m=audio 19262 RTP/AVP 18 8 101</div><div>a=fmtp:18 annexb=no</div>
<div>a=rtpmap:101 telephone-event/8000</div><div>a=fmtp:101 0-15</div>
<div>a=ptime:20</div><div>m=image 19262 udptl t38</div><div>a=T38FaxVersion:0</div><div>a=T38FaxMaxBuffer:1100</div><div>a=T38FaxMaxDatagram:612</div><div>a=T38MaxBitRate:14400</div><div>a=T38FaxRateManagement:transferredTCF</div>
<div>a=T38FaxUdpEC:t38UDPRedundancy</div></div><div><br></div><div><br></div><div>so we have now 2 m= fields with the same port !!!!!</div><div><br></div><div>then when it gets answered on the FS_FAX box .. we got disconnection on the FS_SBC box</div>
<div><br></div><div><br></div><div><div>2011-09-04 01:26:08.257064 [DEBUG] sofia.c:4761 Channel sofia/tpa/4730365302 entering state [completing][200]</div><div>2011-09-04 01:26:08.257064 [DEBUG] sofia.c:4772 Remote SDP:</div>
<div>v=0</div><div>o=FreeSWITCH 1315079202 1315079203 IN IP4 189.45.192.19</div><div>s=FreeSWITCH</div><div>c=IN IP4 189.45.192.19</div><div>t=0 0</div><div>m=audio 31436 RTP/AVP 8 101</div><div>a=rtpmap:8 PCMA/8000</div>
<div>a=rtpmap:101 telephone-event/8000</div><div>a=fmtp:101 0-16</div><div>a=silenceSupp:off - - - -</div><div>a=ptime:20</div><div>m=image 0 udptl 19</div><div><br></div><div>2011-09-04 01:26:08.258409 [DEBUG] sofia.c:4761 Channel sofia/tpa/4730365302 entering state [ready][200]</div>
<div>2011-09-04 01:26:08.258409 [DEBUG] switch_channel.c:2830 (sofia/tpa/4730365302) Callstate Change RINGING -> ACTIVE</div><div>2011-09-04 01:26:08.258409 [DEBUG] switch_channel.c:2842 Send signal sofia/voxip/<a href="http://4784064435@10.150.65.16:5060" target="_blank">4784064435@10.150.65.16:5060</a> [BREAK]</div>
<div>2011-09-04 01:26:08.258409 [NOTICE] sofia.c:5318 Channel [sofia/tpa/4730365302] has been answered</div><div>2011-09-04 01:26:08.258409 [DEBUG] sofia_glue.c:2774 Set Codec sofia/tpa/4730365302 PROXY/8000 20 ms 160 samples 0 bits</div>
<div><font color="#ff0000">2011-09-04 01:26:08.258409 [DEBUG] sofia_glue.c:3079 PROXY AUDIO RTP [sofia/tpa/4730365302] A.B.C.D:19262->W.X.Y.Z:0 codec: 0 ms: 20</font></div><div><font color="#ff0000">2011-09-04 01:26:08.258409 [ERR] sofia_glue.c:3512 AUDIO RTP REPORTS ERROR: [Missing remote port]</font></div>
<div>2011-09-04 01:26:08.258409 [DEBUG] switch_channel.c:2563 (sofia/tpa/4730365302) Callstate Change ACTIVE -> HANGUP</div><div>2011-09-04 01:26:08.258409 [NOTICE] sofia_glue.c:3513 Hangup sofia/tpa/4730365302 [CS_CONSUME_MEDIA] [DESTINATION_OUT_OF_ORDER]</div>
<div>2011-09-04 01:26:08.258409 [DEBUG] switch_channel.c:2579 Send signal sofia/tpa/4730365302 [KILL]</div><div>2011-09-04 01:26:08.258409 [DEBUG] switch_core_session.c:1116 Send signal sofia/tpa/4730365302 [BREAK]</div>
<div>
2011-09-04 01:26:08.259605 [DEBUG] switch_ivr_originate.c:3299 Originate Resulted in Error Cause: 27 [DESTINATION_OUT_OF_ORDER]</div><div>2011-09-04 01:26:08.259605 [INFO] mod_dptools.c:2647 Originate Failed. Cause: DESTINATION_OUT_OF_ORDER</div>
</div><div><br></div><div><br></div><div>port = 0 !!!</div><div><br></div><div>is that maybe a fault in opensips in the middle because the both m= fields with the same port ? , or one of the FS boxes ?</div><div>something is broken here, sadly :(</div>
<div><br></div><div>Appreciate any help.</div><div><br></div><font color="#888888"><div>Allan</div><div><br></div><div><br></div>
</font><br><br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>