Re: [asterisk-users] Setting codec on originating (calling) channel with chan_pjsip (SIP_CODEC_INBOUND equivalent)

2023-07-05 Thread Michael Ulitskiy
Well, I'm trying to migrate to chan_pjsip so that I don't have to do that. It's so surprising that the issue so seemingly obvious and trivial hasn't been addressed yet that I wanted to query the collective wisdom of this list to verify my observations. Thanks for github pointer. Michael On

Re: [asterisk-users] Setting codec on originating (calling) channel with chan_pjsip (SIP_CODEC_INBOUND equivalent)

2023-07-05 Thread Michael Ulitskiy
Hi Michael, Thanks for the reply. I was referring to the scenario you named as 'outbound broken'. I didn't get to look at inbound call behavior yet, as I got stuck with inability to avoid transcoding on outbound calls. To be more specific the scenario is as follows: 1. a phone initiates a

Re: [asterisk-users] Setting codec on originating (calling) channel with chan_pjsip (SIP_CODEC_INBOUND equivalent)

2023-07-05 Thread Michael Maier
Hello Michael, you are referring to the following behavior - did I get it correctly?: outbound broken: asterisk offers g722 / g711 to provider (callee), callee answers g711. Asterisk now transcodes between caller and callee (g722 <-> g711). inbound works: call from provider: g711 ->

Re: [asterisk-users] Getvar of CHANNEL not working for a couple of items

2023-07-05 Thread Joshua C. Colp
On Wed, Jul 5, 2023 at 12:50 PM TTT wrote: > Channel A: "1688509741.112" , name: "PJSIP/111-0064" , is > originator: Y , call-Id: "u.l6kcou25ca...@mydomain.com" , local_uri: "< > sip:2...@mydomain.com;user=phone>" , local_tag: > "1734d973-c4da-4ae8-a37d-5f7065f1fe54" , local_addr:

Re: [asterisk-users] Setting codec on originating (calling) channel with chan_pjsip (SIP_CODEC_INBOUND equivalent)

2023-07-05 Thread Michael Ulitskiy
Hello, Anyone? I have hard time to believe this is not possible with chan_pjsip. Anyway, may I ask how people handle the following scenario which I imagine should be quite common: - I have internal extensions talk to each other using g722. so their codec setting (with chan_sip now) is

Re: [asterisk-users] Getvar of CHANNEL not working for a couple of items

2023-07-05 Thread TTT
Channel A: "1688509741.112" , name: "PJSIP/111-0064" , is originator: Y , call-Id: "u.l6kcou25ca...@mydomain.com " , local_uri: "mailto:sip%3a...@mydomain.com> ;user=phone>" , local_tag: "1734d973-c4da-4ae8-a37d-5f7065f1fe54" , local_addr:

Re: [asterisk-users] Getvar of CHANNEL not working for a couple of items

2023-07-05 Thread Joshua C. Colp
On Tue, Jul 4, 2023 at 7:52 PM TTT wrote: > Building on my last message, I am trying to get CHANNEL data using getvar > (through the AMI). And although I'm getting responses, some values > returned seem illogical. For example, phone 111 calls phone 222 via the > PBX. Here's the data I get