*Try Risk Free for first month and know the DIDforSale SIP Trunking difference*
asterisk sip trunk provider
Some of our key SIP Trunking features:-
Special Intro Offer
FREE First Month
Calculate Difference between two Time Values from Asterisk Dialplan
For calculating the difference between two times, the time values should be converted to an epoch value first. This can be done using the Asterisk function STRFTIME. Use the below dialplan to convert current time to an epoch value
Set(time=${STRFTIME(${EPOCH},,%s)})
Below dialplan shows, asterisk setting two variables starttime and endtime with the current time in an interval of 10 seconds and then calculating the difference between the variables and saving to variable diff. The output of variable diff will always be 10 in the below dialplan
exten => 1000,1,Set(starttime=${STRFTIME(${EPOCH},,%s)})
same => n,Wait(10)
same => n,Set(endtime=${STRFTIME(${EPOCH},,%s)})
same => n,Set(diff=$[${endtime} -${starttime}])
same => n,Hangup
Checkout !
Asterisk one way audio issue
Are you having an audio issues in your Asterisk?
Well it’s a common issue with PBX to have audio issues like one way audio or no audio. Sometimes only caller can hear remote party or remote party only can hear the caller. You must be wondering what causes this issue? This problem in audio is mainly because of the NAT issues. We recommend to use NAT with enabling 10000-20000 UDP ports on firewalls and also to enable natting on trunks
How to limit the number of calls in asterisk
Learn how you can limit number of simultaneous calls on Asterisk based SIP Trunk. If you want to limit the number calls for your SIP peer or friend in Asterisk use call-limit in your trunk configuration.
Learn more about our Products
Visit SIP Trunking Pricing to see which plan suits your business!
Our plans have been packaged together to give you optimum output.