IAX2 passing back and forth variables


Hi all, I have two asterisk servers A and B. And I would like from A, dial to B passing some IAX variables. Then B handles the calls, setup some other variables that become available
to A which can continue. So far, I have used IAXVAR function. It works when sending call from A to B But variables setup on B are not available on A. Any idea how I can do it ? Here are my dialplans. +++++++++++ SERVER A +++++++++++ [contextA] exten => s,1,Set(IAXVAR(TESTVAR1)=abcd) exten => s,n,Dial(IAX2/serverb/s,30,g) exten => s,n,Noop( The out variable is : ${IAXVAR(TESTVAR2)} )…

Asterisk Users 3.4 years ago 4 Answers

SET SIP_CODEC and Video issues


Greetings List.
I Have a small test server and i'm facing a small issue.
i have setup two SIP PEERS and they are able to do Video calls.
now I'm testing SET SIP_CODEC in a dial plan and when ever i'm setting the codec .. the inbound (=first) leg stops receiving or sending video and SIP SHOW CHANNELS shows only the Codec i set in the dialplan.
is it possible to avoid this problem? Asterisk version SIP.CONF
======= [TK1000]

Asterisk Users 3.4 years ago 2 Answers

Realtime peers and trunks coming from the same IP


I use an SBC to protect my pool of asterisk servers and as trunking
endpoint with SIP Telcos. Now I'm trying to implement SIP phone
registration to be delegated through the SBC, as a proxy. It doesn't work. It just works when I don't use realtime peers at the
asterisk servers. Using realtime SIP peers, since there is one SIP phone
that gets his registration delegated through the SBC, any inbound call that
tries to reach any asterisk server, coming from any SIP Telco trunk ended
at my SBC, gets refused in asterisk. As…

Asterisk Users 3.4 years ago 3 Answers

Slow AMI Originate


Hello, We use AMI to originate calls. Sometimes, lately every morning, the AMI Originate process operates extremely slowly. I cannot see the calls in "core show channels verbose", I don't know where they are, what state they are in, after 2-3 minutes the calls go through one after the other. As mentioned, it usually happens in the morning as soon as people start their workday, where there are a lot of logins and calls being made, but no where close to a peak in terms of simultaneous channels, etc. In some cases restarting asterisk, in others just taking…

Asterisk Users 3.4 years ago 1 Answer