Hi Paolo,

I am using these:

            sipxLineAddCredential(hLine, szUsername, szPassword, szRealm) ;
            sipxLineRegister(hLine, true);

The line registers ok and I have no problem with internal numbers. The
external calls do connect, I just don't get the connect event and If I hang
up the call from the sipxTapi end, the other party doesn't hang up. Maybe I
am missing something, but I have checked the parameters and they seem ok.
Are there any other Security / Auth Methods I should be using during
initialise?

The "ACK" SIP payload differs from X-Lite and SipXTapi in that the X-lite
one has a "Proxy-Authorization" Node which is absent from SipXTapi's.

TIA

Mike


On Fri, Jun 19, 2009 at 2:32 PM, Paulo Vicentini
<vicentini.pa...@gmail.com>wrote:

> Hi,
> Try:
> sipxLineAddCredential
> sipxLineRegister
> Paulo
> On Fri, Jun 19, 2009 at 8:39 AM, Mike Hoare <mickho...@gmail.com> wrote:
>
>> Hi Paolo,
>>
>> I had to wait until I got onsite before I could answer your question. The
>> following is received by WireShark from the SipXTapi UA:
>>
>> 409    18.989908    xxx.xxx.102.105    xxx.xxx.60.50    SIP    Request:
>> ACK sip:1...@xxx.xxx.60.100;transport=tcp
>> 411    19.002892    xxx.xxx.102.105    xxx.xxx.60.50    SIP    Request:
>> BYE sip:1...@xxx.xxx.60.100;transport=tcp
>> 412    19.005129    xxx.xxx.60.50    xxx.xxx.102.105    SIP    Status: 407
>> Proxy Authentication Required
>>
>> from X-Lite I get:
>> 1164    35.757505    xxx.xxx.102.105  xxx.xxx.60.50    SIP    Request: ACK
>> sip:1...@xxx.xxx.60.100;transport=tcp
>>
>> so it appears to be an authentication problem. Any ideas where to go from
>> here?
>>
>> Thanks for your help
>>
>> Mike
>>
>>
>> On Wed, Jun 17, 2009 at 6:00 PM, <
>> sipxtapi-dev-requ...@list.sipfoundry.org> wrote:
>>
>>> Send sipxtapi-dev mailing list submissions to
>>>        sipxtapi-dev@list.sipfoundry.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>        https://list.sipfoundry.org/mailman/listinfo/sipxtapi-dev
>>> or, via email, send a message with subject or body 'help' to
>>>        sipxtapi-dev-requ...@list.sipfoundry.org
>>>
>>> You can reach the person managing the list at
>>>        sipxtapi-dev-ow...@list.sipfoundry.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of sipxtapi-dev digest..."
>>>
>>> [please change the subject line when replying]
>>> Today's Topics:
>>>
>>>   1. no Connect / Idle Events for External Calls using SipXTapi
>>>      (Mike Hoare)
>>>   2. Re: no Connect / Idle Events for External Calls   using
>>>      SipXTapi (Paulo Vicentini)
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Mike Hoare <mickho...@gmail.com>
>>> To: sipxtapi-dev@list.sipfoundry.org
>>> Date: Wed, 17 Jun 2009 14:34:04 +0100
>>> Subject: [sipxtapi-dev] no Connect / Idle Events for External Calls using
>>> SipXTapi
>>> I have been using SipXTapi to development a console-like application.
>>> Developing using internal extensions worked fine, but when I tried the
>>> application on the client site I found that I was not receiving events when
>>> a call connected or hung up. I get these events ok for internal extensions
>>> onsite. I tried using the x-lite softphone and it works ok on both internal
>>> and external calls. Therefore I know it is something I am doing wrong. Any
>>> ideas greatly appreciated.
>>>
>>> --
>>> Regards
>>>
>>> Mike
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Paulo Vicentini <vicentini.pa...@gmail.com>
>>> To: sipxtapi-dev@list.sipfoundry.org
>>> Date: Wed, 17 Jun 2009 11:19:17 -0300
>>> Subject: Re: [sipxtapi-dev] no Connect / Idle Events for External Calls
>>> using SipXTapi
>>> Hi Mike
>>> Are you indeed receiving SIP packets during off site calls? It might be a
>>> network issue.
>>> Do those packets (200 OK / Bye) reach the receiving sipXtapi socket?
>>> regards
>>> Paulo
>>>
>>> On Wed, Jun 17, 2009 at 10:34 AM, Mike Hoare <mickho...@gmail.com>wrote:
>>>
>>>> I have been using SipXTapi to development a console-like application.
>>>> Developing using internal extensions worked fine, but when I tried the
>>>> application on the client site I found that I was not receiving events when
>>>> a call connected or hung up. I get these events ok for internal extensions
>>>> onsite. I tried using the x-lite softphone and it works ok on both internal
>>>> and external calls. Therefore I know it is something I am doing wrong. Any
>>>> ideas greatly appreciated.
>>>>
>>>> --
>>>> Regards
>>>>
>>>> Mike
>>>>
>>>> _______________________________________________
>>>> sipxtapi-dev mailing list
>>>> sipxtapi-dev@list.sipfoundry.org
>>>> List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
>>>>
>>>
>>>
>>> _______________________________________________
>>> sipxtapi-dev mailing list
>>> sipxtapi-dev@list.sipfoundry.org
>>> List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
>>>
>>
>>
>>
>> _______________________________________________
>> sipxtapi-dev mailing list
>> sipxtapi-dev@list.sipfoundry.org
>> List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
>>
>
>
_______________________________________________
sipxtapi-dev mailing list
sipxtapi-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to