[Freeswitch-users] SIPp issues - seems FS doesn't understand ACK message
Tihomir Culjaga
tculjaga at gmail.com
Mon Aug 24 16:14:23 PDT 2009
this is original: Via: SIP/2.0/UDP 10.4.4.252;branch=z9hG4bK-7085-1-0
http://sipp.sourceforge.net/doc3.0/reference.html
*[branch]* - Provide a branch value which is a concatenation of magic cookie
(z9hG4bK) + call number + message index in scenario.
An offset (like [branch-N]) can be appended if you need to have the same
branch value as a previous message.
http://www.ietf.org/rfc/rfc3665.txt :according to examples in RFC i se
branch being same for INVITE, 302 and ACK messages...
[branch-3] makes branch of ACK message same as INVITE....
here is a test with just [branch] ... pls note: Via: SIP/2.0/UDP
10.4.4.252:5060;branch=z9hG4bK-7093-1-3 from ACK message .... the 3rd
message...
freeswitch at l01sipindir1> recv 530 bytes from udp/[10.4.4.252]:5060 at
23:11:34.506681:
------------------------------------------------------------------------
INVITE sip:30003016094191500 at 10.4.4.251<sip%3A30003016094191500 at 10.4.4.251>SIP/2.0
Via: SIP/2.0/UDP 10.4.4.252;branch=z9hG4bK-7093-1-0
Max-Forwards: 70
Contact: <sip:22222238515000403 at 10.4.4.252<sip%3A22222238515000403 at 10.4.4.252>
>
From: 22222238515000403 <sip:22222238515000403 at 10.4.4.252:5060>;tag=1
To: 30003016094191500 <sip:30003016094191500 at 10.4.4.251:5060>
Call-ID: 1-7093 at 10.4.4.252
CSeq: 1 INVITE
Content-Type: application/sdp
Content-Length: 131
v=0
o=user1 53655765 2353687637 IN IP4 10.4.4.252
s=-
c=IN IP4 10.4.4.252
t=0 0
m=audio 6000 RTP/AVP 0
a=rtpmap:0 PCMU/8000
------------------------------------------------------------------------
send 325 bytes to udp/[10.4.4.252]:5060 at 23:11:34.506957:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.4.4.252;branch=z9hG4bK-7093-1-0
From: 22222238515000403 <sip:22222238515000403 at 10.4.4.252:5060>;tag=1
To: 30003016094191500 <sip:30003016094191500 at 10.4.4.251:5060>
Call-ID: 1-7093 at 10.4.4.252
CSeq: 1 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-exported
Content-Length: 0
------------------------------------------------------------------------
2009-08-25 01:11:34.505272 [NOTICE] switch_channel.c:602 New Channel
sofia/internal/22222238515000403 at 10.4.4.252:5060[7797f5ae-9103-11de-95e3-cda626a03c4b]
2009-08-25 01:11:34.513275 [INFO] mod_dialplan_xml.c:315 Processing
22222238515000403->30003016094191500 in context public
2009-08-25 01:11:34.513275 [INFO] mod_dptools.c:932 ########################
ServiceLookup ########################\n
2009-08-25 01:11:34.513275 [INFO] mod_dptools.c:932 ########################
contact = '' ##############\n
2009-08-25 01:11:34.513275 [INFO] mod_dptools.c:932 ########################
CallerNum = '38515000403' ##########\n
2009-08-25 01:11:34.513275 [INFO] mod_dptools.c:932 ########################
RADIUS auth = '' ##########\n
2009-08-25 01:11:34.513275 [INFO] mod_dialplan_xml.c:315 Processing
22222238515000403->doRedirect in context public
2009-08-25 01:11:34.513275 [NOTICE] switch_core_session.c:1576 Execute
redirect(sip:12345616094191500 at pgw01.ot.hr:5060)
send 718 bytes to udp/[10.4.4.252]:5060 at 23:11:34.515143:
------------------------------------------------------------------------
SIP/2.0 302 Moved Temporarily
Via: SIP/2.0/UDP 10.4.4.252;branch=z9hG4bK-7093-1-0
From: 22222238515000403 <sip:22222238515000403 at 10.4.4.252:5060>;tag=1
To: 30003016094191500 <sip:30003016094191500 at 10.4.4.251:5060
>;tag=y38ac8m1m6e0K
Call-ID: 1-7093 at 10.4.4.252
CSeq: 1 INVITE
Contact: <sip:12345616094191500 at pgw01.ot.hr:5060>
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-exported
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
Supported: timer, precondition, path, replaces
Allow-Events: talk, presence, dialog, call-info, sla,
include-session-description, presence.winfo, message-summary, refer
Content-Length: 0
------------------------------------------------------------------------
recv 342 bytes from udp/[10.4.4.252]:5060 at 23:11:34.515369:
------------------------------------------------------------------------
ACK sip:30003016094191500 at 10.4.4.251:5060 SIP/2.0
Via: SIP/2.0/UDP 10.4.4.252:5060;branch=z9hG4bK-7093-1-3
From: 22222238515000403 <sip:22222238515000403 at 110.4.4.252:5060>;tag=1
To: 30003016094191500 <sip:30003016094191500 at 10.4.4.251:5060
>;tag=y38ac8m1m6e0K
Call-ID: 1-7093 at 10.4.4.252
CSeq: 1 ACK
Max-Forwards: 70
Content-Length: 0
------------------------------------------------------------------------
2009-08-25 01:11:34.513275 [NOTICE] switch_core_session.c:1576 Execute
log(INFO ######################## RADIUS auth NOK!! ##########\n)
2009-08-25 01:11:34.513275 [INFO] mod_dptools.c:932 ########################
RADIUS auth NOK!! ##########\n
2009-08-25 01:11:34.513275 [NOTICE] switch_core_session.c:1576 Execute
hangup(USER_BUSY)
2009-08-25 01:11:34.513275 [NOTICE] mod_dptools.c:633 Hangup sofia/internal/
22222238515000403 at 10.4.4.252:5060 [CS_EXECUTE] [USER_BUSY]
2009-08-25 01:11:34.513275 [NOTICE] switch_core_session.c:1086 Session 3
(sofia/internal/22222238515000403 at 10.4.4.252:5060) Ended
2009-08-25 01:11:34.513275 [NOTICE] switch_core_session.c:1088 Close Channel
sofia/internal/22222238515000403 at 10.4.4.252:5060 [CS_DESTROY]
send 718 bytes to udp/[10.4.4.252]:5060 at 23:11:35.017059:
------------------------------------------------------------------------
SIP/2.0 302 Moved Temporarily
Via: SIP/2.0/UDP 10.4.4.252;branch=z9hG4bK-7093-1-0
From: 22222238515000403 <sip:22222238515000403 at 10.4.4.252:5060>;tag=1
To: 30003016094191500 <sip:30003016094191500 at 10.4.4.251:5060
>;tag=y38ac8m1m6e0K
Call-ID: 1-7093 at 10.4.4.252
CSeq: 1 INVITE
Contact: <sip:12345616094191500 at pgw01.ot.hr:5060>
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-exported
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
Supported: timer, precondition, path, replaces
Allow-Events: talk, presence, dialog, call-info, sla,
include-session-description, presence.winfo, message-summary, refer
Content-Length: 0
On Tue, Aug 25, 2009 at 12:55 AM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:
> Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch-3]
>
> shouldn't that be
>
> Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
>
>
>
> On Mon, Aug 24, 2009 at 5:48 PM, Tihomir Culjaga <tculjaga at gmail.com>wrote:
>
>> ... documentation hate that :)) ... but thats my life actually... thats
>> what i do for living :)
>>
>> of course i can go forward and document a lot of things... a lot of
>> docummentation is pending to completing the project i currently have using
>> FS.
>>
>> well ... my soul? .. is it really necessary?
>>
>> T.
>>
>>
>> On Tue, Aug 25, 2009 at 12:20 AM, Anthony Minessale <
>> anthony.minessale at gmail.com> wrote:
>>
>>> What is your exact sipp scenerio file and dialplan to this point after
>>> the changes you were suggested to use.
>>> please send both.
>>>
>>> If we have to stop what we are doing to prove this works are you prepared
>>> to offer your soul to help
>>> document and other project maintenance?
>>>
>>>
>>>
>>> --
>>> Anthony Minessale II
>>>
>>> FreeSWITCH http://www.freeswitch.org/
>>> ClueCon http://www.cluecon.com/
>>> Twitter: http://twitter.com/FreeSWITCH_wire
>>>
>>> AIM: anthm
>>> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
>>> IRC: irc.freenode.net #freeswitch
>>>
>>> FreeSWITCH Developer Conference
>>> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
>>> iax:guest at conference.freeswitch.org/888
>>> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
>>> pstn:213-799-1400
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:213-799-1400
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090825/3ef1c7d8/attachment-0002.html
More information about the FreeSWITCH-users
mailing list