I have a FreePBX Installation (on Distro v7 but I don’t think this matters) and am trying to do TAPI dialing with PJSIP extensions. I’ve created PJSIP extension 12 and increased the max contacts value to 2 for both extensions.
For extension 12, i have both a SIP client at IP 192.168.1.1 registered and a Sangoma S500 Phone at IP 192.168.1.106. For incoming external and internal calls everything works fine and both devices at extension 12 ring.
pjsip show contacts lists the following:
- Contact: 12/sip:email@example.com:5060 a7913904e6 Avail 8.934
- Contact: 12/sip:firstname.lastname@example.org:5060;uniq=072004C09F0721 b79cc6d103 Avail 12.593
I’m using phonesuite TAPI for asterisk to dial from windows (http://www.phonesuite.de/de/produkte/ast_tsp/phonesuite_tapi_for_asterisk.htm)
The TAPI configuration suggests using PJSIP/12 (instead of normally using SIP/12) in the configuration (field “Channel”). But when doing this only one phone registered to extension 12 rings.
I tried a lot and found that by entering PJSIP/12/sip:email@example.com:5060 as string in the “Channel” field of the TAPI application, I can make it ring the other phone. But it doesn’t really work well (the dialing application quickly thinks the call got interrupted and the asterisk console shows “Request to hangup non-existent channel: PJSIP/12/sip:firstname.lastname@example.org:5060” even though the call is in progress).
So how do I dial my 2 contacts which are both registered as endpoint 12? I want to be able to pick up any one of the 2 phones available for the extension and have it start the TAPI call from the one which is answered.
Am I the first one to wonder how this can be done? Somehow I doubt that and hope that someone has figured this out already