Im trying to clarify my understand of gosub, macros and AEL.My understanding is that macros using the Macro() application, which is defined in extensions.conf by:[macro-foo]…and called in extensions.conf withexten => _9NXXNXXXXXX.,n,Macro(fastbusy..
Author : Brian J.
Using Asteirsk 13.28.1:If I configure my pjsip transport to handle NAT from the Internet:[transport-tcp]type=transport protocol=tcp bind=10.75.22.8:5060local_net=10.75.22.0/24external_media_address=[external address redacted]external_signaling_address=[exter..
How can I use an IF statement with a true value being a variable that has a colon in it?The colon in the true value variable is being taken as the delimiter for the false value.The only solution I came up with was some hackery to use STRREPLACE to repl..
Im trying to use linphone-android with asterisk but there is an aspect of the way asterisk and linphone-android interact with MESSAGEtransactions that is causing problems.The linphone-android folks consider both the To: and From: address in MESSAGE transacti..
Im using Asterisk 13.x and have defined a pjsip TCP IPv6 transport:[transport-tcp-ipv6]type=transport protocol=tcp bind=[2001:1234:5678:abcd::2]:5060I also have an IPv4 version of that:[transport-tcp-ipv4]type=transport protocol=tcp bind=10.75.22.8:5060..
Im not sure how much more simple I can make this but I just cannot seem to get my Asterisk 13 to accept a connection on the manager interface:— mana..
Im being told by my ITSP that my Asterisk shouldnt be challenging their system to authenticate (i.e. a 401 response) when they send me a SIP MESSAGE (or I suppose a SIP INVITE for that matter).But Im not sure what a pjsip.conf configuration for t..
In the past, I have created variables that hold multiple extensions such as:HOUSEPHONES=PJSIP/mom&PJSIP&dad&PJSIP/grandmaso that I can do a Dial(${HOUSEPHONES},…) with it, to ring multiple phones.But now some of those phones will be registering multi..
Following up on my previously asked question if I rewrite the branching example (not that it negates the more general branching question) I was using as such:exten => s,n,Set(EXT=${IF($[${SIP}=PJSIP]?${PJSIP_DIAL_CONTACTS(${STRREPLACE(ARG2,PJSIP/,)})}:${ARG2})})ex..
Is there any less cumbersome way of doing conditionalized/branching in extensions.conf other than something like:exten => s,n,GotoIf($[${SIP} = PJSIP ]?pjsip)exten => s,n,Dial(${ARG2},20,TtWw)exten => s,n,Goto(afterdial)exten => s,n(pjsip),Dial(${PJSIP_DIAL_CONTACTS(${STRREPLACE(ARG2,PJSIP/,)})},20,TtWw)ex..