Re: [asterisk-users] AGI script commands

2023-06-30 Thread Eric Wieling
You have to read stdin to accept the data Asterisk sends when the AGI starts before you can send any AGI commands to Asterisk. Also, "agi set debug on". On 6/30/23 21:52, TTT wrote: I have an AGI script written in PHP that worked great with Asterisk 13. I’m porting it to an Asterisk 20

[asterisk-users] AGI script commands

2023-06-30 Thread TTT
I have an AGI script written in PHP that worked great with Asterisk 13. I'm porting it to an Asterisk 20 site and have a strange problem. I tried running the script from the command line and it works fine; I see the script commands written to stdout like VERBOSE "SmartScreen v1" But

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

2023-06-30 Thread Michael Ulitskiy
Hello, I finally got to look at chan_sip to chan_pjsip migration again. This time I’m having problems with influencing codec selection on originating (calling) channel. It looks like PJSIP_MEDIA_OFFER only works on outbound (called) channel and has no affect on calling channel. My