[Freeswitch-users] Problem with FROM in Gateway comgig with one leggged call
Guillermo Ruiz Camauer
grcamauer at gmail.com
Wed Apr 18 14:41:25 UTC 2018
That was it, thanks!
Guillermo
On Wed, Apr 18, 2018 at 10:38 AM, Srigo Kanapathipillai <ksrigo at gmail.com>
wrote:
> Hi,
>
> It should be: - instead of _ between from and domain.
>
> * <param name="from-domain" value="201.216.208.162"/>*
>
> Srigo
>
> On Wed, 18 Apr 2018, 10:06 Guillermo Ruiz Camauer, <grcamauer at 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 at 190.210.242.212 SIP/2.0
>> Via: SIP/2.0/UDP 201.216.208.162;rport;branch=z9hG4bKaUty18S0r7rHH
>> Max-Forwards: 70
>> From: "Caller Name" <sip:1144444444@*190.210.242.212*
>> >;tag=cUHKHN7pQBKUS
>> To: <sip:151885#5401155557558 at 190.210.242.212>
>> Call-ID: 0f230991-bd37-1236-769b-1cc1de7988ec
>> CSeq: 121667185 INVITE
>> Contact: <sip:1144444444 at 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, NOTIFY
>> Supported: timer, path, replaces
>> Allow-Events: talk, hold, conference, refer
>> Content-Type: application/sdp
>> Content-Disposition: session
>> Content-Length: 226
>> X-FS-Support: update_display,send_info
>> Remote-Party-ID: "Caller Name" <sip:5551231234 at 190.210.242.212
>> >;party=calling;screen=yes;privacy=off
>>
>> v=0
>> o=FreeSWITCH 1523985303 1523985304 IN IP4 201.216.208.162
>> s=FreeSWITCH
>> c=IN IP4 201.216.208.162
>> t=0 0
>> m=audio 21196 RTP/AVP 0 101
>> a=rtpmap:0 PCMU/8000
>> a=rtpmap:101 telephone-event/8000
>> a=fmtp:101 0-16
>> a=ptime:20
>>
>>
>> They 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 at 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 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
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 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
>
--
Guillermo Ruiz Camauer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180418/18c3cc31/attachment.html>
More information about the FreeSWITCH-users
mailing list