Passing Variables to Mail Command
I’m on FreePBX version 17 and am trying to run a bash script after a voicemail message is left. I’ve been looking at using Mail Command (mailcmd) in Voicemail Admin ->Settings->Email Config, but...
View ArticlePassing Variables to Mail Command
IIRC you need to pass the variables like this `^{VAR} Edit - disregard… What I posted is for the call recording script.
View ArticleIn outbound routes, what is a "Dial sequence" and how can I create one?
I am trying to create an inbound route that sends everything from a specific area code somewhere, however in the “CallIerID number” section, it suggests I can use a “Dial Sequence.” but I can’t seem...
View ArticleIn outbound routes, what is a "Dial sequence" and how can I create one?
So if you want all calls from area code 201 to route somewhere, in the CallerID field you would put 201NXXXXXX
View ArticleIn outbound routes, what is a "Dial sequence" and how can I create one?
Thank you. And can you explain what exactly that means? 201 is obviously the area code, but what about N? And why are there 6 X’s, and not 7? Or does that N mean something AND a digit? Or is X a digit?
View ArticleIn outbound routes, what is a "Dial sequence" and how can I create one?
NXXXXXX is the 7 digits that follow the area code. N is any digit 1-9 and X is any digit 0-9. No office codes (the first 3 digits after the area code) start with 0 so it should be N.
View ArticleIn outbound routes, what is a "Dial sequence" and how can I create one?
So then if I understand correctly 201XXXXXXX would work, but 201NXXXXXX is the proper way because N could never be a 0?
View ArticleIn outbound routes, what is a "Dial sequence" and how can I create one?
Yeah either way would work.
View ArticleInbound route with specific caller ID not working
I have an inbound route I am using to try and test something. It is set up as follows: DID:Any CID: <My cell phone number, in 10 digits, copy and pasted from CDR reports> Description: Shouldn’t...
View ArticleInbound route with specific caller ID not working
Provide call logs https://sangomakb.atlassian.net/wiki/spaces/SS/pages/31162494/Providing+Great+Debug#Asterisk-Logs---Part-II
View ArticleInbound route with specific caller ID not working
It looks like for some reason it needed to be set as a “Priority route.” I didn’t think that would make a difference, but it looks like it does.
View ArticlePackets not being processed by Asterisk on Debian 12
When I fire the following command during the issue: netstat -tulpn | grep asterisk I get the following output (yes, we listen on 5588): udp 427776 0 0.0.0.0:5588 0.0.0.0:* 2254422/asterisk So this big...
View ArticlePassing Variables to Mail Command
You don’t want to use mailcmd for this because it just replaces /usr/sbin/sendmail -t and Asterisk is going to pass the full formatted email with headers and all into the command. You would have to...
View ArticlePackets not being processed by Asterisk on Debian 12
tcpdump will identify every packet going through the interface chosen, if that doesnt resolve the issue use wireshark (or tshark) to resolve any protocol issue, netstat’s utility is better found...
View ArticlePackets not being processed by Asterisk on Debian 12
What do you mean with “if that doesn’t resolve the issue?” I do see the traffic in sngrep & tcpdump (tcpdump -nn -i ens18 udp port 5588)… Asterisk is just not processing the traffic.
View ArticleMissing thread - what happened?
I think that ultimately we will find that it is @penguinpbx 's inappropriate control ( i might have said incompetent, but that might be interpreted by him as ‘ad-hominem’ so I would get sent to the...
View ArticlePassing Variables to Mail Command
Thank you for responding. I’m trying to send the message to OpenAI through the API for transcription. The bash script works flawlessly if I run it from the command line, and even works if I manually...
View ArticlePackets not being processed by Asterisk on Debian 12
But is Asterisk actually getting the traffic destined for UDP:5588 lsof -i 5588 would identify the ‘listener’ if any of such traffic (any protocol)
View ArticlePassing Variables to Mail Command
I thought about that too. I’ve sent call recording scripts to another AI application and used variables like that. So far I’ve tried using ^{}, %{} or just $VM_MAILBOX, and none of those work.
View ArticlePackets not being processed by Asterisk on Debian 12
Yes sir (added a colon before the port): lsof -i :5588 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME asterisk 2254422 asterisk 20u IPv4 42493713 0t0 UDP *:5588 asterisk 2254422 asterisk 21u IPv4...
View Article