how to configure to connect with gateway or sip trunk provider for outbound calling?
You configure it in PJSIP, and configure the dialplan to do so. If you’ve tried this and it hasn’t worked, then you would need to provide more information.
can you give me real example sample please?
Here’s the wizards approach for PJSIP[1]. An example dialplan line:
exten => _1NXXNXXXXXX,1,Dial(PJSIP/${EXTEN}@myitsp)
There’s various other examples sprawled across the internet, even on here if you search.
How to configure SIP Trunk for inbound and outbound calling?
The term “trunk” appears nowhere in specification of SIP!
If you are asking how to use SIP to make and receive calls through a service providing connectivity with the PSTN, that is something you should get from the documentation, or by paying a tutor.
However, the second example in res_pjsip Configuration Examples - Asterisk Project - Asterisk Project Wiki will give you the basics for a low end service provider.
Please provide the logging from Asterisk, as plain text.
However 404 should not need explaining (although whether NZ PBX is the Asterisk does). At a guess, you have registered as, the default, “s”, but have not provided an extension “s” to handle the resulting calls. That produces a fairly clear message in the Asterisk logs.
Which word of “plain” and “text” was the challenge?
Antony.
sed -i ‘s";[radius]"[radius]"g’ /etc/asterisk/cdr.conf
sed -i ‘s";radiuscfg => /usr/local/etc/radiusclient-ng/radiusclient.conf"radiuscfg => /etc/radcli/radiusclient.conf"g’ /etc/asterisk/cdr.conf
sed -i ‘s";radiuscfg => /usr/local/etc/radiusclient-ng/radiusclient.conf"radiuscfg => /etc/radcli/radiusclient.conf"g’ /etc/asterisk/cel.conf
Add that
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.