limit getting reset after call state change
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
Hi guys, I missing the follwing channelvariables for better handling in eavesdrop: eavesdrop_current_uuid to store the current uuid. eavesdrop_current_key to defined a key. eavesdrop_current_action for diffent actionactions: for example: press 4 to bridge the current channel. Press 5 to mute the channel, and so on. eavesdrop_current_status=uuid_name status of the channel, true of false You can handle the features modular with channelvariable. This solution is very flexiblity. you can split your own keys to different contexs for different permissions. thanks --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
participants (2)
-
Muhammad Naseer Bhatti
-
Thomas Hoellriegel