[Freeswitch-users] Duplicate UUID! message when using origination_uuid w/ originate

Phillip Jones pjintheusa at gmail.com
Thu Jul 22 19:12:18 PDT 2010


Hi there,

I have the following simple test script running in mod_managed:

Session.Answer();

string Uuid = fsApi.ExecuteString("create_uuid");
string originateString =
string.Format(@"{{ignore_early_media=true}}[origination_uuid={0}]user/3478309995 at 64.40.xx.xxx'&park'",
Uuid);
apiResult = fsApi.Execute("originate", originateString);

Session.Hangup("NORMAL_CLEARING");

When I run this script and I anwser the call, the console shows the error
message:

[CRIT] switch_core_session.c:1287 Duplicate UUID!


However 'show channels' reveals that the UUID is the expected
value (that given in origination_uuid=), when the call is ringing and after
it is answered.

It is as if, FS is creating the call with the given UUID, and then on answer
trying to set the UUID to the given UUID again, but failing when it see the
existing call.

I updated to the latest GIT HEAD just before sending this email.

Any ideas? Is this something I should be worried about - or am I using
origination_uuid
incorrectly?



Thanks





2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:2442 Set Codec
sofia/internal/sip:3478309995 at 71.225.60.199:5900 PCMU/8000 20 ms 160 samples
2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:3935 Set 2833 dtmf send
payload to 101
2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:2682 AUDIO RTP
[sofia/internal/sip:3478309995 at 71.225.60.199:5900] 64.40.12.122 port 26654
-> 71.225.60.199 port 32126 codec: 0 ms: 20
2010-07-22 21:49:37.843750 [DEBUG] switch_rtp.c:1413 Starting timer [soft]
160 bytes per 20ms
2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:2892 Set 2833 dtmf send
payload to 101
2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:2897 Set 2833 dtmf receive
payload to 101
2010-07-22 21:49:37.843750 [DEBUG] switch_channel.c:2539 (sofia/internal/
sip:3478309995 at 71.225.60.199:5900) Callstate Change RINGING -> ACTIVE
2010-07-22 21:49:37.843750 [NOTICE] sofia.c:4876 Channel [sofia/internal/
sip:3478309995 at 71.225.60.199:5900] has been answered
2010-07-22 21:49:37.843750 [DEBUG] switch_ivr_originate.c:3351 Originate
Resulted in Success: [sofia/internal/sip:3478309995 at 71.225.60.199:5900]
2010-07-22 21:49:37.843750 [CRIT] switch_core_session.c:1287 Duplicate UUID!
2010-07-22 21:49:37.843750 [CRIT] switch_core_session.c:457 sofia/internal/
sip:3478309995 at 71.225.60.199:5900 set
UUID=73e6a583-a88c-42be-8908-860a637a67cb FAILED
2010-07-22 21:49:37.843750 [DEBUG] switch_ivr_originate.c:3351 Originate
Resulted in Success: [sofia/internal/sip:3478309995 at 71.225.60.199:5900]
2010-07-22 21:49:37.843750 [DEBUG] mod_commands.c:2936 (sofia/internal/
sip:3478309995 at 71.225.60.199:5900) State Change CS_CONSUME_MEDIA ->
CS_EXECUTE
2010-07-22 21:49:37.843750 [DEBUG] switch_core_session.c:1039 Send signal
sofia/internal/sip:3478309995 at 71.225.60.199:5900 [BREAK]
2010-07-22 21:49:37.843750 [DEBUG] switch_core_state_machine.c:314
(sofia/internal/sip:3478309995 at 71.225.60.199:5900) Running State Change
CS_EXECUTE
2010-07-22 21:49:37.843750 [ALERT] switch_cpp.cpp:1177 +OK
73e6a583-a88c-42be-8908-860a637a67cb

2010-07-22 21:49:37.843750 [DEBUG] switch_core_state_machine.c:348
(sofia/internal/sip:3478309995 at 71.225.60.199:5900) State EXECUTE
2010-07-22 21:49:37.843750 [DEBUG] mod_sofia.c:235 sofia/internal/
sip:3478309995 at 71.225.60.199:5900 SOFIA EXECUTE
2010-07-22 21:49:37.843750 [DEBUG] switch_core_state_machine.c:157
sofia/internal/sip:3478309995 at 71.225.60.199:5900 Standard EXECUTE
EXECUTE sofia/internal/sip:3478309995 at 71.225.60.199:5900 park()
2010-07-22 21:49:37.843750 [DEBUG] switch_cpp.cpp:602 CoreSession::hangup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100722/eb0df3f7/attachment.html 


More information about the FreeSWITCH-users mailing list