[Sipsak] sipsak strange port activity
David Cunningham
dcunningham at voisonics.com
Fri Sep 16 12:28:16 CEST 2011
Klaus,
Is there a way to disable this warning but still use the option?
Thank you,
On 16 September 2011 18:00, Klaus Darilion <klaus.mailinglists at pernau.at>wrote:
> I think it is just a stupid warning which can be ignored. It is using the
> send-port in Via and Contact:
>
>
>
> sipsak -s 'sip:12.34.56.110:5060' -d -S
>
> U 88.198.53.1:55101 -> 12.34.56.110:5060
> OPTIONS sip:12.34.56.110:5060 SIP/2.0.
> Via: SIP/2.0/UDP 88.198.53.113:55101;branch=**z9hG4bK.047d7229;rport;alias
> From: sip:sipsak at 88.198.53.1:55101;**tag=654c176f.
> To: sip:12.34.56.110:5060.
> Call-ID: 1699485551 at 88.198.53.1.
> CSeq: 1 OPTIONS.
> Contact: sip:sipsak at 88.198.53.1:55101.
>
> Content-Length: 0.
> Max-Forwards: 70.
> User-Agent: sipsak 0.9.6.
> Accept: text/plain.
>
>
> On 16.09.2011 09:54, David Cunningham wrote:
>
>> Hi Klaus,
>>
>> Thanks for the reply.
>>
>> I did try -S before, but get the following error:
>>
>> $ sipsak -s 'sip:12.34.56.110:5060 <http://12.34.56.110:5060>' -d -S
>>
>> warning: symmetric does not work with a-symmetric servers
>>
>> Google wasn't any help, but if someone here can that would be great.
>>
>> Thanks,
>>
>> On 16 September 2011 17:33, Klaus Darilion <klaus.mailinglists at pernau.at
>> <mailto:klaus.mailinglists@**pernau.at <klaus.mailinglists at pernau.at>>>
>> wrote:
>>
>> try '-S':
>>
>> -S use same port for receiving and sending
>> and reliable transports (default: 64)
>>
>> klaus
>>
>>
>> On 16.09.2011 09:28, David Cunningham wrote:
>>
>> Hello,
>>
>> We're having a strange issue when sipsak is run as a non-root
>> user. Can
>> anyone help?
>>
>> When non-root it sends a different port in the Via and Contact
>> headers
>> than it actually sends the packet from. This problem does not
>> happen
>> when running sipsak as root.
>>
>> As you can see from the following ngrep trace it was sent from port
>> 48765, but put 48180 in the Via and Contact.
>> The Asterisk server that's replying sends the reply to the
>> Contact port
>> number, but sipsak never sees the reply, presumably because it's
>> not
>> listening on that port.
>>
>> This is sipsak 0.9.6 running on Ubuntu 10.04.1, talking to Asterisk
>> 1.6.2.19.
>> The command used was: sipsak -s 'sip:12.34.56.110:5060
>> <http://12.34.56.110:5060>
>> <http://12.34.56.110:5060>' -d
>>
>>
>> U 2011/09/02 20:56:03.316191 12.34.56.100:48765
>> <http://12.34.56.100:48765>
>> <http://12.34.56.100:48765> -> 12.34.56.110:5060
>> <http://12.34.56.110:5060> <http://12.34.56.110:5060>
>>
>> OPTIONS sip:12.34.56.110:5060 <http://12.34.56.110:5060>
>> <http://12.34.56.110:5060> SIP/2.0.
>>
>> Via: SIP/2.0/UDP 127.0.1.1:48180;branch=
>> z9hG4bK.67757921;rport;alias.
>> From: sip:sipsak at 127.0.1.1:48180
>> <http://sip:sipsak@127.0.1.1:**48180<http://sip:sipsak@127.0.1.1:48180>
>> >;__tag=6d5372e0.
>>
>> To: sip:12.34.56.110:5060 <http://12.34.56.110:5060>
>> <http://12.34.56.110:5060>.
>> Call-ID: 1834180000 at 127.0.1.1 <mailto:1834180000 at 127.0.1.1>
>> <mailto:1834180000 at 127.0.1.1 <mailto:1834180000 at 127.0.1.1>>**.
>>
>> CSeq: 1 OPTIONS.
>> Contact: sip:sipsak at 127.0.1.1:48180
>> <http://sip:sipsak@127.0.1.1:**48180<http://sip:sipsak@127.0.1.1:48180>
>> >
>> <http://sip:sipsak@127.0.1.1:_**_48180
>> <http://sip:sipsak@127.0.1.1:**48180<http://sip:sipsak@127.0.1.1:48180>
>> >>.
>>
>> Content-Length: 0.
>> Max-Forwards: 70.
>> User-Agent: sipsak 0.9.6.
>> Accept: text/plain.
>> .
>>
>> U 2011/09/02 20:56:03.318055 12.34.56.110:5060
>> <http://12.34.56.110:5060>
>> <http://12.34.56.110:5060> -> 12.34.56.100:48180
>> <http://12.34.56.100:48180> <http://12.34.56.100:48180>
>>
>>
>> SIP/2.0 200 OK.
>> Via: SIP/2.0/UDP
>> 127.0.1.1:48180;branch=__**z9hG4bK.67757921;alias;__**
>> received=12.34.56.100;rport=__**48765.
>> From: sip:sipsak at 127.0.1.1:48180
>> <http://sip:sipsak@127.0.1.1:**48180<http://sip:sipsak@127.0.1.1:48180>
>> >;__tag=6d5372e0.
>>
>> To: sip:12.34.56.110:5060;tag=__**as4804a20a.
>> Call-ID: 1834180000 at 127.0.1.1 <mailto:1834180000 at 127.0.1.1>
>> <mailto:1834180000 at 127.0.1.1 <mailto:1834180000 at 127.0.1.1>>**.
>>
>>
>> CSeq: 1 OPTIONS.
>> Server: Enswitch.
>> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,
>> NOTIFY, INFO.
>> Supported: replaces.
>> Contact: <sip:12.34.56.110>.
>> Accept: application/sdp.
>> Content-Length: 0.
>> .
>>
>>
>> --
>> David Cunningham, Voisonics
>> http://voisonics.com/
>> US toll-free: +1 888 842 2720 <tel:%2B1%20888%20842%202720>
>> UK: +44 (0) 20 3298 1642 <tel:%2B44%20%280%29%2020%**
>> 203298%201642>
>>
>> Australia: +61 (0) 2 8063 9019
>> <tel:%2B61%20%280%29%202%**208063%209019>
>>
>>
>>
>> ______________________________**___________________
>> Sipsak mailing list
>> Sipsak at lists.sipsak.org <mailto:Sipsak at lists.sipsak.**org<Sipsak at lists.sipsak.org>
>> >
>>
>> http://lists.sipsak.org/__**mailman/listinfo/sipsak<http://lists.sipsak.org/__mailman/listinfo/sipsak>
>> <http://lists.sipsak.org/**mailman/listinfo/sipsak<http://lists.sipsak.org/mailman/listinfo/sipsak>
>> >
>>
>>
>>
>>
>> --
>> David Cunningham, Voisonics
>> http://voisonics.com/
>> US toll-free: +1 888 842 2720
>> UK: +44 (0) 20 3298 1642
>> Australia: +61 (0) 2 8063 9019
>>
>>
--
David Cunningham, Voisonics
http://voisonics.com/
US toll-free: +1 888 842 2720
UK: +44 (0) 20 3298 1642
Australia: +61 (0) 2 8063 9019
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipsak.org/pipermail/sipsak/attachments/20110916/1508450c/attachment.html>
More information about the Sipsak
mailing list