I'm using mod_eventsocket.
If I perform the API command
originate sofia/internal/5344 &park()
and 5344 is not a valid destination, I receive the following:
2008-08-06 16:04:30 [WARNING] mod_sofia.c:1890 sofia_outgoing_channel() Cannot l
ocate registered user
5344@10.0.6.632008-08-06 16:04:30 [NOTICE] mod_sofia.c:1975 sofia_outgoing_channel() Close Cha
nnel N/A [CS_NEW]
2008-08-06 16:04:30 [ERR] switch_ivr_originate.c:912 switch_ivr_originate() Cann
ot create outgoing channel of type [sofia] cause: [NO_ROUTE_DESTINATION]
API CALL [originate(sofia/internal/5344 &park())] output:
-ERR NO_ROUTE_DESTINATION
in the log. However, How can I receive an event as to trap this issue? I don't see one I can subscribe to to get this
information.
Thanks,
Gerry