now when i call another PJSIP client i say sip:8888@172.16.56.96 where
172.16.56.96 is the asterisk server URL and the two users willl be able
to communicate via asterisk but when i send text as follows
sip:8888@172.16.56.96 the message goes straight to the command line of
the asterisk not to the corresponding user with extension 8888,so how
can i direct the text to go to the destination address with extension
8888 via asterisk like it is possible with a voice call? I also tried
sending the message with sip:sihle@172.16.56.96 but same results.
This are the result from the asterisk command line
[May 20 03:59:14] WARNING[7131]: chan_sip.c:9915 receive_message:
Received message to <sip:thabile@172.16.56.96>
from <sip:sihle@172.16.56.26>;tag=24c7aa20f67a43a0980bac3d63799b48,
dropped it...
Content-Type:text/plain
Message: you are the best ever,keep up the good work
docas-desktop*CLI>
this is how i registerd the two users from PJSIP command line with
asterisk server:
user1(sihle)
Your SIP URL: sip:sihle@172.16.56.26(user 1 URL)
URL of the registrar:sip:172.16.56.96(Asterisk IP URL)
Auth Realm: asterisk
Auth Username:sihle
Auth Password:pwdsihle
user2(thabile)
Your SIP URL: sip:thabile@172.16.56.77(user 2 URL)
URL of the registrar:sip:172.16.56.96(Asterisk IP URL)
Auth Realm :asterisk
Auth Username:thabile
Auth Password:pwdthabile
thanks
docas
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
now when i call another PJSIP client i say sip:8888@172.16.56.96 where
172.16.56.96 is the asterisk server URL and the two users willl be able
to communicate via asterisk but when i send text as follows
sip:8888@172.16.56.96 the message goes straight to the command line of
the asterisk not to the corresponding user with extension 8888,so how
can i direct the text to go to the destination address with extension
8888 via asterisk like it is possible with a voice call? I also tried
sending the message with sip:sihle@172.16.56.96 but same results.
This are the result from the asterisk command line
[May 20 03:59:14] WARNING[7131]: chan_sip.c:9915 receive_message:
Received message to <sip:thabile@172.16.56.96>
from <sip:sihle@172.16.56.26>;tag=24c7aa20f67a43a0980bac3d63799b48,
dropped it...
Content-Type:text/plain
Message: you are the best ever,keep up the good work
docas-desktop*CLI>
this is how i registerd the two users from PJSIP command line with
asterisk server:
user1(sihle)
Your SIP URL: sip:sihle@172.16.56.26(user 1 URL)
URL of the registrar:sip:172.16.56.96(Asterisk IP URL)
Auth Realm: asterisk
Auth Username:sihle
Auth Password:pwdsihle
user2(thabile)
Your SIP URL: sip:thabile@172.16.56.77(user 2 URL)
URL of the registrar:sip:172.16.56.96(Asterisk IP URL)
Auth Realm :asterisk
Auth Username:thabile
Auth Password:pwdthabile
thanks
docas
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Fri May 22, 2009 9:13 pm Post subject: [asterisk-dev] direct_text_pjsip
DOCAS DUDU ZULU wrote:
Quote:
i want to send a message from one PJSIP client to another via asterisk
server, i have successfully registered my two users in sip.conf as
follows
Asterisk does not support sending text messages between endpoints in the
fashion you desire. No amount of configuration changes will affect that.
--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpfleming@digium.com
Check us out at www.digium.com & www.asterisk.org
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum