You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to asterisk and I'm having trouble grasping all the nuances.
I have successfully made calls to inbound extension using the originate function and played some audio files. But now I need to call real-world phone numbers. I have already set up sip trunk in my asterisk config but I'm having an issue calling through sip/trunk.
Use a function like this (outboundCalll) to make outbound calls. Take into consideration the following:
Using PJSIP the endpoint format is PJSIP/1235551234@outbound, where "outbound" is the peer you want to use from pjsip.conf. What version of Asterisk are you using?
Listen to StasisStart event on the client instance, it will be triggered when the call is answered.
Use appArgs to identify your outbound calls entering the application. If you are using snoop channels, for example, StasisStart event will be also triggered.
I'm new to asterisk and I'm having trouble grasping all the nuances.
I have successfully made calls to inbound extension using the originate function and played some audio files. But now I need to call real-world phone numbers. I have already set up sip trunk in my asterisk config but I'm having an issue calling through sip/trunk.
Running the following code just gives me an
allocation failed
error.Can anyone point me in the right direction? Thanks
The text was updated successfully, but these errors were encountered: