How do you specify which line to use to dial a contact?

Community based support for the Digium Phone Application Programming Interface (API).

Moderators: jwitt, sruffell, malcolmd, Moderator

How do you specify which line to use to dial a contact?

Postby gtj0 » Sun Jan 04, 2015 1:21 pm

I have an external_line defined to a different Asterisk server and need to configure a button to dial a contact on that server using the external_line's account info.

I can specify the action's dial="sip:1000@otherpbx" but the INVITE is sent using the primary line's credentials so it fails.

Can't seem to find a way to specify which line's credentials to use.

Ideas?
#asterisk-dev: gtjoseph
gtj0
Newsterisk
 
Posts: 14
Joined: Mon Oct 03, 2011 9:26 pm

Return to Digium Phone API

Who is online

Users browsing this forum: No registered users and 1 guest