[asterisk-users] app TRANSFER PJSIP URI format (SOLVED)
marek
cervajs64 at gmail.com
Mon Feb 7 06:26:26 CST 2022
mistake in __TRANSFER_CONTEXT
Dne 07/02/2022 v 11:17 marek napsal(a):
> 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 at 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
>
>
More information about the asterisk-users
mailing list