Re: Get channel variables via ARI/AMI
"Joshua C. Colp" <[email protected]> Mon, 26 Jun 2023 16:55:43 -0300
| Newsgroups | gmane.comp.telephony.pbx.asterisk.user |
|---|---|
| Message-ID | <CAM0A2Z3HDLHdJ4m_64fX901a7JtRQ-s7nRYUjVwauW9p_35rQg@mail.gmail.com> |
On Mon, Jun 26, 2023 at 4:35 PM TTT <[email protected]> wrote: > I think that’s getting me close. I’m trying to get (or recreate) the FROM > and TO lines of the header, from a system running PJSIP. I think if I use > CHANNEL to get local_uri and local_tag I can recreate a FROM line like: > > *FROM=<URI>;tag=TAG* > > > > And if I use CHANNEL to get remote_uri and remote_tag I can recreate a > FROM line like: > > *TO=<URI>;tag=TAG* > > > > Would it be correct to assume that with this info (and ip:port info) I > should be able to send a UDP SIP message from the PBX to the UA which > appears to be part of the current call dialog? I realize this is an odd > thing to do, but I’m just interested in technical feasibility at this > point. Before I try to code this I want to ensure I’m not missing > something stupid. > Probably not. Sequence number also matters. -- Joshua C. Colp Asterisk Project Lead Sangoma Technologies Check us out at www.sangoma.com and www.asterisk.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users