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

Andrew Nagy (JIRA) noreply at issues.asterisk.org
Mon Jun 30 16:05:56 CDT 2014


Andrew Nagy created ASTERISK-23969:
--------------------------------------

             Summary: 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
    Affects Versions: 12.2.0
            Reporter: Andrew Nagy
            Severity: Minor


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