Mordechay Kaganer
2014-Jan-01 17:17 UTC
[asterisk-users] Get data from the SDPof SIP INVITE message
B.H. Hello, all I'm using Asterisk 11.7, connected to PSTN using SIP trunk. I'm looking for a way to get data from INVITE's SDP. Specifically, i would like to get a value of o= for incoming call from PSTN because it contains data about the operator that the call originates from. I have googled for a solution and found this patch: https://issues.asterisk.org/jira/browse/ASTERISK-14510 which looks like exactly what i need, but, unfortunately looks like it was abandoned or forgotten. The patch is against older version of chan_sip and i don't know how to apply it against the current version. I'm not enough familiar with chan_sip internals. Is there any way to do this with the current version of Asterisk? Thanks in advance! -- Moshiach is coming very soon, prepare yourself! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140101/602b4542/attachment.html>
Joshua Colp
2014-Jan-02 15:53 UTC
[asterisk-users] Get data from the SDPof SIP INVITE message
Mordechay Kaganer wrote:> B.H. > > Hello, all > > I'm using Asterisk 11.7, connected to PSTN using SIP trunk. > > I'm looking for a way to get data from INVITE's SDP. Specifically, i > would like to get a value of o= for incoming call from PSTN because it > contains data about the operator that the call originates from.I'm afraid not, the only information in the dialplan even remotely relating to SDP is the RTP address information. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: www.digium.com & www.asterisk.org