Hi,It should be: - instead of _ between from and domain.<param name="from-domain" value="201.216.208.162"/>SrigoOn Wed, 18 Apr 2018, 10:06 Guillermo Ruiz Camauer, <grcamauer@gmail.com> wrote:______________________________All,I am having a problem with my trunk provider. They are telling me that I am sending invalid data in the FROM field in my INVITEs.send 1105 bytes to udp/[190.210.242.212]:5060 at 20:08:19.303853:----------------------------------------------------------- ------------- INVITE sip:111111111#5401155557558@190.210.242.212 SIP/2.0Via: SIP/2.0/UDP 201.216.208.162;rport;branch=z9hG4bKaUty18S0r7rHH Max-Forwards: 70From: "Caller Name" <sip:1144444444@190.210.242.212 >;tag=cUHKHN7pQBKUSTo: <sip:151885#5401155557558@190.210.242.212 >Call-ID: 0f230991-bd37-1236-769b-1cc1de7988ec CSeq: 121667185 INVITEContact: <sip:1144444444@201.216.208.162:5060;transport=udp;gw= iplan4> User-Agent: FreeSWITCH-mod_sofia/1.8.0+git~20160928T221047Z~ b8c65fb455~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFYSupported: timer, path, replacesAllow-Events: talk, hold, conference, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 226X-FS-Support: update_display,send_infoRemote-Party-ID: "Caller Name" <sip:5551231234@190.210.242.212 >;party=calling;screen=yes;privacy=off v=0o=FreeSWITCH 1523985303 1523985304 IN IP4 201.216.208.162s=FreeSWITCHc=IN IP4 201.216.208.162t=0 0m=audio 21196 RTP/AVP 0 101a=rtpmap:0 PCMU/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=ptime:20They object to the FROM DOMAIN ( 190.210.242.212) being equal to the TO domain.These are one legged calls, and my gateway configuration looks like this:<include><gateway name="iplan4"><param name="username" value="1144444444"/><param name="realm" value="190.210.242.212"/><param name="from_user" value="1143211234"/><param name="from_domain" value="201.216.208.162"/><param name="password" value="ninguna"/><param name="extension" value="1144444444"/><param name="extension-in-contact" value="true"/><param name="proxy" value="190.210.242.212"/><param name="rfc2833-pt" value="101"/><param name="dtmf-type" value="rfc2833"/><param name="liberal-dtmf" value="false"/><param name="apply-inbound-acl" value="iPlan"/><param name="accept-blind-auth" value="true"/><param name="register" value="false"/><param name="register-transport" value="udp"/><param name="retry-seconds" value="30"/></gateway></include>FS is not honoring this line: <param name="from_domain" value="201.216.208.162"/> and is instead using the proxy value in the FROM field.How do I configure the gateway to use my public IP ( 201.216.208.162) in the FROM field?BTW, it is also not honoring the <param name="from_user" value="1143211234"/> line.Thanks,Guillermo--Guillermo Ruiz Camauer______________________________ _____________
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