Hans-Peter Jansen
6 years ago
Dear Asterisk developers,
in an attempt to add the missing pieces in
res/res_pjsip_dialog_info_body_generator.c to provide a similar
Dialog-Info+XML implementation, as what chan_sip.so provides already,
I invested the better part of today, but things seem to be much more
complicated in PJSIP land (at least for somebody, who started to look
at this code today).
This is the only missing functionality, that keeps me from transitioning
to PJSIP, and, if I read the various related complains correctly, a lot of
other Asterisk users as well.
What I found out so far:
PJSIP version:
<?xml version="1.0" encoding="UTF-8"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="3" state="full" entity="sip:***@192.168.23.2:15060">
<dialog id="62" direction="recipient">
<state>early</state>
</dialog>
</dialog-info>
SIP version:
<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="4" state="full" entity="sip:***@192.168.23.2">
<dialog id="62" call-id="pickup-3c4cdcc600b4-7xehh8ed2efm" local-tag="0s4d32nrka" remote-tag="as739d9813" direction="recipient">
<remote>
<identity display="">sip:***@192.168.23.2</identity>
<target uri="sip:***@192.168.23.2"/>
</remote>
<local>
<identity display="hp Office 2">sip:***@192.168.23.2</identity>
<target uri="sip:***@192.168.23.2"/>
</local>
<state>early</state>
</dialog>
</dialog-info>
Obviously, PJSIP is missing the call information (call-id, local-tag,
remote-tag attributes), and the <remote> and <local> items.
Could some kind soul hint me, where this state data could be fetched
from within PJSIP?
Is PJSIP really up to the task, or are there any other missing pieces
internally, that blocks this enhancement from being realized?
Thanks in advance,
Pete
in an attempt to add the missing pieces in
res/res_pjsip_dialog_info_body_generator.c to provide a similar
Dialog-Info+XML implementation, as what chan_sip.so provides already,
I invested the better part of today, but things seem to be much more
complicated in PJSIP land (at least for somebody, who started to look
at this code today).
This is the only missing functionality, that keeps me from transitioning
to PJSIP, and, if I read the various related complains correctly, a lot of
other Asterisk users as well.
What I found out so far:
PJSIP version:
<?xml version="1.0" encoding="UTF-8"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="3" state="full" entity="sip:***@192.168.23.2:15060">
<dialog id="62" direction="recipient">
<state>early</state>
</dialog>
</dialog-info>
SIP version:
<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="4" state="full" entity="sip:***@192.168.23.2">
<dialog id="62" call-id="pickup-3c4cdcc600b4-7xehh8ed2efm" local-tag="0s4d32nrka" remote-tag="as739d9813" direction="recipient">
<remote>
<identity display="">sip:***@192.168.23.2</identity>
<target uri="sip:***@192.168.23.2"/>
</remote>
<local>
<identity display="hp Office 2">sip:***@192.168.23.2</identity>
<target uri="sip:***@192.168.23.2"/>
</local>
<state>early</state>
</dialog>
</dialog-info>
Obviously, PJSIP is missing the call information (call-id, local-tag,
remote-tag attributes), and the <remote> and <local> items.
Could some kind soul hint me, where this state data could be fetched
from within PJSIP?
Is PJSIP really up to the task, or are there any other missing pieces
internally, that blocks this enhancement from being realized?
Thanks in advance,
Pete
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/