Re: Getvar of CHANNEL not working for a couple of items

"TTT" <[email protected]> Wed, 5 Jul 2023 15:50:25 +0000
Newsgroups gmane.comp.telephony.pbx.asterisk.user
Message-ID <0100018926bf6699-7f2022cd-4805-40b7-a035-106a47a552e3-000000@email.amazonses.com>
  Channel A: "1688509741.112" , name:  "PJSIP/111-00000064" , is originator:  Y , call-Id:  "[email protected] <mailto:[email protected]> " , local_uri:  "<sip:[email protected] <mailto:sip%[email protected]> ;user=phone>" , local_tag:  "1734d973-c4da-4ae8-a37d-5f7065f1fe54" , local_addr:  "172.31.253.4:5060 <http://172.31.253.4:5060> " , remote_uri:  "\\\"TestPhone x111\\\" <sip:[email protected] <mailto:sip%[email protected]> >" , remote_tag:  "yinue4v5ufa4" , remote_addr:  "172.31.253.20:5060 <http://172.31.253.20:5060> "

 

 

  Channel B: "1688509741.113" , name:  "PJSIP/222-00000065" , is originator:  N , call-Id:  "1f104544-fc1a-4414-ba74-68c526e294de" , local_uri:  "\\\"TestPhone\\\" <sip:[email protected] <mailto:sip%[email protected]> >" , local_tag:  "ac5eeb59-f559-4bb7-a3c2-170ca7f05f8b" , local_addr:  "" , remote_uri:  "<sip:[email protected] <mailto:sip%[email protected]> ;line=46922>" , remote_tag:  "klwqxe1fvt5wk" , remote_addr:  ""

 

And here's what seems strange:

Channel A's local_uri looks like Channel B's uri

Channel A's remote_uri looks like channel A's uri

Channel B's local_uri looks like channel A's uri

Channel B's remote_uri looks like channel B;s uri

 

These aren't strange. They look alike because of callerid and target dialed information. They are still independent call legs.

 

 

I’m having trouble understanding your explanation (googling just led me to generic callerid and target info).  I thought a phone’s local_uri would be how to reach that phone (not the other party), and vice versa for the remote_uri.  If the above URI info is correct then I must misunderstand their meaning.  Could you provide more explanation on how to interpret them (why they seems reversed to me), or a link?

 

I assumed the remote & local URI where equivalent to the to & from lines (respectively) in the invite…

-- 
_____________________________________________________________________
-- 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