[asterisk-bugs] [JIRA] (ASTERISK-24863) Using res_pjsip I have not any AMI events when lost connection to outgoing SIP server

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Mar 11 09:44:35 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225331#comment-225331 ] 

Matt Jordan commented on ASTERISK-24863:
----------------------------------------

Relevent conversation from #asterisk-dev:

{quote}
{noformat}
(08:32:32 AM) Demon_VoIP: mjordan, What do you think about... PJSIP: endpoint configured as a trunk, outbound authentication. Should the endpoint status change on the Unavailable when all contacts (from aor) become Unavailable?
(08:33:51 AM) ***mjordan wonders if he just walked into a trap
(08:34:06 AM) mjordan: what do you mean by "contacts from AoR become Unavailable"
(08:34:38 AM) Demon_VoIP: now i have not any AMI events when lost connection to outgoing SIP server :(
(08:37:18 AM) mjordan: Hm.
(08:37:45 AM) mjordan: what state are you expecting to be unavailable? The device state of the PJSIP endpoint for the trunk?
(08:43:01 AM) Demon_VoIP: qualify chaned statues of contact. But no AMI events i see. Am I wrong?
(08:43:01 AM) Demon_VoIP: sorry for mistakes :(
(08:44:43 AM) mjordan: I wouldn't think it would change the device state. It should change the endpoint state.
(08:44:45 AM) Demon_VoIP: I am expecting AMI event peerstatus with unavailable. And it will be best changing endpoint status to unavailable.
(08:44:45 AM) Demon_VoIP: chan_sip has such behavior
(08:45:06 AM) mjordan: I'm aware :-P
(08:45:13 AM) mjordan: I think it is probably a bug.
(08:45:27 AM) Demon_VoIP: Yes. It should change the endpoint state
(08:45:52 AM) Demon_VoIP: It was my question:  Should the endpoint status change on the Unavailable when all contacts (from aor) become Unavailable?  :)
(08:46:28 AM) mjordan: endpoint is an overloaded term. In this case, I wanted to make sure you meant the internal ast_endpoint, and not necessarily something else.
(08:46:37 AM) mjordan: please file a bug.
{noformat}
{quote}

> Using res_pjsip I have not any AMI events when lost connection to outgoing SIP server
> -------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24863
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24863
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.2.0
>            Reporter: Dmitriy Serov
>
> Using res_pjsip I have not any AMI events when lost connection to outgoing SIP server.
> Endpoint configured as a trunk, outbound authentication.
> Qualify changes status of contact. But endpoint does not change own status, no AMI events I see.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list