Hi Sergey,

Here is siptrace on

   ------------------------------------------------------------------------
recv 1297 bytes from udp/[XX.XX.XX.XX]:65476 at 13:03:33.076573:
   ------------------------------------------------------------------------
   INVITE sip:110@Server_IP SIP/2.0
   Via: SIP/2.0/UDP Server_IP:65476;branch=z9hG4bK857495836;rport
   Route: <sip:Server_IP:5060;lr>
   From: "2005101" <sip:2005101@Server_IP>;tag=1993111711
   To: <sip:110@Server_IP>
   Call-ID: 252680529-5060-12@GG.CCG.HD.CAA
   CSeq: 100 INVITE
   Contact: "2005101" <sip:2005101@XX.XX.XX.XX:20602>
   Max-Forwards: 70
   User-Agent: Grandstream GXP1625 1.0.4.6
   Privacy: none
   P-Preferred-Identity: "2005101" <sip:2005101@Server_IP>
   P-Access-Network-Info: IEEE-EUI-48;eui-48-addr=84-80-2D-04-00-C1
   P-Emergency-Info: IEEE-EUI-48;eui-48-addr=00-0B-82-9B-23-9E
   Supported: replaces, path, timer
   Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
   Content-Type: application/sdp
   Accept: application/sdp, application/dtmf-relay
   Content-Length:438

   v=0
   o=2005101 8000 8000 IN IP4 XX.XX.XX.XX
   s=SIP Call
   i=(o=IN IP4 Server_IP)
   c=IN IP4 XX.XX.XX.XX
   t=0 0
   m=audio 21124 RTP/AVP 0 8 4 18 9 97 2 101
   a=sendrecv
   a=rtpmap:0 PCMU/8000
   a=ptime:20
   a=rtpmap:8 PCMA/8000
   a=rtpmap:4 G723/8000
   a=rtpmap:18 G729/8000
   a=fmtp:18 annexb=no
   a=rtpmap:9 G722/8000
   a=rtpmap:97 iLBC/8000
   a=fmtp:97 mode=30
   a=rtpmap:2 G726-32/8000
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-15
   ------------------------------------------------------------------------
send 343 bytes to udp/[XX.XX.XX.XX]:65476 at 13:03:33.076764:
   ------------------------------------------------------------------------
   SIP/2.0 100 Trying
   Via: SIP/2.0/UDP Server_IP:65476;branch=z9hG4bK857495836;rport=65476;received=XX.XX.XX.XX
   From: "2005101" <sip:2005101@Server_IP>;tag=1993111711
   To: <sip:110@Server_IP>
   Call-ID: 252680529-5060-12@GG.CCG.HD.CAA
   CSeq: 100 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.4.26~64bit
   Content-Length: 0

   ------------------------------------------------------------------------
2017-03-16 13:03:33.065793 [NOTICE] switch_channel.c:1077 New Channel sofia/internal/2005101@Server_IP [a5b713c2-0a81-46e9-a1f4-d2b21d4f196e]
2017-03-16 13:03:33.065793 [DEBUG] switch_core_session.c:1062 Send signal sofia/internal/2005101@Server_IP [BREAK]
2017-03-16 13:03:33.065793 [DEBUG] switch_core_session.c:1062 Send signal sofia/internal/2005101@Server_IP [BREAK]
2017-03-16 13:03:33.065793 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/2005101@Server_IP) Running State Change CS_NEW
2017-03-16 13:03:33.065793 [DEBUG] sofia.c:8957 sofia/internal/2005101@Server_IP receiving invite from XX.XX.XX.XX:65476 version: 1.4.26  64bit
2017-03-16 13:03:33.065793 [DEBUG] sofia.c:9124 IP XX.XX.XX.XX Rejected by acl "domains". Falling back to Digest auth.
2017-03-16 13:03:33.065793 [DEBUG] switch_core_state_machine.c:491 (sofia/internal/2005101@Server_IP) State NEW
send 869 bytes to udp/[XX.XX.XX.XX]:65476 at 13:03:33.077301:
   ------------------------------------------------------------------------
   SIP/2.0 407 Proxy Authentication Required
   Via: SIP/2.0/UDP Server_IP:65476;branch=z9hG4bK857495836;rport=65476;received=XX.XX.XX.XX
   From: "2005101" <sip:2005101@Server_IP>;tag=1993111711
   To: <sip:110@Server_IP>;tag=0j437DHZcpFDm
   Call-ID: 252680529-5060-12@GG.CCG.HD.CAA
   CSeq: 100 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.4.26~64bit
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, PRACK, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: precondition, 100rel, 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="Server_IP", nonce="e6e8e602-da30-456c-8b80-28c8a84288e3", algorithm=MD5, qop="auth"
   Content-Length: 0

   ------------------------------------------------------------------------
2017-03-16 13:03:33.065793 [DEBUG] switch_core_session.c:1062 Send signal sofia/internal/2005101@Server_IP [BREAK]
2017-03-16 13:03:33.065793 [DEBUG] sofia.c:2065 detaching session a5b713c2-0a81-46e9-a1f4-d2b21d4f196e
recv 332 bytes from udp/[XX.XX.XX.XX]:65476 at 13:03:33.146616:
   ------------------------------------------------------------------------
   ACK sip:110@Server_IP SIP/2.0
   Via: SIP/2.0/UDP Server_IP:65476;branch=z9hG4bK857495836;rport
   Route: <sip:Server_IP:5060;lr>
   From: "2005101" <sip:2005101@Server_IP>;tag=1993111711
   To: <sip:110@Server_IP>;tag=0j437DHZcpFDm
   Call-ID: 252680529-5060-12@GG.CCG.HD.CAA
   CSeq: 100 ACK
   Content-Length: 0

   ------------------------------------------------------------------------
freeswitch@internal> sofia global siptrace off
+OK Global siptrace off
2017-03-16 13:03:43.105792 [WARNING] switch_core_state_machine.c:572 a5b713c2-0a81-46e9-a1f4-d2b21d4f196e sofia/internal/2005101@Server_IP Abandoned
2017-03-16 13:03:43.105792 [NOTICE] switch_core_state_machine.c:575 Hangup sofia/internal/2005101@Server_IP [CS_NEW] [WRONG_CALL_STATE]
2017-03-16 13:03:43.105792 [DEBUG] switch_channel.c:3244 Send signal sofia/internal/2005101@Server_IP [KILL]
2017-03-16 13:03:43.105792 [DEBUG] switch_core_session.c:1397 Send signal sofia/internal/2005101@Server_IP [BREAK]
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/2005101@Server_IP) Running State Change CS_HANGUP
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:735 (sofia/internal/2005101@Server_IP) Callstate Change DOWN -> HANGUP
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:737 (sofia/internal/2005101@Server_IP) State HANGUP
2017-03-16 13:03:43.105792 [DEBUG] mod_sofia.c:413 Channel sofia/internal/2005101@Server_IP hanging up, cause: WRONG_CALL_STATE
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:60 sofia/internal/2005101@Server_IP Standard HANGUP, cause: WRONG_CALL_STATE
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:737 (sofia/internal/2005101@Server_IP) State HANGUP going to sleep
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:504 (sofia/internal/2005101@Server_IP) State Change CS_HANGUP -> CS_REPORTING
2017-03-16 13:03:43.105792 [DEBUG] switch_core_session.c:1397 Send signal sofia/internal/2005101@Server_IP [BREAK]
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/2005101@Server_IP) Running State Change CS_REPORTING
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:823 (sofia/internal/2005101@Server_IP) State REPORTING
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:104 sofia/internal/2005101@Server_IP Standard REPORTING, cause: WRONG_CALL_STATE
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:823 (sofia/internal/2005101@Server_IP) State REPORTING going to sleep
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:498 (sofia/internal/2005101@Server_IP) State Change CS_REPORTING -> CS_DESTROY
2017-03-16 13:03:43.105792 [DEBUG] switch_core_session.c:1397 Send signal sofia/internal/2005101@Server_IP [BREAK]
2017-03-16 13:03:43.105792 [DEBUG] switch_core_session.c:1624 Session 8611 (sofia/internal/2005101@Server_IP) Locked, Waiting on external entities
2017-03-16 13:03:43.105792 [NOTICE] switch_core_session.c:1642 Session 8611 (sofia/internal/2005101@Server_IP) Ended
2017-03-16 13:03:43.105792 [NOTICE] switch_core_session.c:1646 Close Channel sofia/internal/2005101@Server_IP [CS_DESTROY]
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:626 (sofia/internal/2005101@Server_IP) Running State Change CS_DESTROY
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:636 (sofia/internal/2005101@Server_IP) State DESTROY
2017-03-16 13:03:43.105792 [DEBUG] mod_sofia.c:323 sofia/internal/2005101@Server_IP SOFIA DESTROY
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:111 sofia/internal/2005101@Server_IP Standard DESTROY
2017-03-16 13:03:43.105792 [DEBUG] switch_core_state_machine.c:636 (sofia/internal/2005101@Server_IP) State DESTROY going to sleep


On Thu, Mar 16, 2017 at 11:37 PM, Sergey Safarov <s.safarov@gmail.com> wrote:

I not next invite messages with Auth header.
Please enable siptrace


чт, 16 марта 2017, 20:52 Uday kumar <udy786@gmail.com>:
Hi,

I have multiple Grandstream IP phone in my network. All IP phones are working but only one IP phone is not workint i.e GXP1625 with Freeswitch. I am able to register extension and also incoming call is working but when making outgoing call then only its not working. I tried same IP phone with Asterisk and its working in incoming and outgoing both. 

I am using this only for extension to extension calls so incoming and outgoing calls only between extensions. 

Is Grandstream GXP1625 supported with Freeswitch or not?

When I am dialing outgoing call then on CLI getting below logs:-

[NOTICE] switch_channel.c:1077 New Channel sofia/internal/2005101@Server_IP [ab84501a-345e-445c-8d4a-52d4d6594e21]
[DEBUG] switch_core_session.c:1062 Send signal sofia/internal/2005101@Server_IP [BREAK]
[DEBUG] switch_core_session.c:1062 Send signal sofia/internal/2005101@Server_IP [BREAK]
[DEBUG] switch_core_state_machine.c:472 (sofia/internal/2005101@Server_IP) Running State Change CS_NEW
[DEBUG] sofia.c:8957 sofia/internal/2005101@Server_IP receiving invite from XX.XX.XX.XX:65476 version: 1.4.26  64bit
[DEBUG] sofia.c:9124 IP XX.XX.XX.XX Rejected by acl "domains". Falling back to Digest auth.
[DEBUG] switch_core_state_machine.c:491 (sofia/internal/2005101@Server_IP) State NEW
[DEBUG] switch_core_session.c:1062 Send signal sofia/internal/2005101@Server_IP [BREAK]
[DEBUG] sofia.c:2065 detaching session ab84501a-345e-445c-8d4a-52d4d6594e21

Output of sofia status profile internal reg 2005101:-

Registrations:
=================================================================================================
Call-ID:        926642231-5060-1@GG.CCG.HD.CAA
User:           2005101@Server_IP
Contact:        "" <sip:2005101@XX.XX.XX.XX:65476>
Agent:          Grandstream GXP1625 1.0.4.6
Status:         Registered(UDP)(unknown) EXP(2017-03-16 12:25:52) EXPSECS(2409)
Ping-Status:    Reachable
Ping-Time:      0.00
Host:           Server_IP
IP:             XX.XX.XX.XX
Port:           65476
Auth-User:      2005101
Auth-Realm:     Server_IP
MWI-Account:    2005101@Server_IP

-- 
Thanks & Regard
Uday
_________________________________________________________________________
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



--
Thanks & Regard
Uday
Site:- www.shareyourknowledge.in
Mobile:- +91-9377579349