I am running Asterisk 13.5.0.

I have the Transfer working when using the chan_sip support.
However, when I try to perform a Transfer using pjsip, it is failing.

The one difference I am seeing in the SIP trace is chan_sip automatically sends 
the Referred-By.  PJSIP does not.
The switch provider I am working with has never seen a REFER without the 
"Referred-By" line

In both cases, I am performing the Transfer via AMI
EXEC Transfer ....

Does Asterisk 13.5.0 PJSIP support require a flag or something to force the 
Referred-By line to automatically be passed when a Transfer is performed?

chan_sip (succeeds)
19:27:32.512123 IP (tos 0x0, ttl 64, id 11492, offset 0, flags [none], proto 
UDP (17), length 630)
    192.168.xxx.xxx.sip > 192.168.yyy.yyy.sip: SIP, length: 602
        REFER sip:[email protected]:5060 SIP/2.0
        Via: SIP/2.0/UDP 192.168.xxx.xxx:5060;branch=z9hG4bK58f4bd1d
        Max-Forwards: 70
        From: <sip:[email protected]>;tag=as44000cf4
        To: <sip:[email protected]>;tag=7Iy0JkwDC
        Contact: <sip:[email protected]:5060>
        Call-ID: [email protected]
        CSeq: 102 REFER
        User-Agent: Asterisk PBX 13.5.0
        Date: Thu, 20 Aug 2015 19:27:32 GMT
        Refer-To: <sip:[email protected]>
        Referred-By: <sip:[email protected]:5060>
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, 
INFO, PUBLISH, MESSAGE
        Supported: replaces, timer
        Content-Length: 0

Pjsip
18:46:58.386372 IP (tos 0x0, ttl 64, id 38690, offset 0, flags [DF], proto UDP 
(17), length 654)
    192.168.xxx.xxx.sip > 192.168.yyy.yyy.sip: SIP, length: 626
        REFER sip:[email protected]:5060 SIP/2.0
        Via: SIP/2.0/UDP 
192.168.xxx.xxx:5060;rport;branch=z9hG4bKPjec41c3b9-d734-482d-82c1-2a6f8d9452a3
        From: 
<sip:[email protected]>;tag=3c10f423-e468-42ea-87a1-658ae106581c
        To: <sip:[email protected]>;tag=WITKDakt
        Contact: <sip:192.168.xxx.xxx:5060>
        Call-ID: [email protected]
        CSeq: 981 REFER
        Event: refer
        Expires: 600
        Supported: 100rel, timer, replaces, norefersub
        Accept: message/sipfrag;version=2.0
        Allow-Events: message-summary, presence, dialog, refer
        Refer-To: <sip:[email protected]>
        Max-Forwards: 70
        User-Agent: Asterisk PBX 13.5.0
        Content-Length:  0
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to