I have configured my Fritz!Box to use Asterisk as a trunk, which means Fritz!Box maintains several phone numbers in one user account.
On Asterisk side with chan_sip I was able to call the different numbers using Dial(SIP/number3!account) where number is one of the additional phone numbers configured in the Fritz!Box’s trunk and account is the peer’s name in sip.conf
host = dynamic
Phone Numbers: number1, number2, number3
How can I achieve the same behavior with chan_pjsip?
Actually I need to call an pjsip endpoint using a different user field than the endpoints name.
When I Dial(PJSIP/account) only the phones associated to number1 will ring.
Dial(PJSIP/number3@account) or Dial(PJSIPemail@example.com) will lead to errors like entpoint not found, no route or simply timeout.
Any help appreciated.