Jump to content

Edit History

Marcin Muzylo

Marcin Muzylo

thats correct , works for :

"listen_on":"self"
or
"listen_on":"peer",

but not  for :

"listen_on":"both",

 

for example:

internall call from ext device:7f77ce6c522fff844d84f31ecea04638 (listen:both) to ext device:589cb6b2b1ee1c9123274dc692c27c6d


Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_listener:139(<0.16830.0>) starting {[{<<"binding_digit">>,<<"*">>},{<<"listen_on">>,<<"both">>},{<<"numbers">>,{[{<<"5">>,{[{<<"module">>,<<"say">>},{<<"data">>,{[{<<"text">>,<<"hi">>}]}}]}},{<<"8">>,{[{<<"data">>,{[]}},{<<"module">>,<<"hangup">>}]}}]}}]}
Jul 16 09:06:07 kz 2600hz[24218]: |0000000000|konami_util:22(<0.16845.0>) sending noop for b leg events
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_event_listener:146(<0.16845.0>) add fsm binding for call 2286045770@192.168.2.148:5060: [<<"CHANNEL_ANSWER">>,<<"CHANNEL_BRIDGE">>,<<"CHANNEL_DESTROY">>,<<"CHANNEL_REPLACED">>,<<"CHANNEL_TRANSFEREE">>,<<"DTMF">>]
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|gen_listener:1361(<0.2563.0>) creating new binding: 'konami'
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to kapps exchange (routing key konami.transferred.2286045770@192.168.2.148:5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|konami_event_listener:342(<0.2563.0>) registering for account events for ea119e6a3de686a55f5f272a9fd94f96
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_ANSWER.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_BRIDGE.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_DESTROY.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_REPLACED.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_TRANSFEREE.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.DTMF.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to metaflow exchange (routing key metaflow.action.2286045770%40192%2E168%2E2%2E148%3A5060.*) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:124(<0.16845.0>) starting Konami statem, listening on 'ab'
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:128(<0.16845.0>) a endpoint: 7f77ce6c522fff844d84f31ecea04638 b endpoint: undefined
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:320(<0.16845.0>) loading numbers from api: {[{<<"5">>,{[{<<"module">>,<<"say">>},{<<"data">>,{[{<<"text">>,<<"hi">>}]}}]}},{<<"8">>,{[{<<"module">>,<<"hangup">>}]}}]}
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:309(<0.16845.0>) using custom binding digit '*'
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:597(<0.16845.0>) ignoring channel 9c0d2eed-5014-49cf-86f1-7c9269eb69d2 answering for endpoint 589cb6b2b1ee1c9123274dc692c27c6d
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:554(<0.16845.0>) 'a' leg 2286045770@192.168.2.148:5060 answered
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:554(<0.16845.0>) 'a' leg 2286045770@192.168.2.148:5060 answered
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:625(<0.16845.0>) 'a' leg has bridged to other leg 9c0d2eed-5014-49cf-86f1-7c9269eb69d2...done here
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:283(<0.16845.0>) statem terminating while in unarmed: normal
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|gen_listener:1209(<0.2563.0>) trying to remove bindings with kapi_call:unbind_q(kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4, [{restrict_to,[<<"CHANNEL_ANSWER">>,<<"CHANNEL_BRIDGE">>,<<"CHANNEL_DESTROY">>,<<"CHANNEL_REPLACED">>,<<"CHANNEL_TRANSFEREE">>,<<"DTMF">>]},{callid,<<"2286045770@192.168.2.148:5060">>}])
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_ANSWER.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_ANSWER.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_BRIDGE.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_BRIDGE.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_DESTROY.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_DESTROY.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_REPLACED.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_REPLACED.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_TRANSFEREE.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_TRANSFEREE.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.DTMF.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.DTMF.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|gen_listener:1209(<0.2563.0>) trying to remove bindings with kapi_metaflow:unbind_q(kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4, [{callid,<<"2286045770@192.168.2.148:5060">>},{action,<<"*">>},{restrict_to,[action]},federate])
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from metaflow(metaflow.action.2286045770%40192%2E168%2E2%2E148%3A5060.*)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from metaflow exchange (routing key metaflow.action.2286045770%40192%2E168%2E2%2E148%3A5060.*) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|gen_listener:706(<0.2563.0>) removing konami: [{callid,<<"2286045770@192.168.2.148:5060">>},{restrict_to,[transferred]}]
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|gen_listener:1209(<0.2563.0>) trying to remove bindings with kapi_konami:unbind_q(kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4, [{callid,<<"2286045770@192.168.2.148:5060">>},{restrict_to,[transferred]}])
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from kapps(konami.transferred.2286045770@192.168.2.148:5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from kapps exchange (routing key konami.transferred.2286045770@192.168.2.148:5060) via channel <0.2450.0>

 

Marcin Muzylo

Marcin Muzylo

thats correct , works for :

"listen_on":"self"
or
"listen_on":"peer",

but not  for :

"listen_on":"both",

 

for example:

internall call from ext device:7f77ce6c522fff844d84f31ecea04638 (listen:both) to ext device:589cb6b2b1ee1c9123274dc692c27c6d


Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_listener:139(<0.16830.0>) starting {[{<<"binding_digit">>,<<"*">>},{<<"listen_on">>,<<"both">>},{<<"numbers">>,{[{<<"5">>,{[{<<"module">>,<<"say">>},{<<"data">>,{[{<<"text">>,<<"hi">>}]}}]}},{<<"8">>,{[{<<"data">>,{[]}},{<<"module">>,<<"hangup">>}]}}]}}]}
Jul 16 09:06:07 kz 2600hz[24218]: |0000000000|konami_util:22(<0.16845.0>) sending noop for b leg events
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_event_listener:146(<0.16845.0>) add fsm binding for call 2286045770@192.168.2.148:5060: [<<"CHANNEL_ANSWER">>,<<"CHANNEL_BRIDGE">>,<<"CHANNEL_DESTROY">>,<<"CHANNEL_REPLACED">>,<<"CHANNEL_TRANSFEREE">>,<<"DTMF">>]
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|gen_listener:1361(<0.2563.0>) creating new binding: 'konami'
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to kapps exchange (routing key konami.transferred.2286045770@192.168.2.148:5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|konami_event_listener:342(<0.2563.0>) registering for account events for ea119e6a3de686a55f5f272a9fd94f96
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_ANSWER.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_BRIDGE.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_DESTROY.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_REPLACED.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_TRANSFEREE.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.DTMF.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to metaflow exchange (routing key metaflow.action.2286045770%40192%2E168%2E2%2E148%3A5060.*) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:124(<0.16845.0>) starting Konami statem, listening on 'ab'
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:128(<0.16845.0>) a endpoint: 7f77ce6c522fff844d84f31ecea04638 b endpoint: undefined
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:320(<0.16845.0>) loading numbers from api: {[{<<"5">>,{[{<<"module">>,<<"say">>},{<<"data">>,{[{<<"text">>,<<"hi">>}]}}]}},{<<"8">>,{[{<<"module">>,<<"hangup">>}]}}]}
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:309(<0.16845.0>) using custom binding digit '*'
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:597(<0.16845.0>) ignoring channel 9c0d2eed-5014-49cf-86f1-7c9269eb69d2 answering for endpoint 589cb6b2b1ee1c9123274dc692c27c6d
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:554(<0.16845.0>) 'a' leg 2286045770@192.168.2.148:5060 answered
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:554(<0.16845.0>) 'a' leg 2286045770@192.168.2.148:5060 answered
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:625(<0.16845.0>) 'a' leg has bridged to other leg 9c0d2eed-5014-49cf-86f1-7c9269eb69d2...done here
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:283(<0.16845.0>) statem terminating while in unarmed: normal
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|gen_listener:1209(<0.2563.0>) trying to remove bindings with kapi_call:unbind_q(kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4, [{restrict_to,[<<"CHANNEL_ANSWER">>,<<"CHANNEL_BRIDGE">>,<<"CHANNEL_DESTROY">>,<<"CHANNEL_REPLACED">>,<<"CHANNEL_TRANSFEREE">>,<<"DTMF">>]},{callid,<<"2286045770@192.168.2.148:5060">>}])
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_ANSWER.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_ANSWER.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_BRIDGE.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_BRIDGE.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_DESTROY.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_DESTROY.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_REPLACED.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_REPLACED.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_TRANSFEREE.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_TRANSFEREE.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.DTMF.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.DTMF.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|gen_listener:1209(<0.2563.0>) trying to remove bindings with kapi_metaflow:unbind_q(kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4, [{callid,<<"2286045770@192.168.2.148:5060">>},{action,<<"*">>},{restrict_to,[action]},federate])
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from metaflow(metaflow.action.2286045770%40192%2E168%2E2%2E148%3A5060.*)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from metaflow exchange (routing key metaflow.action.2286045770%40192%2E168%2E2%2E148%3A5060.*) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|gen_listener:706(<0.2563.0>) removing konami: [{callid,<<"2286045770@192.168.2.148:5060">>},{restrict_to,[transferred]}]
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|gen_listener:1209(<0.2563.0>) trying to remove bindings with kapi_konami:unbind_q(kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4, [{callid,<<"2286045770@192.168.2.148:5060">>},{restrict_to,[transferred]}])
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from kapps(konami.transferred.2286045770@192.168.2.148:5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from kapps exchange (routing key konami.transferred.2286045770@192.168.2.148:5060) via channel <0.2450.0>

 

Marcin Muzylo

Marcin Muzylo

thats correct , works for :

"listen_on":"self"
or
"listen_on":"peer",

but not  for :

"listen_on":"both",
 

for example:

internall call from ext device:7f77ce6c522fff844d84f31ecea04638 (listen:both) to ext device:589cb6b2b1ee1c9123274dc692c27c6d


Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_listener:139(<0.16830.0>) starting {[{<<"binding_digit">>,<<"*">>},{<<"listen_on">>,<<"both">>},{<<"numbers">>,{[{<<"5">>,{[{<<"module">>,<<"say">>},{<<"data">>,{[{<<"text">>,<<"hi">>}]}}]}},{<<"8">>,{[{<<"data">>,{[]}},{<<"module">>,<<"hangup">>}]}}]}}]}
Jul 16 09:06:07 kz 2600hz[24218]: |0000000000|konami_util:22(<0.16845.0>) sending noop for b leg events
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_event_listener:146(<0.16845.0>) add fsm binding for call 2286045770@192.168.2.148:5060: [<<"CHANNEL_ANSWER">>,<<"CHANNEL_BRIDGE">>,<<"CHANNEL_DESTROY">>,<<"CHANNEL_REPLACED">>,<<"CHANNEL_TRANSFEREE">>,<<"DTMF">>]
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|gen_listener:1361(<0.2563.0>) creating new binding: 'konami'
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to kapps exchange (routing key konami.transferred.2286045770@192.168.2.148:5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|konami_event_listener:342(<0.2563.0>) registering for account events for ea119e6a3de686a55f5f272a9fd94f96
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_ANSWER.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_BRIDGE.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_DESTROY.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_REPLACED.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.CHANNEL_TRANSFEREE.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to callevt exchange (routing key call.DTMF.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |ed3c392f-2da3-4290-94e2-42c849175ce9|kz_amqp_channel:430(<0.2563.0>) bound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 to metaflow exchange (routing key metaflow.action.2286045770%40192%2E168%2E2%2E148%3A5060.*) via channel <0.2450.0>
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:124(<0.16845.0>) starting Konami statem, listening on 'ab'
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:128(<0.16845.0>) a endpoint: 7f77ce6c522fff844d84f31ecea04638 b endpoint: undefined
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:320(<0.16845.0>) loading numbers from api: {[{<<"5">>,{[{<<"module">>,<<"say">>},{<<"data">>,{[{<<"text">>,<<"hi">>}]}}]}},{<<"8">>,{[{<<"module">>,<<"hangup">>}]}}]}
Jul 16 09:06:07 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:309(<0.16845.0>) using custom binding digit '*'
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:597(<0.16845.0>) ignoring channel 9c0d2eed-5014-49cf-86f1-7c9269eb69d2 answering for endpoint 589cb6b2b1ee1c9123274dc692c27c6d
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:554(<0.16845.0>) 'a' leg 2286045770@192.168.2.148:5060 answered
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:554(<0.16845.0>) 'a' leg 2286045770@192.168.2.148:5060 answered
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:625(<0.16845.0>) 'a' leg has bridged to other leg 9c0d2eed-5014-49cf-86f1-7c9269eb69d2...done here
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|konami_code_statem:283(<0.16845.0>) statem terminating while in unarmed: normal
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|gen_listener:1209(<0.2563.0>) trying to remove bindings with kapi_call:unbind_q(kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4, [{restrict_to,[<<"CHANNEL_ANSWER">>,<<"CHANNEL_BRIDGE">>,<<"CHANNEL_DESTROY">>,<<"CHANNEL_REPLACED">>,<<"CHANNEL_TRANSFEREE">>,<<"DTMF">>]},{callid,<<"2286045770@192.168.2.148:5060">>}])
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_ANSWER.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_ANSWER.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_BRIDGE.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_BRIDGE.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_DESTROY.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_DESTROY.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_REPLACED.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_REPLACED.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.CHANNEL_TRANSFEREE.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.CHANNEL_TRANSFEREE.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt(call.DTMF.2286045770%40192%2E168%2E2%2E148%3A5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from callevt exchange (routing key call.DTMF.2286045770%40192%2E168%2E2%2E148%3A5060) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|gen_listener:1209(<0.2563.0>) trying to remove bindings with kapi_metaflow:unbind_q(kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4, [{callid,<<"2286045770@192.168.2.148:5060">>},{action,<<"*">>},{restrict_to,[action]},federate])
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from metaflow(metaflow.action.2286045770%40192%2E168%2E2%2E148%3A5060.*)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from metaflow exchange (routing key metaflow.action.2286045770%40192%2E168%2E2%2E148%3A5060.*) via channel <0.2450.0>
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|gen_listener:706(<0.2563.0>) removing konami: [{callid,<<"2286045770@192.168.2.148:5060">>},{restrict_to,[transferred]}]
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|gen_listener:1209(<0.2563.0>) trying to remove bindings with kapi_konami:unbind_q(kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4, [{callid,<<"2286045770@192.168.2.148:5060">>},{restrict_to,[transferred]}])
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:363(<0.2563.0>) unbinding kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from kapps(konami.transferred.2286045770@192.168.2.148:5060)
Jul 16 09:06:09 kz 2600hz[24218]: |2286045770@192.168.2.148:5060|kz_amqp_channel:420(<0.2563.0>) unbound kazoo_apps@kz.mydomain.com-konami_event_listener-<0.2563.0>-e9e743c4 from kapps exchange (routing key konami.transferred.2286045770@192.168.2.148:5060) via channel <0.2450.0>

 

×
×
  • Create New...