App TRANSFER PJSIP URI Format

Home » Asterisk Users » App TRANSFER PJSIP URI Format
Asterisk Users No Comments

hi,

i have two asterisk boxes

need transfer call from second box to first one

pstn -> asterisk1 -> dial(number 555) -> asterisk2 -> TRANSFER (number
444) -> asterisk1

dialplan on asterisk1 (using chan_sip)

[some_context]

exten => 555,1,Noop()

 same => n,dial(SIP/asterisk2/555)

exten => 444,1,Noop()

dialplan on asterisk2 (using chan_pjsip)

exten => 444,1,Noop()

 same => n,Answer()

 same => n,Transfer(PJSIP/sip:444@example.com)

but its not working

on asterisk1 i see

  chan_sip.c: Got OK on REFER Notify message

but in NOTIFY message from asterisk1 to asterisk2 is

  SIP/2.0 404 Not found

so what’s the correct URI for TRANSFER?

thanks

Marek