Woof!

On Mon, 23 Oct 2006 09:25:09 -0400, Patrick Greene  
<[EMAIL PROTECTED]> wrote:
> is there an API which will allow us to assign/specify the caller ID of  
> an outgoing SIP call?

One way to do this is to create a new line appearance for each outbound  
call via sipxLineAdd().  Then szLineURL argument is used as the "From"  
caller-id.  When the call is over remove line line with sipxLineRemove().

There is an inherent problem with this method:
    If you need to make two simultainious calls with the same caller-id,  
sipxLineAdd() will fail.  It will not allow two lines with the same  
szLineURL argument at the same time.  One can always make the second call  
on the same line as the first, but then you must keep track of when it is  
safe to call sipxLineRemove().

--Woof!

_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to