[asterisk-users] Pickup with pjsip not working

Karsten Wemheuer kwem at mail.de
Tue Mar 1 04:14:42 CST 2022


Hi *,

i am currently trying to migrate from chan_sip to pjsip. I am using
Asterisk version 18.10.

In chan_sip information about the pickup was sent in the XML body of
the NOTIFY requests:

/---
<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="3"
state="full"
 entity="sip:213 at 192.168.10.70">
<dialog id="213" call-id="pickup-313634363132303037373438313434-
wojojtzh4bgd" local-tag="1f4rovwnc1" remote-tag="as0a28a768"
direction="recipient">
<remote>
....
\---


If I use pjsip, the pickup information is missing:

/---
<?xml version="1.0" encoding="UTF-8"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="1"
state="full" entity="sip:213 at 192.168.10.75:25060">
 <dialog id="213" direction="recipient">
  <remote>
....
\---

Many phones expect this information and cannot perform a pickup.

Where does this need to be configured or does this not work in pjsip?

Thanks for any help

Karsten




More information about the asterisk-users mailing list