[asterisk-bugs] [JIRA] (ASTERISK-23969) SendMessage AMI action Cant Send Text Message Over PJSIP

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Aug 11 15:18:40 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-23969:
-----------------------------------

    Target Release Version/s: 12.5.0

> SendMessage AMI action Cant Send Text Message Over PJSIP
> --------------------------------------------------------
>
>                 Key: ASTERISK-23969
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23969
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_messaging
>    Affects Versions: 12.2.0
>            Reporter: Andrew Nagy
>            Severity: Minor
>      Target Release: 12.5.0
>
>
> Trying to send a message over the AMI to a SPI URI doesn't appear to be working.
> The message I will keep getting back is: "[2014-06-30 17:01:27] ERROR[781]: res_pjsip_messaging.c:576 msg_send: PJSIP MESSAGE - Could not find endpoint and no default outbound endpoint configured"
> No matter how I have the TO: address configured inside of SendMessage.
> pjsip show endpoints
> {code}
> Endpoint:  fpbx-1-mh7JkBYOKFFO                                  Not in use    0 of inf
>     OutAuth:  fpbx-1-mh7JkBYOKFFO/mh7JkBYOKFFO
>         Aor:  fpbx-1-mh7JkBYOKFFO                                0
>       Contact:  fpbx-1-mh7JkBYOKFFO/sip:mh7JkBYOKFFO at trunk1.fre  Unknown               nan
>   Transport:  0.0.0.0-udp               udp      0      0  0.0.0.0:5060
>    Identify:  192.159.66.3/255.255.255.255
>  Endpoint:  fpbx-2-mh7JkBYOKFFO                                  Not in use    0 of inf
>     OutAuth:  fpbx-2-mh7JkBYOKFFO/mh7JkBYOKFFO
>         Aor:  fpbx-2-mh7JkBYOKFFO                                0
>       Contact:  fpbx-2-mh7JkBYOKFFO/sip:mh7JkBYOKFFO at trunk2.fre  Unknown               nan
>   Transport:  0.0.0.0-udp               udp      0      0  0.0.0.0:5060
>    Identify:  66.243.108.101/255.255.255.255
> {code}
> Here is what I am trying to send:
> {code}
> To: pjsip:195125947XX at trunk1.freepbx.com
> From: pjsip:1000
> Body: Test
> {code}
> I've tried several different combinations of the above including:
> To: pjsip:fpbx-1-mh7jkby0kff0/sip:195125947XX at trunk1.freepbx.com
> And they all throw the same error. Matt Jordan said I should open a bug report on it so here it is.



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



More information about the asterisk-bugs mailing list