[SR-Users] Kamailio <-> Asterisk MWI

Daniel Tryba daniel at pocos.nl
Tue Nov 27 16:38:31 CET 2012


I'm trying to get the MWI indicator on endpoints to work by redirecting the 
SUBSCRIBE to the voicemail server (asterisk) using usc_replace_(to|from).
This works fine for the initial request but the next subscribe will fail since 
the to/from don't get rewritten, which is indicated by the error:
ERROR: uac [replace.c:250]: decline FROM replacing in sequential request in 
auto mode (has TO tag)

This occurs when the modparam "uac","restore_mode" is manual or auto. When set 
to none the redirect will be correct but all responses have to be rewritten 
manually (I'm a beginner and I don't want to do this just yet). And since uac 
has knowledge about this having being rewritten, sending the original from/to 
looks like like a bug to me (more probable a misconfiguration/omission of 
something crucial withing dialog responses :)

Changes to the (default debian package) config, in route
route[PRESENCE] in if(is_method("SUBSCRIBE"))

if( is_method("SUBSCRIBE"))
{
  if(search_hf("Event", "message-summary", "a"))
  {
    if (!www_authenticate("$fd", "subscriber")) {
      www_challenge("$fd", "1");
      exit;
    }

    if(avp_db_query("SELECT value FROM usr_preferences WHERE username='$au' 
and attribute='voicemail' ORDER BY value limit 1"))
    {
      $avp(voicemail)=$avp(i:1);

      $avp(subscrfrom)=$fu;
      avp_subst("$avp(subscrfrom)", "/sip:.*@/sip:$avp(voicemail)@/");
      uac_replace_from("$avp(subscrfrom)");
      uac_replace_to("","sip:$avp(voicemail)@$sel(cfg_get.voicemail.srv_ip):
$sel(cfg_get.voicemail.srv_port)");
      remove_hf("Authorization");

      $ru = "sip:" + $avp(voicemail) + "@" + $sel(cfg_get.voicemail.srv_ip) + 
":" + $sel(cfg_get.voicemail.srv_port);
      route(RELAY);
    }
  }
  else
  {
    handle_subscribe();
    t_release();
  }
}
exit;

192.168.34.226 is the sip device, 192.168.32.40 kamailio, 192.168.32.41 the 
voicemailserver.

Initial request:
U 192.168.34.226:5852 -> 192.168.32.40:5060
SUBSCRIBE sip:grandstream at sip.local SIP/2.0.
From: "Daniel" <sip:grandstream at sip.local>;tag=67d8f67065827fe2.
To: <sip:grandstream at sip.local>.

Gets rewritten to:
U 192.168.32.40:5060 -> 192.168.32.41:5060
SUBSCRIBE sip:0880100782 at 192.168.32.41:5060 SIP/2.0.
From: "Daniel" <sip:0880100782 at sip.local>;tag=67d8f67065827fe2.
To: <sip:0880100782 at 192.168.32.41:5060>.

The response gets relayed to the endpoint and MWI will light up since there is 
a message.

But next subscribe update from the endpoint triggers the "decline FROM 
replacing in sequential request" error and thus the subscribe send to 
voicemail is the original to/from:
U 192.168.32.40:5060 -> 192.168.32.41:5060
SUBSCRIBE sip:0880100782 at 192.168.32.41:5060 SIP/2.0.
From: "Daniel" <sip:grandstream at sip.local>;tag=67d8f67065827fe2.
To: <sip:grandstream at sip.local>;tag=as324de8f3.

Resulting in a 404 since the to/from are not the real peername on the 
voicemail server. How do I force Kamailio to rewrite the from/to without doing 
this manually for a requests/responses (restore_mode none)? The easy way out 
of this problem would be to have a 1 to 1 relation for the Kamailio 
subscribers and voicemail peers. But uac_replace should work (somehow).

Attached is a full capture of the subscribe/notify. Running 3.3.2+squeeze from 
http://deb.kamailio.org/kamailio/. Machine is also running topoh module 
(192.168.0.1).

-- 

POCOS B.V. - Croy 9c - 5653 LC Eindhoven
Telefoon: 040 293 8661 - Fax: 040 293 8658
http://www.pocos.nl/   - http://www.sipo.nl/
K.v.K. Eindhoven 17097024
-------------- next part --------------
>>>First SUBSCRIBE attempt:

U 192.168.34.226:5852 -> 192.168.32.40:5060
SUBSCRIBE sip:grandstream at sip.local SIP/2.0.
Via: SIP/2.0/UDP 10.0.3.169:5062;branch=z9hG4bK48f04661c5c48c77.
From: "Daniel" <sip:grandstream at sip.local>;tag=67d8f67065827fe2.
To: <sip:grandstream at sip.local>.
Contact: <sip:grandstream at 10.0.3.169:5062;transport=udp>.
Supported: eventlist, path.
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 2001 SUBSCRIBE.
User-Agent: Grandstream GXP2000 1.2.5.3.
Max-Forwards: 70.
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE.
Event: message-summary.
Expires: 180.
Accept: application/simple-message-summary.
Content-Length: 0.
.

#
U 192.168.32.40:5060 -> 192.168.34.226:5852
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP 10.0.3.169:5062;branch=z9hG4bK48f04661c5c48c77;rport=5852;received=192.168.34.226.
From: "Daniel" <sip:grandstream at sip.local>;tag=67d8f67065827fe2.
To: <sip:grandstream at sip.local>;tag=b27e1a1d33761e85846fc98f5f3a7e58.cc64.
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 2001 SUBSCRIBE.
WWW-Authenticate: Digest realm="sip.local", nonce="ULS+7FC0vcAKnufzKUmvuZd/BWWs//aU", qop="auth".
Server: kamailio (3.3.2 (x86_64/linux)).
Content-Length: 0.
.

#
U 192.168.34.226:5852 -> 192.168.32.40:5060
SUBSCRIBE sip:grandstream at sip.local SIP/2.0.
Via: SIP/2.0/UDP 10.0.3.169:5062;branch=z9hG4bKcd8e3f6af80c642a.
From: "Daniel" <sip:grandstream at sip.local>;tag=67d8f67065827fe2.
To: <sip:grandstream at sip.local>.
Contact: <sip:grandstream at 10.0.3.169:5062;transport=udp>.
Supported: eventlist, path.
Authorization: Digest username="grandstream", realm="sip.local", algorithm=MD5, uri="sip:grandstream at sip.local", qop=auth, nc=00000001, cnonce="fedaf6ad07450657", nonce="ULS+7FC0vcAKnufzKUmvuZd/BWWs//aU", response="0675c1a9545c00b32fa9eed9515f1113".
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 2002 SUBSCRIBE.
User-Agent: Grandstream GXP2000 1.2.5.3.
Max-Forwards: 70.
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE.
Event: message-summary.
Expires: 180.
Accept: application/simple-message-summary.
Content-Length: 0.
.

#
U 192.168.32.40:5060 -> 192.168.32.41:5060
SUBSCRIBE sip:0880100782 at 192.168.32.41:5060 SIP/2.0.
Record-Route: <sip:192.168.32.40;lr=on;ftag=67d8f67065827fe2;vsf=AAAAAFdKWV5VQ0RFXVMtMxoZXl4fDAwcXUACbA--;vst=AAAAAFdKWV5VQ0RFXVMtcUNQXhxDWk1cQQBaXTo1MDYw;nat=yes>.
Via: SIP/2.0/UDP 192.168.32.40;branch=z9hG4bKec4c.f5f301b7.0.
Via: SIP/2.0/UDP 192.168.0.1;branch=pocos-rS4MusXox1l5QHyNxRyox1dsuA7pWRktxGZfWgeKCgeS-RrdERX0m85AzD4pzDMlxRy6uAXsEOdsE1dfxAZ057Nlzq4pWpefZD6AhGtwWDJjEqeuZpMdzRE8E8H8WGIAEAMfZM**.
From: "Daniel" <sip:0880100782 at sip.local>;tag=67d8f67065827fe2.
To: <sip:0880100782 at 192.168.32.41:5060>.
Contact: <sip:192.168.0.1;line=pcs-mp4KW89fZD6nmgQfzDHcMG7KuAyoxfd3EAnwERypxAcJCq4JmsS3xGnoxAxtuAxSuAXfEPdtWGrfvA709jeJCPEKCgeS-.5nmy**>.
Supported: eventlist, path.
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 2002 SUBSCRIBE.
User-Agent: Grandstream GXP2000 1.2.5.3.
Max-Forwards: 69.
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE.
Event: message-summary.
Expires: 180.
Accept: application/simple-message-summary.
Content-Length: 0.
.

#
U 192.168.32.41:5060 -> 192.168.32.40:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.32.40;branch=z9hG4bKec4c.f5f301b7.0;received=192.168.32.40;rport=5060.
Via: SIP/2.0/UDP 192.168.0.1;branch=pocos-rS4MusXox1l5QHyNxRyox1dsuA7pWRktxGZfWgeKCgeS-RrdERX0m85AzD4pzDMlxRy6uAXsEOdsE1dfxAZ057Nlzq4pWpefZD6AhGtwWDJjEqeuZpMdzRE8E8H8WGIAEAMfZM**.
Record-Route: <sip:192.168.32.40;lr=on;ftag=67d8f67065827fe2;vsf=AAAAAFdKWV5VQ0RFXVMtMxoZXl4fDAwcXUACbA--;vst=AAAAAFdKWV5VQ0RFXVMtcUNQXhxDWk1cQQBaXTo1MDYw;nat=yes>.
From: "Daniel" <sip:0880100782 at sip.local>;tag=67d8f67065827fe2.
To: <sip:0880100782 at 192.168.32.41:5060>;tag=as324de8f3.
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 2002 SUBSCRIBE.
Server: Asterisk PBX 1.8.13.1~dfsg-1~bpo60+1.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Expires: 180.
Contact: <sip:0880100782 at 192.168.32.41:5060>;expires=180.
Content-Length: 0.
.

#
U 192.168.32.41:5060 -> 192.168.32.40:5060
NOTIFY sip:192.168.0.1;line=pcs-mp4KW89fZD6nmgQfzDHcMG7KuAyoxfd3EAnwERypxAcJCq4JmsS3xGnoxAxtuAxSuAXfEPdtWGrfvA709jeJCPEKCgeS-.5nmy** SIP/2.0.
Via: SIP/2.0/UDP 192.168.32.41:5060;branch=z9hG4bK5e6585ad;rport.
Max-Forwards: 70.
Route: <sip:192.168.32.40;lr=on;ftag=67d8f67065827fe2;vsf=AAAAAFdKWV5VQ0RFXVMtMxoZXl4fDAwcXUACbA--;vst=AAAAAFdKWV5VQ0RFXVMtcUNQXhxDWk1cQQBaXTo1MDYw;nat=yes>.
From: "asterisk" <sip:asterisk at 192.168.32.41>;tag=as324de8f3.
To: <sip:192.168.0.1;line=pcs-mp4KW89fZD6nmgQfzDHcMG7KuAyoxfd3EAnwERypxAcJCq4JmsS3xGnoxAxtuAxSuAXfEPdtWGrfvA709jeJCPEKCgeS-.5nmy**>;tag=67d8f67065827fe2.
Contact: <sip:asterisk at 192.168.32.41:5060>.
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 102 NOTIFY.
User-Agent: Asterisk PBX 1.8.13.1~dfsg-1~bpo60+1.
Event: message-summary.
Content-Type: application/simple-message-summary.
Subscription-State: active.
Content-Length: 94.
.
Messages-Waiting: yes.
Message-Account: sip:asterisk at 192.168.32.41.
Voice-Message: 1/0 (0/0).

#
U 192.168.32.40:5060 -> 192.168.34.226:5852
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.0.3.169:5062;rport=5852;received=192.168.34.226;branch=z9hG4bKcd8e3f6af80c642a.
Record-Route: <sip:192.168.32.40;lr=on;ftag=67d8f67065827fe2;vsf=AAAAAFdKWV5VQ0RFXVMtMxoZXl4fDAwcXUACbA--;vst=AAAAAFdKWV5VQ0RFXVMtcUNQXhxDWk1cQQBaXTo1MDYw;nat=yes>.
From: "Daniel" <sip:grandstream at sip.local>;tag=67d8f67065827fe2.
To: <sip:grandstream at sip.local>;tag=as324de8f3.
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 2002 SUBSCRIBE.
Server: Asterisk PBX 1.8.13.1~dfsg-1~bpo60+1.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Expires: 180.
Contact: <sip:192.168.0.1;line=pcs-mp4KWAydWGy3xGygWGeyxRy6uAXsEOdsxidSxRktxGZK>;expires=180.
Content-Length: 0.
.

#
U 192.168.32.40:5060 -> 192.168.34.226:5852
NOTIFY sip:grandstream at 10.0.3.169:5062;transport=udp SIP/2.0.
Record-Route: <sip:192.168.32.40;lr=on;ftag=as324de8f3>.
Via: SIP/2.0/UDP 192.168.32.40;branch=z9hG4bK88a7.e2e47931.0.
Via: SIP/2.0/UDP 192.168.0.1;branch=pocos-rS4MusXox1l5QHyNxRy6uAXsEOdsxidSxRktxGZKWtQX-.5A9Acim8HoZpNlaA4kQsQiOs54EArdEDHnWgeKCgeS-RrKEAy*.
Max-Forwards: 69.
From: "asterisk" <sip:69-;'*7..b.Hmbm)mi.ru1Z]:5060>;tag=as324de8f3.
To: <sip:192.168.0.1;line=pcs-mp4KW89fZD6nmgQfzDHcMG7KuAyoxfd3EAnwERypxAcJCq4JmsS3xGnoxAxtuAxSuAXfEPdtWGrfvA709jeJCPEKCgeS-.5nmy**>;tag=67d8f67065827fe2.
Contact: <sip:192.168.0.1;line=pcs-mp4KW8Hs9q5fh.ELMG7KWOdfxsroxsXoEG7wERypxy**>.
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 102 NOTIFY.
User-Agent: Asterisk PBX 1.8.13.1~dfsg-1~bpo60+1.
Event: message-summary.
Content-Type: application/simple-message-summary.
Subscription-State: active.
Content-Length: 94.
.
Messages-Waiting: yes.
Message-Account: sip:asterisk at 192.168.32.41.
Voice-Message: 1/0 (0/0).

#
U 192.168.34.226:5852 -> 192.168.32.40:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.32.40;branch=z9hG4bK88a7.e2e47931.0.
Via: SIP/2.0/UDP 192.168.0.1;branch=pocos-rS4MusXox1l5QHyNxRy6uAXsEOdsxidSxRktxGZKWtQX-.5A9Acim8HoZpNlaA4kQsQiOs54EArdEDHnWgeKCgeS-RrKEAy*.
Record-Route: <sip:192.168.32.40;lr=on;ftag=as324de8f3>.
From: "asterisk" <sip:69-;'*7..b.Hmbm)mi.ru1Z]:5060>;tag=as324de8f3.
To: <sip:192.168.0.1;line=pcs-mp4KW89fZD6nmgQfzDHcMG7KuAyoxfd3EAnwERypxAcJCq4JmsS3xGnoxAxtuAxSuAXfEPdtWGrfvA709jeJCPEKCgeS-.5nmy**>;tag=67d8f67065827fe2.
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 102 NOTIFY.
User-Agent: Grandstream GXP2000 1.2.5.3.
Contact: <sip:grandstream at 10.0.3.169:5062;transport=udp>.
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE.
Supported: replaces, timer.
Content-Length: 0.
.

#
U 192.168.32.40:5060 -> 192.168.32.41:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.32.41:5060;branch=z9hG4bK5e6585ad;rport=5060.
Record-Route: <sip:192.168.32.40;lr=on;ftag=as324de8f3>.
From: "asterisk" <sip:asterisk at 192.168.32.41>;tag=as324de8f3.
To: <sip:192.168.0.1;line=pcs-mp4KW89fZD6nmgQfzDHcMG7KuAyoxfd3EAnwERypxAcJCq4JmsS3xGnoxAxtuAxSuAXfEPdtWGrfvA709jeJCPEKCgeS-.5nmy**>;tag=67d8f67065827fe2.
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 102 NOTIFY.
User-Agent: Grandstream GXP2000 1.2.5.3.
Contact: <sip:192.168.0.1;line=pcs-mp4KW89fZD6nmgQfzDHcMG7KuAyoxfd3EAnwERypxAcSm8HomgIbmPMl9DQK>.
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE.
Supported: replaces, timer.
Content-Length: 0.
.

#



>>>Second attempt:

U 192.168.34.226:5852 -> 192.168.32.40:5060
SUBSCRIBE sip:grandstream at sip.local SIP/2.0.
Via: SIP/2.0/UDP 10.0.3.169:5062;branch=z9hG4bK8aa08ff3cba63217.
Route: <sip:192.168.32.40;lr=on;ftag=67d8f67065827fe2;vsf=AAAAAFdKWV5VQ0RFXVMtMxoZXl4fDAwcXUACbA--;vst=AAAAAFdKWV5VQ0RFXVMtcUNQXhxDWk1cQQBaXTo1MDYw;nat=yes>.
From: "Daniel" <sip:grandstream at sip.local>;tag=67d8f67065827fe2.
To: <sip:grandstream at sip.local>;tag=as324de8f3.
Contact: <sip:grandstream at 10.0.3.169:5062;transport=udp>.
Supported: eventlist, path.
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 2003 SUBSCRIBE.
User-Agent: Grandstream GXP2000 1.2.5.3.
Max-Forwards: 70.
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE.
Event: message-summary.
Expires: 180.
Accept: application/simple-message-summary.
Content-Length: 0.
.

#
U 192.168.32.40:5060 -> 192.168.34.226:5852
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP 10.0.3.169:5062;rport=5852;received=192.168.34.226;branch=z9hG4bK8aa08ff3cba63217.
From: "Daniel" <sip:grandstream at sip.local>;tag=67d8f67065827fe2.
To: <sip:grandstream at sip.local>;tag=as324de8f3.
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 2003 SUBSCRIBE.
WWW-Authenticate: Digest realm="sip.local", nonce="ULS/RlC0vhpOPfY7vCYlk31hbpcaI8Qw", qop="auth".
Server: kamailio (3.3.2 (x86_64/linux)).
Content-Length: 0.
.

#
U 192.168.34.226:5852 -> 192.168.32.40:5060
SUBSCRIBE sip:grandstream at sip.local SIP/2.0.
Via: SIP/2.0/UDP 10.0.3.169:5062;branch=z9hG4bK99b902c8103924e9.
Route: <sip:192.168.32.40;lr=on;ftag=67d8f67065827fe2;vsf=AAAAAFdKWV5VQ0RFXVMtMxoZXl4fDAwcXUACbA--;vst=AAAAAFdKWV5VQ0RFXVMtcUNQXhxDWk1cQQBaXTo1MDYw;nat=yes>.
From: "Daniel" <sip:grandstream at sip.local>;tag=67d8f67065827fe2.
To: <sip:grandstream at sip.local>;tag=as324de8f3.
Contact: <sip:grandstream at 10.0.3.169:5062;transport=udp>.
Supported: eventlist, path.
Authorization: Digest username="grandstream", realm="sip.local", algorithm=MD5, uri="sip:grandstream at sip.local", qop=auth, nc=00000001, cnonce="dd4d638696e60f7e", nonce="ULS/RlC0vhpOPfY7vCYlk31hbpcaI8Qw", response="d4d562f5a60bba1b1e30eb5b82b0bfad".
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 2004 SUBSCRIBE.
User-Agent: Grandstream GXP2000 1.2.5.3.
Max-Forwards: 70.
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE.
Event: message-summary.
Expires: 180.
Accept: application/simple-message-summary.
Content-Length: 0.
.

#
U 192.168.32.40:5060 -> 192.168.32.41:5060
SUBSCRIBE sip:0880100782 at 192.168.32.41:5060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.32.40;branch=z9hG4bKcc4c.9be8cca4.0.
Via: SIP/2.0/UDP 192.168.0.1;branch=pocos-rS4MusXox1l5QHyNxRy6uAXsEOdsxidSxGcfmqlf9GStxGZKWtQX-DQA9Acim8HoZpNlaA4kQsQiOpEAEqxoWqe4WqEAZRMoxy**.
Via: SIP/2.0/UDP 192.168.0.1;branch=pocos-rS4MusXox1l5QHyNxRnfuA7pW1dKuA70ZPeJC8Ek-.IbZplsu.eRE7ttmtJbaGHTE5HXar6drP4baGHnmg5IEgI.r8cSa79hz49PzrcGzp5Ru5efz75ODGIcWG5IanMSmjV7RD3drPnp9rHZmS5-zjEHxDQ8a7HhxGrgR83wmr5K5gI4z4V7EnHkQgQg5SQYhn53z.5.rAQV5te6z4VsRAEdQgNpa7HQEH9EYik*.
From: "Daniel" <sip:grandstream at sip.local>;tag=67d8f67065827fe2.
To: <sip:grandstream at sip.local>;tag=as324de8f3.
Contact: <sip:192.168.0.1;line=pcs-mp4KWA76xid3EANox1d3WpHThDHs-R7KWOdfxsroxsXoEGIBERypxjd3Wp3VC8rlmqEsuDtKE7c.WG48DnMpC8tPrDzwQ7JARrmgOg5IaDldz8MsQrHo9S5Oa.IdMDEYMg7SO8tsrsEdQp6ba7Hd9j5IaHEtM5J8Q5In9H9jm8zpMRmKWDV4OnEMQrcGzp5RuOdtC8t6Yik*>.
Supported: eventlist, path.
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 2004 SUBSCRIBE.
User-Agent: Grandstream GXP2000 1.2.5.3.
Max-Forwards: 68.
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE.
Event: message-summary.
Expires: 180.
Accept: application/simple-message-summary.
Content-Length: 0.
.

#
U 192.168.32.41:5060 -> 192.168.32.40:5060
SIP/2.0 404 Not found.
Via: SIP/2.0/UDP 192.168.32.40;branch=z9hG4bKcc4c.9be8cca4.0;received=192.168.32.40;rport=5060.
Via: SIP/2.0/UDP 192.168.0.1;branch=pocos-rS4MusXox1l5QHyNxRy6uAXsEOdsxidSxGcfmqlf9GStxGZKWtQX-DQA9Acim8HoZpNlaA4kQsQiOpEAEqxoWqe4WqEAZRMoxy**.
Via: SIP/2.0/UDP 192.168.0.1;branch=pocos-rS4MusXox1l5QHyNxRnfuA7pW1dKuA70ZPeJC8Ek-.IbZplsu.eRE7ttmtJbaGHTE5HXar6drP4baGHnmg5IEgI.r8cSa79hz49PzrcGzp5Ru5efz75ODGIcWG5IanMSmjV7RD3drPnp9rHZmS5-zjEHxDQ8a7HhxGrgR83wmr5K5gI4z4V7EnHkQgQg5SQYhn53z.5.rAQV5te6z4VsRAEdQgNpa7HQEH9EYik*.
From: "Daniel" <sip:grandstream at sip.local>;tag=67d8f67065827fe2.
To: <sip:grandstream at sip.local>;tag=as324de8f3.
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 2004 SUBSCRIBE.
Server: Asterisk PBX 1.8.13.1~dfsg-1~bpo60+1.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Content-Length: 0.
.

#
U 192.168.32.40:5060 -> 192.168.34.226:5852
SIP/2.0 404 Not found.
Via: SIP/2.0/UDP 10.0.3.169:5062;rport=5852;received=192.168.34.226;branch=z9hG4bK99b902c8103924e9.
From: "Daniel" <sip:grandstream at sip.local>;tag=67d8f67065827fe2.
To: <sip:grandstream at sip.local>;tag=as324de8f3.
Call-ID: aaa00e223a7031b0 at 10.0.3.169.
CSeq: 2004 SUBSCRIBE.
Server: Asterisk PBX 1.8.13.1~dfsg-1~bpo60+1.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Content-Length: 0.
.

#



More information about the sr-users mailing list