[asterisk-bugs] [JIRA] (ASTERISK-26741) PJSIP device state exchange does not work between Asterisk instances on different network subnets

Jason Shrack (JIRA) noreply at issues.asterisk.org
Sun Jan 22 14:19:10 CST 2017


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

Jason Shrack commented on ASTERISK-26741:
-----------------------------------------

1. Configure 'Asterisk 1' and 'Asterisk 2' for devicestate publish per https://wiki.asterisk.org/wiki/display/AST/Exchanging+Device+and+Mailbox+State+Using+PJSIP. Relevant pjsip.conf configuration is attached.

2. I should expect to see 'asterisk-devicestate' PUBLISH events in the pjsip debug log output (attached) per https://wiki.asterisk.org/wiki/display/AST/Exchanging+Device+and+Mailbox+State+Using+PJSIP. 

3. No 'asterisk-devicestate' events occur when the devicestate publish server_uri target is set to the target IP address of the peer Asterisk instance that resides on a different subnet than the originating Asterisk instance. If you change the 'server_uri' target in pjsip.conf to a target IP address on the SAME subnet as the originating Asterisk instance you then see 'asterisk-devicestate' PUBLISH events in the pjsip debug output (attached). When you revert the configuration to the desired configuration (Asterisk peer target on a different subnet) no 'asterisk-devicestate' PUBLISH events are generated.

Let me know if you need additional supporting information.

> PJSIP device state exchange does not work between Asterisk instances on different network subnets
> -------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26741
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26741
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_outbound_publish
>    Affects Versions: 13.13.1
>         Environment: CentOS 6.5:  2.6.32-642.13.1.el6.x86_64 #1 SMP Wed Jan 11 20:56:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Jason Shrack
>            Assignee: Jason Shrack
>         Attachments: arch.txt, asterisk1-pjsip.conf.txt, asterisk2-pjsip.conf.txt, pjsip-debug-publish-not-working.txt, pjsip-debug-publish-working.txt
>
>
> When configuring (per https://wiki.asterisk.org/wiki/display/AST/Exchanging+Device+and+Mailbox+State+Using+PJSIP) two Asterisk instances on different subnets to exchange device state information no PUBLISH events are generated. If you modify the server_uri attribute in pjsip.conf to a endpoint address on the same network as the source server PUBLISH event-devicestate are then generated. If you revert to a server_uri endpoint on a different network they are no longer generated and device state data is never received on the remote Asterisk server.



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



More information about the asterisk-bugs mailing list