Some requests/questions from a new user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thanks for your answers. Can you help me with 2 more?

1. I'm testing against ippi.fr server, and I'm not beeing able to
register to user presence notifications. Seems like the server need
some kind of authentication that is not sent. Attached I'm sending a
dump of the problem (the client was already sucessifully registered
with the server).

2. There is some way to tell if a call is using SRTP based on a call
id? I could not find such info


>> 6. I'm having problems when I subscribe to notifications of a contact.
>> If the contact is not online when I register with the server, I get a
>> "wait for it" message. When the contact goes online pjsip does not try
>> to re-connect with it. Instead I receive an on_mwi_info notification,
>> but I don't know what to do with it. Could someone please help me?
>> (I'm using an asterisk server)
>>
>>
>
> What kind of SIP subscription event is this?

This is only happening with a server called OfficeSIP, so I'm ignoring
it for now. If you want I can get a dump of the messages.


Thanks
Pescuma
-------------- next part --------------
TRACE: Level 4 :  03:24:44.796   pjsua_pres.c  Using account 0 for buddy 0 subscription
TRACE: Level 4 :  03:24:44.812   pjsua_core.c  TX 599 bytes Request msg SUBSCRIBE/cseq=23603 (tdta04B0B4B0) to UDP 213.215.45.230:5060:
SUBSCRIBE sip:user1 at ippi.fr SIP/2.0
Via: SIP/2.0/UDP 189.114.204.122:14047;rport;branch=z9hG4bKPj767ad3828b764f4a91c2307900bb7239
Max-Forwards: 70
From: <sip:user2@xxxxxxx>;tag=9e4199286459487eb737d6aea28920c5
To: <sip:user1 at ippi.fr>
Contact: <sip:pescuma at 189.114.204.122:14047>
Call-ID: 2b1992808f4f40629b12f7ffac023aac
CSeq: 23603 SUBSCRIBE
Event: presence
Expires: 600
Accept: application/pidf+xml, application/xpidf+xml
Allow-Events: presence, message-summary, refer
User-Agent: Miranda IM 0.9.0 alpha build #4 Unicode (pjsua v1.5)/win32
Content-Length:  0


--end msg--
TRACE: Level 4 :  03:24:44.812  evsub04B0AAB4  Subscription state changed NULL --> SENT
TRACE: Level 4 :  03:24:44.812   pjsua_pres.c  Presence subscription to <sip:user1 at ippi.fr> is SENT
TRACE: Level 4 :  03:24:45.078   pjsua_core.c  RX 512 bytes Response msg 407/SUBSCRIBE/cseq=23603 (rdata04B0C6A4) from UDP 213.215.45.230:5060:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 189.114.204.122:14047;rport=14047;branch=z9hG4bKPj767ad3828b764f4a91c2307900bb7239
From: <sip:user2@xxxxxxx>;tag=9e4199286459487eb737d6aea28920c5
To: <sip:user1 at ippi.fr>;tag=7de74fca14f1bfb39c7ff5b1e9881d50.a45f
Call-ID: 2b1992808f4f40629b12f7ffac023aac
CSeq: 23603 SUBSCRIBE
Proxy-Authenticate: Digest realm="ippi.fr", nonce="4b63c3b8cbbdbb0638648c648be27f41aea48cdb"
Server: OpenSER (1.2.1-notls (i386/linux))
Content-Length: 0


--end msg--
TRACE: Level 4 :  03:24:45.078   pjsua_core.c  TX 794 bytes Request msg SUBSCRIBE/cseq=23604 (tdta04B0B4B0) to UDP 213.215.45.230:5060:
SUBSCRIBE sip:user1 at ippi.fr SIP/2.0
Via: SIP/2.0/UDP 189.114.204.122:14047;rport;branch=z9hG4bKPjaf72313f93894544b8a75bf1740c3b77
Max-Forwards: 70
From: <sip:user2@xxxxxxx>;tag=9e4199286459487eb737d6aea28920c5
To: <sip:user1 at ippi.fr>
Contact: <sip:pescuma at 189.114.204.122:14047>
Call-ID: 2b1992808f4f40629b12f7ffac023aac
CSeq: 23604 SUBSCRIBE
Event: presence
Expires: 600
Accept: application/pidf+xml, application/xpidf+xml
Allow-Events: presence, message-summary, refer
User-Agent: Miranda IM 0.9.0 alpha build #4 Unicode (pjsua v1.5)/win32
Proxy-Authorization: Digest username="user1", realm="ippi.fr", nonce="4b63c3b8cbbdbb0638648c648be27f41aea48cdb", uri="sip:user1 at ippi.fr", response="218886d7d1954be2d8e1602c7a08884e"
Content-Length:  0


--end msg--
TRACE: Level 4 :  03:24:45.578   pjsua_core.c  TX 794 bytes Request msg SUBSCRIBE/cseq=23604 (tdta04B0B4B0) to UDP 213.215.45.230:5060:
SUBSCRIBE sip:user1 at ippi.fr SIP/2.0
Via: SIP/2.0/UDP 189.114.204.122:14047;rport;branch=z9hG4bKPjaf72313f93894544b8a75bf1740c3b77
Max-Forwards: 70
From: <sip:user2@xxxxxxx>;tag=9e4199286459487eb737d6aea28920c5
To: <sip:user1 at ippi.fr>
Contact: <sip:pescuma at 189.114.204.122:14047>
Call-ID: 2b1992808f4f40629b12f7ffac023aac
CSeq: 23604 SUBSCRIBE
Event: presence
Expires: 600
Accept: application/pidf+xml, application/xpidf+xml
Allow-Events: presence, message-summary, refer
User-Agent: Miranda IM 0.9.0 alpha build #4 Unicode (pjsua v1.5)/win32
Proxy-Authorization: Digest username="user1", realm="ippi.fr", nonce="4b63c3b8cbbdbb0638648c648be27f41aea48cdb", uri="sip:user1 at ippi.fr", response="218886d7d1954be2d8e1602c7a08884e"
Content-Length:  0


--end msg--
TRACE: Level 4 :  03:24:46.578   pjsua_core.c  TX 794 bytes Request msg SUBSCRIBE/cseq=23604 (tdta04B0B4B0) to UDP 213.215.45.230:5060:
SUBSCRIBE sip:user1 at ippi.fr SIP/2.0
Via: SIP/2.0/UDP 189.114.204.122:14047;rport;branch=z9hG4bKPjaf72313f93894544b8a75bf1740c3b77
Max-Forwards: 70
From: <sip:user2@xxxxxxx>;tag=9e4199286459487eb737d6aea28920c5
To: <sip:user1 at ippi.fr>
Contact: <sip:pescuma at 189.114.204.122:14047>
Call-ID: 2b1992808f4f40629b12f7ffac023aac
CSeq: 23604 SUBSCRIBE
Event: presence
Expires: 600
Accept: application/pidf+xml, application/xpidf+xml
Allow-Events: presence, message-summary, refer
User-Agent: Miranda IM 0.9.0 alpha build #4 Unicode (pjsua v1.5)/win32
Proxy-Authorization: Digest username="user1", realm="ippi.fr", nonce="4b63c3b8cbbdbb0638648c648be27f41aea48cdb", uri="sip:user1 at ippi.fr", response="218886d7d1954be2d8e1602c7a08884e"
Content-Length:  0


--end msg--
TRACE: Level 4 :  03:24:48.578   pjsua_core.c  TX 794 bytes Request msg SUBSCRIBE/cseq=23604 (tdta04B0B4B0) to UDP 213.215.45.230:5060:
SUBSCRIBE sip:user1 at ippi.fr SIP/2.0
Via: SIP/2.0/UDP 189.114.204.122:14047;rport;branch=z9hG4bKPjaf72313f93894544b8a75bf1740c3b77
Max-Forwards: 70
From: <sip:user2@xxxxxxx>;tag=9e4199286459487eb737d6aea28920c5
To: <sip:user1 at ippi.fr>
Contact: <sip:pescuma at 189.114.204.122:14047>
Call-ID: 2b1992808f4f40629b12f7ffac023aac
CSeq: 23604 SUBSCRIBE
Event: presence
Expires: 600
Accept: application/pidf+xml, application/xpidf+xml
Allow-Events: presence, message-summary, refer
User-Agent: Miranda IM 0.9.0 alpha build #4 Unicode (pjsua v1.5)/win32
Proxy-Authorization: Digest username="user1", realm="ippi.fr", nonce="4b63c3b8cbbdbb0638648c648be27f41aea48cdb", uri="sip:user1 at ippi.fr", response="218886d7d1954be2d8e1602c7a08884e"
Content-Length:  0


--end msg--
TRACE: Level 4 :  03:24:52.578   pjsua_core.c  TX 794 bytes Request msg SUBSCRIBE/cseq=23604 (tdta04B0B4B0) to UDP 213.215.45.230:5060:
SUBSCRIBE sip:user1 at ippi.fr SIP/2.0
Via: SIP/2.0/UDP 189.114.204.122:14047;rport;branch=z9hG4bKPjaf72313f93894544b8a75bf1740c3b77
Max-Forwards: 70
From: <sip:user2@xxxxxxx>;tag=9e4199286459487eb737d6aea28920c5
To: <sip:user1 at ippi.fr>
Contact: <sip:pescuma at 189.114.204.122:14047>
Call-ID: 2b1992808f4f40629b12f7ffac023aac
CSeq: 23604 SUBSCRIBE
Event: presence
Expires: 600
Accept: application/pidf+xml, application/xpidf+xml
Allow-Events: presence, message-summary, refer
User-Agent: Miranda IM 0.9.0 alpha build #4 Unicode (pjsua v1.5)/win32
Proxy-Authorization: Digest username="user1", realm="ippi.fr", nonce="4b63c3b8cbbdbb0638648c648be27f41aea48cdb", uri="sip:user1 at ippi.fr", response="218886d7d1954be2d8e1602c7a08884e"
Content-Length:  0


--end msg--
TRACE: Level 4 :  03:24:56.578   pjsua_core.c  TX 794 bytes Request msg SUBSCRIBE/cseq=23604 (tdta04B0B4B0) to UDP 213.215.45.230:5060:
SUBSCRIBE sip:user1 at ippi.fr SIP/2.0
Via: SIP/2.0/UDP 189.114.204.122:14047;rport;branch=z9hG4bKPjaf72313f93894544b8a75bf1740c3b77
Max-Forwards: 70
From: <sip:user2@xxxxxxx>;tag=9e4199286459487eb737d6aea28920c5
To: <sip:user1 at ippi.fr>
Contact: <sip:pescuma at 189.114.204.122:14047>
Call-ID: 2b1992808f4f40629b12f7ffac023aac
CSeq: 23604 SUBSCRIBE
Event: presence
Expires: 600
Accept: application/pidf+xml, application/xpidf+xml
Allow-Events: presence, message-summary, refer
User-Agent: Miranda IM 0.9.0 alpha build #4 Unicode (pjsua v1.5)/win32
Proxy-Authorization: Digest username="user1", realm="ippi.fr", nonce="4b63c3b8cbbdbb0638648c648be27f41aea48cdb", uri="sip:user1 at ippi.fr", response="218886d7d1954be2d8e1602c7a08884e"
Content-Length:  0


--end msg--
TRACE: Level 4 :  03:25:00.093   pjsua_core.c  RX 404 bytes Response msg 408/SUBSCRIBE/cseq=23604 (rdata04B0C6A4) from UDP 213.215.45.230:5060:
SIP/2.0 408 Request Timeout
Via: SIP/2.0/UDP 189.114.204.122:14047;rport=14047;branch=z9hG4bKPjaf72313f93894544b8a75bf1740c3b77
From: <sip:user2@xxxxxxx>;tag=9e4199286459487eb737d6aea28920c5
To: <sip:user1 at ippi.fr>;tag=a0169295a7bb61cbab51ad704ca674f5-acf2
Call-ID: 2b1992808f4f40629b12f7ffac023aac
CSeq: 23604 SUBSCRIBE
Server: OpenSER (1.2.1-notls (i386/linux))
Content-Length: 0


--end msg--
TRACE: Level 4 :  03:25:00.109  evsub04B0AAB4  Subscription state changed SENT --> TERMINATED
TRACE: Level 4 :  03:25:00.109   pjsua_pres.c  Presence subscription to <sip:user1 at ippi.fr> is TERMINATED
TRACE: Level 4 :  03:25:00.109   pjsua_pres.c  Resubscribing buddy id 0 in 300208 ms (reason: Request Timeout)
TRACE: Level 4 :  03:25:05.109  evsub04B0AAB4  Subscription destroyed


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux