[asterisk-users] Alcatel OXO Sip
Christian Gatti
cgatti at vo.lu
Wed Sep 20 01:45:25 MST 2006
>No, it says I don't know what to do if the via is *not* SIP/2.0/UDP
Yes, my error.
I tested with asterisk 1.2.10 and now it works.
Reason: Steve Langstaff found that in my old * version there was case
sensitive strcmp which caused the problem.
Thanks to you all,
Christian
> Subject: RE: [asterisk-users] Alcatel OXO Sip
>
> Yeah, I've just downloaded the source for 1.0.7, and found the
> following:
>
> if (strcmp(via, "SIP/2.0/UDP")) {
> ast_log(LOG_WARNING, "Don't know how to respond via
'%s'\n", via);
> return -1;
> }
>
> So it's a case-sensitive compare on the version you are running!
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Brian Candler
Sent: Tuesday, September 19, 2006 18:51 PM
To: Christian Gatti
Cc: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Alcatel OXO Sip
On Tue, Sep 19, 2006 at 02:53:17PM +0200, Christian Gatti wrote:
> It the question why does asterisk has problems with SIP/2.0/udp or
> SIP/2.0/UDP
>
> if (strcasecmp(via, "SIP/2.0/UDP")) {
> ast_log(LOG_WARNING, "Don't know how to respond via '%s'\n", via);
> return -1;
> }
>
> This code says: I don't know what to do with a SIP/2.0/UDP in a via
> and blocks (return -1).
No, it says I don't know what to do if the via is *not* SIP/2.0/UDP
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list