In my sip.conf file i have a register declaration under [general] that seems to work fine.
Next, I have [provider-out] with the appropriate credentials and an assignment to the [pstn-out] context.
Next, I have my single softphone SIP definition [2002] under context [default].
Now in extensions.conf, I have under [default]
exten => mynumber,1,Dial(SIP/2002,25,Ttr)
that works for incoming calls.
Next I have [pstn-out] which says:
exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@provider-out,25,rt)
Something is completely wrong here, and I’m racking my brain trying to figure it out. I can receive calls just fine, but I cannot call out. The really strange thing to me is, if I comment out the context=default line under [provider-out] in sip.conf, I’m not able to receive calls anymore. I must be mixed up! Can anyone help?