[Freeswitch-users] Freeswitch SIP call not work using a static public IP

Brian West brian at freeswitch.org
Thu Jul 20 20:16:51 UTC 2017


also make sure the clients aren't doing stun requests that are behind the
nat with FreeSWITCH....

/b


On Thu, Jul 20, 2017 at 2:28 AM, Jose David Jurado Alonso <
josedavid at zennio.com> wrote:

> Many thanks to all for the answers, I found the solution after writing the
> problem but I did not have time to comment on it here.
>
> The correct configuration is the one that Brian says although I had not
> set "autonat:" as a public IP prefix. I've tried it now and it works too.
>
> However, it does not work in all cases. The only case in which it works
> correctly is the following:
>
> - Video intercom device and FS server in the same network.
> - Mobile client in other net.
>
> But in many other cases it does NOT work properly:
>
> - Video intercom device, FS server and mobile in the same network.
> - Mobile to Mobile (mobiles in different networks and server in other)
> - Mobile to Mobile (all in the same network)
>
>
> My current configuration is the next:
>
> - sip_profiles/external.xml
>
>     <param name="local-network-acl" value="rfc1918.auto"/>
>     <param name="ext-rtp-ip" value="autonat:88.2.243.70"/>
>     <param name="ext-sip-ip" value="autonat:88.2.243.70"/>
>
> - sip_profiles/internal.xml
>
>     <param name="apply-nat-acl" value="rfc1918.auto"/>
>     <param name="local-network-acl" value="rfc1918.auto"/>
>     <param name="ext-rtp-ip" value="autonat:88.2.243.70"/>
>     <param name="ext-sip-ip" value="autonat:88.2.243.70"/>
>
>
> I test using "nat.auto" too. I can attach the entire file if needed.
>
>
> The call is "abandoned" and show show "Rejected by acl "domains". Falling
> back to Digest auth." among other things.
>
> Source mobile as register as "1009 at 88.XX.YY.ZZ" and target mobile as
> "1010 at 88.XX.YY.ZZ". The call is perform as "sip:1010 at 88.XX.YY.ZZ:5080"
>
> The trace log of "Mobile to Mobile" call (I replace public IP to
> 88.XX.YY.ZZ):
>
>
> recv 1401 bytes from udp/[213.143.51.43]:17334 at 09:13:06.058418:
>    -----------------------------------------------------------
> -------------
>    INVITE sip:1010 at 88.XX.YY.ZZ:5080 SIP/2.0
>    Via: SIP/2.0/UDP 10.78.108.57:51363;branch=z9hG4bK.BChE3dtFP;rport
>    From: <sip:1009 at 192.168.230.143:5060>;tag=RV6JBclym
>    To: sip:1010 at 192.168.230.143:5060
>    CSeq: 20 INVITE
>    Call-ID: 5gQ3JhmBhp
>    Max-Forwards: 70
>    Supported: replaces, outbound
>    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
> SUBSCRIBE, INFO, UPDATE
>    Content-Type: application/sdp
>    Content-Length: 799
>    Contact: <sip:1009 at 213.143.51.43:17334;transport=udp>;+sip.instance="
> <urn:uuid:a0671e9c-6a12-4d32-88d9-43f873b85ef6>"
>    User-Agent: LinphoneAndroid/3.2.7 (belle-sip/1.6.1)
>
>    v=0
>    o=1009 1906 519 IN IP4 10.78.108.57
>    s=Talk
>    c=IN IP4 10.78.108.57
>    b=AS:512
>    t=0 0
>    a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
>    m=audio 7076 RTP/AVP 96 97 98 99 0 8 18 101 100 102
>    a=rtpmap:96 opus/48000/2
>    a=fmtp:96 useinbandfec=1
>    a=rtpmap:97 SILK/16000
>    a=rtpmap:98 speex/16000
>    a=fmtp:98 vbr=on
>    a=rtpmap:99 speex/8000
>    a=fmtp:99 vbr=on
>    a=fmtp:18 annexb=yes
>    a=rtpmap:101 telephone-event/48000
>    a=rtpmap:100 telephone-event/16000
>    a=rtpmap:102 telephone-event/8000
>    a=rtcp-fb:* ccm tmmbr
>    m=video 9078 RTP/AVP 96 97
>    a=rtpmap:96 VP8/90000
>    a=rtpmap:97 H264/90000
>    a=fmtp:97 profile-level-id=42801F
>    a=rtcp-fb:* ccm tmmbr
>    a=rtcp-fb:96 nack pli
>    a=rtcp-fb:96 nack sli
>    a=rtcp-fb:96 ack rpsi
>    a=rtcp-fb:96 ccm fir
>    a=rtcp-fb:97 nack pli
>    a=rtcp-fb:97 ccm fir
>    -----------------------------------------------------------
> -------------
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:06.047656 [NOTICE]
> switch_channel.c:1104 New Channel sofia/internal/1009 at 192.168.230.143:5060
> [367536c0-9e81-463d-9c5c-093cd85b292b]
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:06.047656 [DEBUG]
> switch_core_state_machine.c:584 (sofia/internal/1009 at 192.168.230.143:5060)
> Running State Change CS_NEW (Cur 1 Tot 1)
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:06.047656 [DEBUG]
> sofia.c:10067 sofia/internal/1009 at 192.168.230.143:5060 receiving invite
> from 213.143.51.43:17334 version: 1.9.0 -501-7c5d442 64bit
> 2017-07-20 09:13:06.047656 [DEBUG] sofia.c:10238 IP 213.143.51.43 Rejected
> by acl "domains". Falling back to Digest auth.
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:06.047656 [DEBUG]
> switch_core_state_machine.c:603 (sofia/internal/1009 at 192.168.230.143:5060)
> State NEW
> send 830 bytes to udp/[213.143.51.43]:17334 at 09:13:06.061889:
>    -----------------------------------------------------------
> -------------
>    SIP/2.0 407 Proxy Authentication Required
>    Via: SIP/2.0/UDP 10.78.108.57:51363;branch=
> z9hG4bK.BChE3dtFP;rport=17334;received=213.143.51.43
>    From: <sip:1009 at 192.168.230.143:5060>;tag=RV6JBclym
>    To: <sip:1010 at 192.168.230.143:5060>;tag=8Uc3QUtpgUjSm
>    Call-ID: 5gQ3JhmBhp
>    CSeq: 20 INVITE
>    User-Agent: FreeSWITCH-mod_sofia/1.9.0-501-7c5d442~64bit
>    Accept: application/sdp
>    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
>    Supported: timer, path, replaces
>    Allow-Events: talk, hold, conference, presence, as-feature-event,
> dialog, line-seize, call-info, sla, include-session-description,
> presence.winfo, message-summary, refer
>    Proxy-Authenticate: Digest realm="192.168.230.143",
> nonce="1a8a328f-a982-4886-adae-1c5554c8d017", algorithm=MD5, qop="auth"
>    Content-Length: 0
>
>    -----------------------------------------------------------
> -------------
> 2017-07-20 09:13:06.047656 [DEBUG] sofia.c:2405 detaching session
> 367536c0-9e81-463d-9c5c-093cd85b292b
> recv 389 bytes from udp/[213.143.51.43]:17334 at 09:13:06.184956:
>    -----------------------------------------------------------
> -------------
>    ACK sip:1010 at 88.XX.YY.ZZ:5080 SIP/2.0
>    Via: SIP/2.0/UDP 10.78.108.57:51363;branch=z9hG4bK.BChE3dtFP;rport
>    Call-ID: 5gQ3JhmBhp
>    From: <sip:1009 at 192.168.230.143:5060>;tag=RV6JBclym
>    To: <sip:1010 at 192.168.230.143:5060>;tag=8Uc3QUtpgUjSm
>    Contact: <sip:1009 at 213.143.51.43:17334;transport=udp>;+sip.instance="
> <urn:uuid:a0671e9c-6a12-4d32-88d9-43f873b85ef6>"
>    Max-Forwards: 70
>    CSeq: 20 ACK
>
>    -----------------------------------------------------------
> -------------
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.087657 [WARNING]
> switch_core_state_machine.c:687 367536c0-9e81-463d-9c5c-093cd85b292b
> sofia/internal/1009 at 192.168.230.143:5060 Abandoned
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.087657 [NOTICE]
> switch_core_state_machine.c:690 Hangup sofia/internal/1009 at 192.168.
> 230.143:5060 [CS_NEW] [WRONG_CALL_STATE]
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.087657 [DEBUG]
> switch_core_state_machine.c:584 (sofia/internal/1009 at 192.168.230.143:5060)
> Running State Change CS_HANGUP (Cur 1 Tot 1)
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.087657 [DEBUG]
> switch_core_state_machine.c:850 (sofia/internal/1009 at 192.168.230.143:5060)
> Callstate Change DOWN -> HANGUP
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.087657 [DEBUG]
> switch_core_state_machine.c:852 (sofia/internal/1009 at 192.168.230.143:5060)
> State HANGUP
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.087657 [DEBUG]
> mod_sofia.c:449 Channel sofia/internal/1009 at 192.168.230.143:5060 hanging
> up, cause: WRONG_CALL_STATE
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [DEBUG]
> switch_core_state_machine.c:60 sofia/internal/1009 at 192.168.230.143:5060
> Standard HANGUP, cause: WRONG_CALL_STATE
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [DEBUG]
> switch_core_state_machine.c:852 (sofia/internal/1009 at 192.168.230.143:5060)
> State HANGUP going to sleep
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [DEBUG]
> switch_core_state_machine.c:619 (sofia/internal/1009 at 192.168.230.143:5060)
> State Change CS_HANGUP -> CS_REPORTING
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [DEBUG]
> switch_core_state_machine.c:584 (sofia/internal/1009 at 192.168.230.143:5060)
> Running State Change CS_REPORTING (Cur 1 Tot 1)
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [DEBUG]
> switch_core_state_machine.c:938 (sofia/internal/1009 at 192.168.230.143:5060)
> State REPORTING
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [DEBUG]
> switch_core_state_machine.c:174 sofia/internal/1009 at 192.168.230.143:5060
> Standard REPORTING, cause: WRONG_CALL_STATE
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [DEBUG]
> switch_core_state_machine.c:938 (sofia/internal/1009 at 192.168.230.143:5060)
> State REPORTING going to sleep
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [DEBUG]
> switch_core_state_machine.c:610 (sofia/internal/1009 at 192.168.230.143:5060)
> State Change CS_REPORTING -> CS_DESTROY
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [DEBUG]
> switch_core_session.c:1713 Session 1 (sofia/internal/1009 at 192.168.
> 230.143:5060) Locked, Waiting on external entities
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [NOTICE]
> switch_core_session.c:1731 Session 1 (sofia/internal/1009 at 192.168.
> 230.143:5060) Ended
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [NOTICE]
> switch_core_session.c:1735 Close Channel sofia/internal/1009 at 192.168.
> 230.143:5060 [CS_DESTROY]
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [DEBUG]
> switch_core_state_machine.c:741 (sofia/internal/1009 at 192.168.230.143:5060)
> Running State Change CS_DESTROY (Cur 0 Tot 1)
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [DEBUG]
> switch_core_state_machine.c:751 (sofia/internal/1009 at 192.168.230.143:5060)
> State DESTROY
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [DEBUG]
> mod_sofia.c:354 sofia/internal/1009 at 192.168.230.143:5060 SOFIA DESTROY
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [DEBUG]
> switch_core_state_machine.c:181 sofia/internal/1009 at 192.168.230.143:5060
> Standard DESTROY
> 367536c0-9e81-463d-9c5c-093cd85b292b 2017-07-20 09:13:16.107626 [DEBUG]
> switch_core_state_machine.c:751 (sofia/internal/1009 at 192.168.230.143:5060)
> State DESTROY going to sleep
>
>
>
>
>
>
>
>
>
>
> José David Jurado Alonso <josedavid at zennio.com>
>
> *Área de Desarrollo de Software de Alto Nivel*
>
> *Dpto. Ingeniería*
>
> [image: Descripción: cid:image010.jpg at 01D27631.DF7E30F0]
>
> Zennio Avance y Tecnología, S.L.
>
> C/ Rio Jarama,132. Nave P-8.11
>
> 45007 - Toledo (Spain)
>
> T: +34 925 232 002 <+34%20925%2023%2020%2002>
>
> www.zennio.com
>
> [image: Descripción: Descripción: C:\Users\jjmanjarres\Desktop\Z
> zennio.jpg] <http://www.zennio.com/> [image: Descripción: Descripción:
> C:\Users\jjmanjarres\Desktop\twitter.jpg]
> <http://www.twitter.com/Zennio_en> [image: Descripción: Descripción:
> C:\Users\jjmanjarres\Desktop\descarga.jpg]
> <http://www.facebook.com/ZennioInternational> [image: Descripción:
> Descripción: C:\Users\jjmanjarres\Desktop\linkedin.png]
> <http://www.linkedin.com/company/zennio> [image: Descripción:
> Descripción: C:\Users\jjmanjarres\Desktop\youtube.jpg]
> <https://www.youtube.com/user/ZennioEnglish>
>
> Zennio Avance y Tecnología S.L le informa de los siguientes extremos:
> Los datos por usted suministrados pasarán a formar parte de un fichero
> cuyo responsable es Zennio Avance y Tecnología S.L. Dicho fichero se
> encuentra legalmente inscrito en el Registro General de Protección de Datos
> de la Agencia Española de Protección de Datos. Los datos por usted
> suministrados serán empleados con fines de gestión, Zennio Avance y
> Tecnología S.L ha adoptado las medidas de seguridad exigidas en función del
> nivel de los datos suministrados, instalando las medidas técnicas y
> organizativas necesarias, habida cuenta del estado de la tecnología, a fin
> de evitar su pérdida, alteración, uso inadecuado o accesos no autorizados a
> los mismos.
> Para el ejercicio de sus derechos de acceso, rectificación, cancelación y
> oposición deberá dirigirse a la dirección del Responsable de Fichero Zennio
> Avance y Tecnología S.L C/ Rio Jarama, 132. Nave P-8.11, 45007, TOLEDO o a
> la dirección de correo electrónico: info at zennio.com
>
> Please, consider the environment before printing this e-mail... Save
> energy!
>
> Por favor, piensa en el medio ambiente antes de imprimir este e-mail... ¡Ahorra
> energía!
>
> Disclaimer:
> This message and any attached files transmitted with it, is confidential,
> especially as regards personal data. It is intended solely for the use of
> the individual or entity to whom it is addressed. If you are not the
> intended recipient and have received this information in error or have
> accessed it for any reason, please notify us of this fact by email reply
> and then destroy or delete the message, refraining from any reproduction,
> use, alteration, filing or communication to third parties of this message
> and attached files on penalty of incurring legal responsibilities. The
> opinions contained in this message and the attached archives, belong
> exclusively to their sender and they do not represent the opinion of the
> company unless it is said specifically and the sender is authorized for it.
> The sender does not guarantee the integrity, the accuracy, the swift
> delivery or the security of this email transmission, and assumes no
> responsibility for any possible damage incurred through data capture, virus
> incorporation or any manipulation carried out by third parties.
>
> Advertencia legal:
> Este mensaje y, en su caso, los ficheros anexos son confidenciales,
> especialmente en lo que respecta a los datos personales, y se dirigen
> exclusivamente al destinatario referenciado. Si usted no lo es y lo ha
> recibido por error o tiene conocimiento del mismo por cualquier motivo, le
> rogamos que nos lo comunique por este medio y proceda a destruirlo o
> borrarlo, y que en todo caso se abstenga de utilizar, reproducir, alterar,
> archivar o comunicar a terceros el presente mensaje y ficheros anexos, todo
> ello bajo pena de incurrir en responsabilidades legales. Las opiniones
> contenidas en este mensaje y en los archivos adjuntos, pertenecen
> exclusivamente a su remitente y no representan la opinión de la empresa
> salvo que se diga expresamente y el remitente esté autorizado para ello. El
> emisor no garantiza la integridad, rapidez o seguridad del presente correo,
> ni se responsabiliza de posibles perjuicios derivados de la captura,
> incorporaciones de virus o cualesquiera otras manipulaciones efectuadas por
> terceros.
>
> 2017-07-19 21:00 GMT+02:00 Brian West <brian at freeswitch.org>:
>
>> 1. set up your local-network-acl . (rfc1918.auto is good start)
>> 2. setup your ext-rtp-ip and ext-sip-ip and MAKE SURE you prefix it with
>> autonat: so it activates the proper behavior for you.
>>
>> This should be all you have to do so you can talk to devices inside and
>> outside the NAT at the same time.
>>
>> /b
>>
>>
>> On Wed, Jul 19, 2017 at 9:30 AM, David Villasmil <
>> david.villasmil.work at gmail.com> wrote:
>>
>>> +1 about forwarding upds...
>>> But looking at the logs, we can't really see whether the call was
>>> processed or not, just that it was "abandoned" and that usually happens
>>> when freeswitch responds with a 401/407 and the client never
>>> authenticates...
>>>
>>> enter:
>>> sofia profile internal siptrace on
>>>
>>> to see all messages and make sure the client responds properly and paste
>>> the signaling here.
>>>>>>
>>> Regards,
>>>
>>> David Villasmil
>>> email: david.villasmil.work at gmail.com
>>> phone: +34669448337 <+34%20669%2044%2083%2037>
>>>
>>> On Wed, Jul 19, 2017 at 4:18 PM, Joel Serrano <joel at gogii.net> wrote:
>>>
>>>> Double check your ACLs, yes. Also, I'm pretty sure you will also have
>>>> to forward the RTP port range so you can have audio... Otherwise signaling
>>>> will work, but your next problem will be one-way-audio.
>>>>
>>>>
>>>> On Tue, Jul 18, 2017 at 11:43 PM, Jose David Jurado Alonso <
>>>> josedavid at zennio.com> wrote:
>>>>
>>>>>
>>>>> I've installed *freeswitch into a local environment* and I perform
>>>>> SIP calls well using the server local IP.
>>>>>
>>>>> This server has connected to ADSL network with a *static public IP*
>>>>> but when I try to call using the public IP instead of the local IP the
>>>>> server receive the call not work...
>>>>>
>>>>> The clients can register well (or I think so). Others process like
>>>>> apache work well.
>>>>>
>>>>> I NAT forwarding in the firewall the next ports: 5060, 5080, 7443.
>>>>>
>>>>> *$ netstat -putan*
>>>>>
>>>>> Active Internet connections (servers and established)
>>>>> Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
>>>>> tcp        0      0 192.168.230.143:2855    0.0.0.0:*               LISTEN      15894/freeswitch
>>>>> tcp        0      0 192.168.230.143:2856    0.0.0.0:*               LISTEN      15894/freeswitch
>>>>> tcp        0      0 192.168.230.143:5066    0.0.0.0:*               LISTEN      15894/freeswitch
>>>>> tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1166/nginx -g daemo
>>>>> tcp        0      0 192.168.230.143:7443    0.0.0.0:*               LISTEN      15894/freeswitch
>>>>> tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1079/sshd
>>>>> tcp        0      0 192.168.230.143:5080    0.0.0.0:*               LISTEN      15894/freeswitch
>>>>> tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      1166/nginx -g daemo
>>>>> tcp        0      0 192.168.230.143:5060    0.0.0.0:*               LISTEN      15894/freeswitch
>>>>> tcp        0      0 192.168.230.143:22      192.168.230.167:60298   ESTABLISHED 14816/sshd: ubuntu
>>>>> tcp        0      0 192.168.230.143:22      192.168.230.167:60296   ESTABLISHED 14744/sshd: ubuntu
>>>>> tcp6       0      0 :::80                   :::*                    LISTEN      1166/nginx -g daemo
>>>>> tcp6       0      0 :::8021                 :::*                    LISTEN      15894/freeswitch
>>>>> tcp6       0      0 :::22                   :::*                    LISTEN      1079/sshd
>>>>> tcp6       0      0 ::1:5080                :::*                    LISTEN      15894/freeswitch
>>>>> tcp6       0      0 :::443                  :::*                    LISTEN      1166/nginx -g daemo
>>>>> tcp6       0      0 ::1:5060                :::*                    LISTEN      15894/freeswitch
>>>>> udp        0      0 192.168.230.143:5060    0.0.0.0:*                           15894/freeswitch
>>>>> udp        0      0 192.168.230.143:5080    0.0.0.0:*                           15894/freeswitch
>>>>> udp        0      0 0.0.0.0:68              0.0.0.0:*                           1019/dhclient
>>>>> udp6       0      0 ::1:5060                :::*                                15894/freeswitch
>>>>> udp6       0      0 ::1:5080                :::*                                15894/freeswitch
>>>>>
>>>>> *$ fs_cli -x "sofia status"*
>>>>>
>>>>>                      Name      Type                                       Data  State
>>>>> =================================================================================================
>>>>>             external-ipv6   profile                   sip:mod_sofia@[::1]:5080  RUNNING (0)
>>>>>           192.168.230.143     alias                                   internal  ALIASED
>>>>>                  external   profile         sip:mod_sofia at 192.168.230.143:5080  RUNNING (0)
>>>>>     external::example.com   gateway                    sip:joeuser at example.com  NOREG
>>>>>             internal-ipv6   profile                   sip:mod_sofia@[::1]:5060  RUNNING (0)
>>>>>                  internal   profile         sip:mod_sofia at 192.168.230.143:5060  RUNNING (0)
>>>>> =================================================================================================
>>>>>
>>>>> *$ fs_cli -x "sofia status profile external"*
>>>>>
>>>>> =================================================================================================
>>>>> Name                external
>>>>> Domain Name         N/A
>>>>> Auto-NAT            false
>>>>> DBName              sofia_reg_external
>>>>> Pres Hosts
>>>>> Dialplan            XML
>>>>> Context             public
>>>>> Challenge Realm     auto_to
>>>>> RTP-IP              192.168.230.143
>>>>> SIP-IP              192.168.230.143
>>>>> URL                 sip:mod_sofia at 192.168.230.143:5080
>>>>> BIND-URL            sip:mod_sofia at 192.168.230.143:5080;transport=udp,tcp
>>>>> HOLD-MUSIC          local_stream://moh
>>>>> OUTBOUND-PROXY      N/A
>>>>> CODECS IN           OPUS,G722,PCMU,PCMA,VP8,H264
>>>>> CODECS OUT          OPUS,G722,PCMU,PCMA,VP8,H264
>>>>> TEL-EVENT           101
>>>>> DTMF-MODE           rfc2833
>>>>> CNG                 13
>>>>> SESSION-TO          0
>>>>> MAX-DIALOG          0
>>>>> NOMEDIA             false
>>>>> LATE-NEG            true
>>>>> PROXY-MEDIA         false
>>>>> ZRTP-PASSTHRU       true
>>>>> AGGRESSIVENAT       false
>>>>> CALLS-IN            0
>>>>> FAILED-CALLS-IN     0
>>>>> CALLS-OUT           0
>>>>> FAILED-CALLS-OUT    0
>>>>> REGISTRATIONS       0
>>>>>
>>>>> *$ grep -r '"ext-' **
>>>>>
>>>>> sip_profiles/external.xml:    <param name="ext-rtp-ip" value="auto-nat"/>
>>>>> sip_profiles/external.xml:    <param name="ext-rtp-ip" value="auto-nat"/>
>>>>> sip_profiles/internal.xml:    <param name="ext-rtp-ip" value="auto-nat"/>
>>>>> sip_profiles/internal.xml:    <param name="ext-sip-ip" value="auto-nat"/>
>>>>>
>>>>> When I perform a call the freeswitch.log file show:
>>>>>
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:44:51.218939 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1009 at 192.168.230.143:5060 [df895d9a-30f2-40b5-97bb-56e222c1c45f]
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:44:51.218939 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1009 at 192.168.230.143:5060) Running State Change CS_NEW (Cur 1 Tot 7)
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:44:51.218939 [DEBUG] sofia.c:10067 sofia/internal/1009 at 192.168.230.143:5060 receiving invite from 88.33.111.22:57076 version: 1.9.0 -493-13f2f2a 64bit
>>>>> 2017-07-18 14:44:51.218939 [DEBUG] sofia.c:10238 IP 88.33.111.22 Rejected by acl "domains". Falling back to Digest auth.
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:44:51.218939 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/1009 at 192.168.230.143:5060) State NEW
>>>>> 2017-07-18 14:44:51.218939 [DEBUG] sofia.c:2405 detaching session df895d9a-30f2-40b5-97bb-56e222c1c45f
>>>>>
>>>>> and passed some seconds:
>>>>>
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [WARNING] switch_core_state_machine.c:687 df895d9a-30f2-40b5-97bb-56e222c1c45f sofia/internal/1009 at 192.168.230.143:5060 Abandoned
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/internal/1009 at 192.168.230.143:5060 [CS_NEW] [WRONG_CALL_STATE]
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1009 at 192.168.230.143:5060) Running State Change CS_HANGUP (Cur 1 Tot 7)
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/1009 at 192.168.230.143:5060) Callstate Change DOWN -> HANGUP
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1009 at 192.168.230.143:5060) State HANGUP
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] mod_sofia.c:449 Channel sofia/internal/1009 at 192.168.230.143:5060 hanging up, cause: WRONG_CALL_STATE
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1009 at 192.168.230.143:5060 Standard HANGUP, cause: WRONG_CALL_STATE
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1009 at 192.168.230.143:5060) State HANGUP going to sleep
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/1009 at 192.168.230.143:5060) State Change CS_HANGUP -> CS_REPORTING
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1009 at 192.168.230.143:5060) Running State Change CS_REPORTING (Cur 1 Tot 7)
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1009 at 192.168.230.143:5060) State REPORTING
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:174 sofia/internal/1009 at 192.168.230.143:5060 Standard REPORTING, cause: WRONG_CALL_STATE
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1009 at 192.168.230.143:5060) State REPORTING going to sleep
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/1009 at 192.168.230.143:5060) State Change CS_REPORTING -> CS_DESTROY
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_session.c:1713 Session 7 (sofia/internal/1009 at 192.168.230.143:5060) Locked, Waiting on external entities
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [NOTICE] switch_core_session.c:1731 Session 7 (sofia/internal/1009 at 192.168.230.143:5060) Ended
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [NOTICE] switch_core_session.c:1735 Close Channel sofia/internal/1009 at 192.168.230.143:5060 [CS_DESTROY]
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1009 at 192.168.230.143:5060) Running State Change CS_DESTROY (Cur 0 Tot 7)
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1009 at 192.168.230.143:5060) State DESTROY
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] mod_sofia.c:354 sofia/internal/1009 at 192.168.230.143:5060 SOFIA DESTROY
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:181 sofia/internal/1009 at 192.168.230.143:5060 Standard DESTROY
>>>>> df895d9a-30f2-40b5-97bb-56e222c1c45f 2017-07-18 14:45:01.258940 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1009 at 192.168.230.143:5060) State DESTROY going to sleep
>>>>>
>>>>> Can it be an ACL or sip_profile bad configuration?? Router firewall
>>>>> configuration maybe?
>>>>>
>>>>> ____________________________________________________________
>>>>> _____________
>>>>> 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/free
>>>>> switch-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/free
>>>> switch-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
>>>
>>
>>
>>
>> --
>>
>> *Brian West*
>> brian at freeswitch.org
>>
>> *Twitter: @FreeSWITCH , @briankwest*
>>
>> http://www.freeswitchbook.com
>> http://www.freeswitchcookbook.com
>>
>> Book a phone call (CST) <https://freeswitch.com/appointment>
>>
>> Allison prompts for FreeSWITCH:
>>
>> *https://www.gofundme.com/allison-prompts-for-freeswitch*
>> <https://www.gofundme.com/allison-prompts-for-freeswitch>
>>
>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
>> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>
>> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002>
>> | *M:*+1918424WEST (9378)
>> *Skype:*briankwest
>>
>> _________________________________________________________________________
>> 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
>



-- 

*Brian West*
brian at freeswitch.org

*Twitter: @FreeSWITCH , @briankwest*

http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Book a phone call (CST) <https://freeswitch.com/appointment>

Allison prompts for FreeSWITCH:

*https://www.gofundme.com/allison-prompts-for-freeswitch*
<https://www.gofundme.com/allison-prompts-for-freeswitch>

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170720/91796bac/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 1006 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170720/91796bac/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 966 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170720/91796bac/attachment-0005.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 1024 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170720/91796bac/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 1196 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170720/91796bac/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 1135 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170720/91796bac/attachment-0007.jpg>


More information about the FreeSWITCH-users mailing list