[Freeswitch-users] limit getting reset after call state change
Muhammad Naseer Bhatti
nbhatti at gmail.com
Sun Jul 1 19:33:57 MSD 2012
I am using execute_on_originate to impose limit for outgoing gateway. Limit
is set to 1 here, the call is established and right after call state
changes, The limit is dropped. Is this normal?
2012-06-28 10:26:35.522664 [NOTICE] switch_channel.c:926 New Channel
sofia/vBilling/9198 [97924522-c0f2-11e1-b7cf-a5c0d2d3774a]
2012-06-28 10:26:35.522664 [DEBUG] mod_sofia.c:4775 (sofia/vBilling/9198)
State Change CS_NEW -> CS_INIT
2012-06-28 10:26:35.522664 [DEBUG] switch_core_session.c:1229 Send signal
sofia/vBilling/9198 [BREAK]
EXECUTE sofia/vBilling/9198 limit(hash 10.211.55.5 10.211.55.5 1
!CALL_REJECTED)
*2012-06-28 10:26:35.522664 [INFO] switch_limit.c:126 incr called:
10.211.55.5_10.211.55.5 max:1, interval:0*
*2012-06-28 10:26:35.522664 [INFO] mod_hash.c:202 Usage for
10.211.55.5_10.211.55.5 is now 1/1*
2012-06-28 10:26:35.522664 [DEBUG] switch_core_state_machine.c:385
(sofia/vBilling/9198) Running State Change CS_INIT
2012-06-28 10:26:35.522664 [DEBUG] switch_core_state_machine.c:424
(sofia/vBilling/9198) State INIT
2012-06-28 10:26:35.522664 [DEBUG] mod_sofia.c:85 sofia/vBilling/9198 SOFIA
INIT
2012-06-28 10:26:35.522664 [DEBUG] sofia_glue.c:2602 Local SDP:
v=0
o=- 3550145379 3550145379 IN IP4 192.168.40.141
s=pjmedia
c=IN IP4 192.168.40.141
t=0 0
a=X-nat:0
m=audio 4014 RTP/AVP 103 102 104 109 3 0 8 9 101
a=rtpmap:103 speex/16000
a=rtpmap:102 speex/8000
a=rtpmap:104 speex/32000
a=rtpmap:109 iLBC/8000
a=fmtp:109 mode=30
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtcp:4015 IN IP4 192.168.40.141
2012-06-28 10:26:35.522664 [DEBUG] mod_sofia.c:125 (sofia/vBilling/9198)
State Change CS_INIT -> CS_ROUTING
*2012-06-28 10:26:35.522664 [INFO] mod_hash.c:304 Usage for
10.211.55.5_10.211.55.5 is now 0*
2012-06-28 10:26:35.522664 [DEBUG] switch_core_session.c:1229 Send signal
sofia/vBilling/9198 [BREAK]
2012-06-28 10:26:35.522664 [DEBUG] switch_core_state_machine.c:424
(sofia/vBilling/9198) State INIT going to sleep
2012-06-28 10:26:35.522664 [DEBUG] switch_core_state_machine.c:385
(sofia/vBilling/9198) Running State Change CS_ROUTING
2012-06-28 10:26:35.522664 [DEBUG] switch_channel.c:1919
(sofia/vBilling/9198) Callstate Change DOWN -> RINGING
2012-06-28 10:26:35.522664 [DEBUG] switch_core_state_machine.c:433
(sofia/vBilling/9198) State ROUTING
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120701/b9cd47a6/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list