REFER message with replaces from Alcate OmniPCX Server

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

REFER message with replaces from Alcate OmniPCX Server

hancymoon
This post has NOT been accepted by the mailing list yet.
Hello everyone:

I have a internal sip phone(A) registered to Freeswitch. If A call a number via siptrunk to Alcate's phone(B). B answered, then transfer this call to Alcate's phone(C), if C is still ringing, but B hangup, then C stop ringing and hangup, and there is no connection bwtween A and C.
Please help me to check why A cannot connect to C.

Here is the log:
recv 688 bytes from udp/[160.7.237.4]:5060 at 12:18:20.272035:
   ------------------------------------------------------------------------
   REFER sip:gw+siptrunk1@160.7.237.89:5080;transport=udp;gw=siptrunk1 SIP/2.0
   Contact: sip:160.7.237.4
   Supported: timer,path,100rel
   User-Agent: OmniPCX Enterprise R11.2.2 l2.300.33.a
   Refer-To: <sip:7950@160.7.237.4;user=phone?REPLACES=5334d53d-b3c8-1235-dfbf-109836ab50bb%3bto-tag%3dvaZK46cXrgeyQ%3bfrom-tag%3d85e354db02f8d15fe12b28a385cb8861>
   Referred-By: sip:1260@160.7.237.4
   To: sip:66577160@160.7.237.89;tag=vaZK46cXrgeyQ
   From: sip:1260@160.7.237.4:5060;tag=85e354db02f8d15fe12b28a385cb8861
   Call-ID: 5334d53d-b3c8-1235-dfbf-109836ab50bb
   CSeq: 1904933290 REFER
   Via: SIP/2.0/UDP 160.7.237.4;branch=z9hG4bK7d39c893d0c0fd0deab78b450e6efd31
   Max-Forwards: 70
   Content-Length: 0
   
   ------------------------------------------------------------------------
7bd68496-3925-11e7-9cfa-29f19fd18425 2017-05-15 12:18:20.270464 [DEBUG] sofia.c:8487 Process REFER to [7950@160.7.237.4]
7bd68496-3925-11e7-9cfa-29f19fd18425 2017-05-15 12:18:20.270464 [DEBUG] sofia.c:8513 Replaces: [5334d53d-b3c8-1235-dfbf-109836ab50bb]
send 613 bytes to udp/[160.7.237.4]:5060 at 12:18:20.290107:
   ------------------------------------------------------------------------
   SIP/2.0 202 Accepted
   Via: SIP/2.0/UDP 160.7.237.4;branch=z9hG4bK7d39c893d0c0fd0deab78b450e6efd31
   From: sip:1260@160.7.237.4:5060;tag=85e354db02f8d15fe12b28a385cb8861
   To: sip:66577160@160.7.237.89;tag=vaZK46cXrgeyQ
   Call-ID: 5334d53d-b3c8-1235-dfbf-109836ab50bb
   CSeq: 1904933290 REFER
   Contact: <sip:gw+siptrunk1@160.7.237.89:5080;transport=udp;gw=siptrunk1>
   Expires: 60
   User-Agent: FreeSWITCH-mod_sofia/1.6.15~64bit
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
   Supported: timer, path, replaces
   Allow-Events: talk, hold, conference, refer
   Content-Length: 0
   
   ------------------------------------------------------------------------
7bd68496-3925-11e7-9cfa-29f19fd18425 2017-05-15 12:18:20.270464 [NOTICE] sofia.c:8710 Attended Transfer [791cb18a-3925-11e7-9cf0-29f19fd18425][791cb18a-3925-11e7-9cf0-29f19fd18425]
791cb18a-3925-11e7-9cf0-29f19fd18425 2017-05-15 12:18:20.270464 [DEBUG] switch_ivr_bridge.c:1982 (FreeTDM/1:21/1260) State Change CS_EXECUTE -> CS_HIBERNATE
791cb18a-3925-11e7-9cf0-29f19fd18425 2017-05-15 12:18:20.270464 [DEBUG] switch_ivr_bridge.c:1984 (FreeTDM/1:21/1260) State Change CS_HIBERNATE -> CS_CONSUME_MEDIA
7bd68496-3925-11e7-9cfa-29f19fd18425 2017-05-15 12:18:20.270464 [DEBUG] switch_channel.c:2029 (sofia/external/1260) Callstate Change HELD -> UNHELD
7bd68496-3925-11e7-9cfa-29f19fd18425 2017-05-15 12:18:20.270464 [DEBUG] sofia.c:8785 (sofia/external/1260) State Change CS_EXCHANGE_MEDIA -> CS_PARK
send 774 bytes to udp/[160.7.237.4]:5060 at 12:18:20.290288:
   ------------------------------------------------------------------------
   NOTIFY sip:160.7.237.4 SIP/2.0
   Via: SIP/2.0/UDP 160.7.237.89:5080;rport;branch=z9hG4bKH8BaH8ejBemBB
   Max-Forwards: 70
   From: "66577160" <sip:66577160@160.7.237.89>;tag=vaZK46cXrgeyQ
   To: <sip:1260@160.7.237.4:5060>;tag=85e354db02f8d15fe12b28a385cb8861
   Call-ID: 5334d53d-b3c8-1235-dfbf-109836ab50bb
   CSeq: 107074877 NOTIFY
   Contact: <sip:gw+siptrunk1@160.7.237.89:5080;transport=udp;gw=siptrunk1>
   User-Agent: FreeSWITCH-mod_sofia/1.6.15~64bit
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
   Supported: timer, path, replaces
   Event: refer;id=1904933290
   Allow-Events: talk, hold, conference, refer
   Subscription-State: terminated;reason=noresource
   Content-Type: message/sipfrag;version=2.0
   Content-Length: 16
   
   SIP/2.0 200 OK
   ------------------------------------------------------------------------
791cb18a-3925-11e7-9cf0-29f19fd18425 2017-05-15 12:18:20.290465 [DEBUG] switch_ivr_play_say.c:1942 done playing file local_stream://moh
recv 545 bytes from udp/[160.7.237.4]:5060 at 12:18:20.304851:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Allow: INVITE, ACK, CANCEL, BYE, PRACK, NOTIFY, REFER, SUBSCRIBE, OPTIONS, UPDATE, INFO
   Contact: sip:160.7.237.4
   Supported: replaces,timer,path,100rel
   User-Agent: OmniPCX Enterprise R11.2.2 l2.300.33.a
   To: <sip:1260@160.7.237.4:5060>;tag=85e354db02f8d15fe12b28a385cb8861
   From: "66577160" <sip:66577160@160.7.237.89>;tag=vaZK46cXrgeyQ
   Call-ID: 5334d53d-b3c8-1235-dfbf-109836ab50bb
   CSeq: 107074877 NOTIFY
   Via: SIP/2.0/UDP 160.7.237.89:5080;received=160.7.237.89;rport=5080;branch=z9hG4bKH8BaH8ejBemBB
   Content-Length: 0
   
   ------------------------------------------------------------------------
recv 470 bytes from udp/[160.7.237.4]:5060 at 12:18:20.310591:
   ------------------------------------------------------------------------
   BYE sip:gw+siptrunk1@160.7.237.89:5080;transport=udp;gw=siptrunk1 SIP/2.0
   Supported: replaces,timer,path,100rel
   User-Agent: OmniPCX Enterprise R11.2.2 l2.300.33.a
   To: sip:66577160@160.7.237.89;tag=vaZK46cXrgeyQ
   From: sip:1260@160.7.237.4:5060;tag=85e354db02f8d15fe12b28a385cb8861
   Call-ID: 5334d53d-b3c8-1235-dfbf-109836ab50bb
   CSeq: 1904933291 BYE
   Via: SIP/2.0/UDP 160.7.237.4;branch=z9hG4bKf69a857f743ba04db1f37bb7af0337f8
   Max-Forwards: 70
   Content-Length: 0
   
   ------------------------------------------------------------------------
791cb18a-3925-11e7-9cf0-29f19fd18425 2017-05-15 12:18:20.310465 [DEBUG] switch_ivr_bridge.c:752 BRIDGE THREAD DONE [FreeTDM/1:21/1260]
791cb18a-3925-11e7-9cf0-29f19fd18425 2017-05-15 12:18:25.530465 [DEBUG] switch_ivr_bridge.c:1729 (FreeTDM/1:21/1260) State Change CS_CONSUME_MEDIA -> CS_RESET
7bd68496-3925-11e7-9cfa-29f19fd18425 2017-05-15 12:18:25.530465 [NOTICE] fssession.cpp:139 Hangup sofia/external/1260 [CS_PARK] [NORMAL_CLEARING]
2017-05-15 12:18:25.530465 [INFO] mod_v8.cpp:627 Javascript result: [true]
7bd68496-3925-11e7-9cfa-29f19fd18425 2017-05-15 12:18:25.530465 [DEBUG] switch_ivr_bridge.c:752 BRIDGE THREAD DONE [sofia/external/1260]
7bd68496-3925-11e7-9cfa-29f19fd18425 2017-05-15 12:18:25.530465 [DEBUG] switch_core_state_machine.c:653 (sofia/external/1260) State EXCHANGE_MEDIA going to sleep
7bd68496-3925-11e7-9cfa-29f19fd18425 2017-05-15 12:18:25.530465 [DEBUG] switch_core_state_machine.c:584 (sofia/external/1260) Running State Change CS_HANGUP (Cur 5 Tot 17168)
7bd68496-3925-11e7-9cfa-29f19fd18425 2017-05-15 12:18:25.530465 [DEBUG] sofia.c:1453 Channel is already hungup.
Loading...