Big thanks, Jay. Now it works as aspected ;)<div><br></div><div>šoriginate {sip_cid_type=none}sofia/gateway/<a href="http://mtt.ru/XXXX">mtt.ru/XXXX</a> &txfax(/home/kvashenkin/txfax-sample.tiff)</div><div><br></div><div>
<div>U 2012/03/27 11:47:03.635333 <a href="http://62.76.180.83:5080">62.76.180.83:5080</a> -> <a href="http://80.75.130.134:5060">80.75.130.134:5060</a></div><div>INVITE <a href="mailto:sip%3A89093848124@sip.mtt.ru">sip:89093848124@sip.mtt.ru</a> SIP/2.0.</div>
<div>Via: SIP/2.0/UDP 62.76.180.83:5080;rport;branch=z9hG4bK79pvrF70rHvHN.</div><div>Max-Forwards: 70.</div><div>From: "" <<a href="mailto:sip%3A100002000696@sip.mtt.ru">sip:100002000696@sip.mtt.ru</a>;transport=udp>;tag=NB3BQ3tK7germ.</div>
<div>To: <<a href="mailto:sip%3A89093848124@sip.mtt.ru">sip:89093848124@sip.mtt.ru</a>>.</div><div>Call-ID: 6997f9d4-f2a5-122f-fd98-00163e000f5d.</div><div>CSeq: 26088347 INVITE.</div><div>Contact: <sip:100002000696@62.76.180.83:5080;transport=udp;gw=<a href="http://mtt.ru">mtt.ru</a>>.</div>
<div>User-Agent: IP-PBX.</div><div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY.</div><div>Supported: timer, precondition, path, replaces.</div><div>Allow-Events: talk, hold, refer.</div>
<div>Content-Type: application/sdp.</div><div>Content-Disposition: session.</div><div>Content-Length: 205.</div><div>X-FS-Support: update_display,send_info.</div><div>.</div><div>v=0.</div><div>o=FreeSWITCH 1332829045 1332829046 IN IP4 62.76.180.83.</div>
<div>s=FreeSWITCH.</div><div>c=IN IP4 62.76.180.83.</div><div>t=0 0.</div><div>m=audio 19778 RTP/AVP 0 8 3 101 13.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=fmtp:101 0-16.</div><div>a=ptime:20.</div><div><br>
</div><div>I disable Remote-party-id by providingš{sip_cid_type=none} variable. The last thing is added _this_ config param (what param) to mtt.xlm gateway.</div><br><div class="gmail_quote">27 ÍÁÒÔÁ 2012šÇ. 15:33 ÐÏÌØÚÏ×ÁÔÅÌØ jay binks <span dir="ltr"><<a href="mailto:jaybinks@gmail.com">jaybinks@gmail.com</a>></span> ÎÁÐÉÓÁÌ:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">they may also be rejecting based on your caller id..<div>seen that beforeš<br><br><div>From: <<a href="mailto:sip%3A100002000696@sip.mtt.ru" target="_blank">sip:100002000696@sip.mtt.ru</a>;transport=udp>;tag=B36y48m258Uga</div>
<div>
andš</div><div class="im"><div>Remote-Party-ID: <<a href="mailto:sip%3A0000000000@sip.mtt.ru" target="_blank">sip:0000000000@sip.mtt.ru</a>>;party=calling;screen=yes;privacy=off.</div><div><br></div></div><div>dont look like its legit caller id ... </div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div><br></div><div>Jay</div></font></span><div><div class="h5"><div><br></div><div><br></div><br><div class="gmail_quote">On 27 March 2012 21:17, Anton Kvashenkin <span dir="ltr"><<a href="mailto:anton.jugatsu@gmail.com" target="_blank">anton.jugatsu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for the reply. Hereš<div><br></div><div>sofia status profile externalš<a href="http://pastebin.freeswitch.org/18754" target="_blank">http://pastebin.freeswitch.org/18754</a></div>
<div><br></div><div>Hm... You are right... WTF with codecs @ SDP.</div>
<div><br></div><div>originate {absolute_codec_string='PCMU,PCMA,G729'}sofia/gateway/<a href="http://mtt.ru/89093848124" target="_blank">mtt.ru/89093848124</a> &playback()</div><div><br></div><div>and INVITE i have</div>
<div><br>
</div><div><div>U 2012/03/27 11:12:45.244216 <a href="http://62.76.180.83:5080" target="_blank">62.76.180.83:5080</a> -> <a href="http://80.75.130.134:5060" target="_blank">80.75.130.134:5060</a></div><div>INVITE <a href="mailto:sip%3A89093848124@sip.mtt.ru" target="_blank">sip:89093848124@sip.mtt.ru</a> SIP/2.0.</div>
<div>Via: SIP/2.0/UDP 62.76.180.83:5080;rport;branch=z9hG4bKy0HX29D6rc86K.</div><div>Max-Forwards: 70.</div><div>From: "" <<a href="mailto:sip%3A100002000696@sip.mtt.ru" target="_blank">sip:100002000696@sip.mtt.ru</a>;transport=udp>;tag=7USXQ5jg6caFB.</div>
<div>To: <<a href="mailto:sip%3A89093848124@sip.mtt.ru" target="_blank">sip:89093848124@sip.mtt.ru</a>>.</div><div>Call-ID: 9ea5c38c-f2a0-122f-fd98-00163e000f5d.</div><div>CSeq: 26087318 INVITE.</div><div>Contact: <sip:100002000696@62.76.180.83:5080;transport=udp;gw=<a href="http://mtt.ru" target="_blank">mtt.ru</a>>.</div>
<div>User-Agent: IP-PBX.</div><div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY.</div><div>Supported: timer, precondition, path, replaces.</div><div>Allow-Events: talk, hold, refer.</div>
<div>Content-Type: application/sdp.</div><div>Content-Disposition: session.</div><div>Content-Length: 201.</div><div>X-FS-Support: update_display,send_info.</div><div>Remote-Party-ID: <<a href="mailto:sip%3A0000000000@sip.mtt.ru" target="_blank">sip:0000000000@sip.mtt.ru</a>>;party=calling;screen=yes;privacy=off.</div>
<div>.</div><div>v=0.</div><div>o=FreeSWITCH 1332822661 1332822662 IN IP4 62.76.180.83.</div><div>s=FreeSWITCH.</div><div>c=IN IP4 62.76.180.83.</div><div>t=0 0.</div><div>m=audio 24104 RTP/AVP 0 101 13.</div><div>a=rtpmap:101 telephone-event/8000.</div>
<div>a=fmtp:101 0-16.</div><div>a=ptime:20.</div></div><div><br></div><div><br></div><div>The same... I'm little bit frustrating :)</div><div><br><div class="gmail_quote">27 ÍÁÒÔÁ 2012šÇ. 14:26 ÐÏÌØÚÏ×ÁÔÅÌØ jay binks <span dir="ltr"><<a href="mailto:jaybinks@gmail.com" target="_blank">jaybinks@gmail.com</a>></span> ÎÁÐÉÓÁÌ:<div>
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">your not getting very far at all..<div><br></div><div>try enabling more codecs... there is something in your invite ( or SDP ) that they dont like.</div>
<div>but their logs tell you nothing more than the pcap you provided.</div>
<div><br></div><div>I can assure you MERA DOES work... I send millions of calls to MERA servers every day from my freeswitch boxes.</div><div>so this is something specific to your setup.</div><div><br></div><div>Id also suggest the ITSP should be able to give you more info and be a little more helpful.</div>
<div><br></div><div>Jay<br><br><div class="gmail_quote"><div><div>On 27 March 2012 20:07, Anton Kvashenkin <span dir="ltr"><<a href="mailto:anton.jugatsu@gmail.com" target="_blank">anton.jugatsu@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
Hello guys. I have setup the gateway for outbound calls withšcredentials provided by my ITSP.<div><br></div><div><a href="http://pastebin.freeswitch.org/18749" target="_blank">http://pastebin.freeswitch.org/18749</a>
</div><div><br></div><div>Trying to make test call using, for example, originate command</div><div><br></div><div>originate sofia/gateway/<a href="http://mtt.ru/XXXX" target="_blank">mtt.ru/XXXX</a> &txfax(/tmp/fax.tif)</div>
<div><br>
</div><div>result:</div><div><br></div><div>ITSP proxy sends 500 Gateway is Invalidš<a href="http://pastebin.freeswitch.org/18750" target="_blank">http://pastebin.freeswitch.org/18750</a></div><div><br></div><div>But, trying to make call using asterisk with the samešcredentials suprisenly works. Here dump of success callš<a href="http://pastebin.freeswitch.org/18751" target="_blank">http://pastebin.freeswitch.org/18751</a></div>
<div><br></div><div>I also attach logs that provided mys ITSP. Don't mind that there is ip address from privite LAN, the first try was from behind NAT. The second, that i provided above (<a href="http://pastebin.freeswitch.org/18750" target="_blank">http://pastebin.freeswitch.org/18750</a>), was from vps with staticly assigned address. For the first glance I thought that the root of this problem was NAT but IMO it's not.</div>
<div><br></div><div>Also, my external.xmlš</div><div><br></div><div><a href="http://pastebin.freeswitch.org/18752" target="_blank">http://pastebin.freeswitch.org/18752</a>
</div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Sincerely<br><br>Jay<br>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></div></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><br clear="all"><div><br></div>-- <br>Sincerely<br><br>Jay<br>
</div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>