CONTACT header in REGISTER is malformed

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

CONTACT header in REGISTER is malformed

Robert Dyck

Linphone Android 4.1.1 (4125)

Linphone SDK 4.2.8-g96666b3 (release/4.2)

 

The CONTACT parameters in a REGISTER cannot be parsed because the first ">" in the string is placed after the transport parameter instead of after the CONTACT URI.

 

Notice that transport is included with the URI.

 

Nov  4 14:19:41 slim /usr/local/sbin/opensips[29289]: REGISTER CONTACT URI is sip:4@192.168.1.67:5062;transport=udp

 

Notice that transport is missing from the parameter list.


Nov  4 14:19:41 slim /usr/local/sbin/opensips[29289]: REGISTER parameters maybe +sip.instance="<urn:uuid:35dfa98a-2feb-482a-bde7-7568a86348b1>"

 

Here is the complete header.


Nov  4 14:19:41 slim /usr/local/sbin/opensips[29289]: REGISTER Contact "Rob's cell" <sip:4@192.168.1.67:5062;transport=udp>;+sip.instance="<urn:uuid:35dfa98a-2feb-482a-b
de7-7568a86348b1>"

 

If push notification is required the push parameters will be hidden.

 

Nov  4 14:10:55 slim /usr/local/sbin/opensips[29289]: REGISTER parameters maybe +sip.instance="<urn:uuid:35dfa98a-2feb-482a-bde7-7568a86348b1>"

Here is the complete header.

 

Nov  4 14:10:55 slim /usr/local/sbin/opensips[29289]: REGISTER Contact "Rob's cell" <sip:4@192.168.1.67:5062;app-id=929724111839;pn-type=firebase;pn-timeout=0;pn-tok=dIn
GqXUaeBY:APA91bGLLz2ouIAFoG76tLxBianx58T3jWedEYjjCe7WmmMCaLYNfezMebyucBvlDS8pSFPlejpMLLcxV-jg4Oto9x8DAWkk3N12F-JG9LerlQm5OxNCkoWjl1iMc2cmEZFqO_redM5J;pn-silent=1;transpo
rt=udp>;+sip.instance="<urn:uuid:35dfa98a-2feb-482a-bde7-7568a86348b1>"

Thanks for having a look, Rob


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: CONTACT header in REGISTER is malformed

Robert Dyck

Some of my pastes were missing from the response I received after sending. Are they missing for you?

 

On Monday, November 4, 2019 2:40:25 P.M. PST Robert Dyck wrote:

Linphone Android 4.1.1 (4125)

Linphone SDK 4.2.8-g96666b3 (release/4.2)

 

The CONTACT parameters in a REGISTER cannot be parsed because the first ">" in the string is placed after the transport parameter instead of after the CONTACT URI.

 

Notice that transport is included with the URI.

 

Nov  4 14:19:41 slim /usr/local/sbin/opensips[29289]: REGISTER CONTACT URI is sip:4@192.168.1.67:5062;transport=udp

 

Notice that transport is missing from the parameter list.


Nov  4 14:19:41 slim /usr/local/sbin/opensips[29289]: REGISTER parameters maybe +sip.instance="<urn:uuid:35dfa98a-2feb-482a-bde7-7568a86348b1>"

 

Here is the complete header.


Nov  4 14:19:41 slim /usr/local/sbin/opensips[29289]: REGISTER Contact "Rob's cell" <sip:4@192.168.1.67:5062;transport=udp>;+sip.instance="<urn:uuid:35dfa98a-2feb-482a-b
de7-7568a86348b1>"

 

If push notification is required the push parameters will be hidden.

 

Nov  4 14:10:55 slim /usr/local/sbin/opensips[29289]: REGISTER parameters maybe +sip.instance="<urn:uuid:35dfa98a-2feb-482a-bde7-7568a86348b1>"

Here is the complete header.

 

Nov  4 14:10:55 slim /usr/local/sbin/opensips[29289]: REGISTER Contact "Rob's cell" <sip:4@192.168.1.67:5062;app-id=929724111839;pn-type=firebase;pn-timeout=0;pn-tok=dIn
GqXUaeBY:APA91bGLLz2ouIAFoG76tLxBianx58T3jWedEYjjCe7WmmMCaLYNfezMebyucBvlDS8pSFPlejpMLLcxV-jg4Oto9x8DAWkk3N12F-JG9LerlQm5OxNCkoWjl1iMc2cmEZFqO_redM5J;pn-silent=1;transpo
rt=udp>;+sip.instance="<urn:uuid:35dfa98a-2feb-482a-bde7-7568a86348b1>"

Thanks for having a look, Rob




_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: CONTACT header in REGISTER is malformed

Robert Dyck

Sorry about the spam. If I turn on html it all seems to be there.

 

On Monday, November 4, 2019 2:46:04 P.M. PST Robert Dyck wrote:

Some of my pastes were missing from the response I received after sending. Are they missing for you?

 

On Monday, November 4, 2019 2:40:25 P.M. PST Robert Dyck wrote:

Linphone Android 4.1.1 (4125)

Linphone SDK 4.2.8-g96666b3 (release/4.2)

 

The CONTACT parameters in a REGISTER cannot be parsed because the first ">" in the string is placed after the transport parameter instead of after the CONTACT URI.

 

Notice that transport is included with the URI.

 

Nov  4 14:19:41 slim /usr/local/sbin/opensips[29289]: REGISTER CONTACT URI is sip:4@192.168.1.67:5062;transport=udp

 

Notice that transport is missing from the parameter list.


Nov  4 14:19:41 slim /usr/local/sbin/opensips[29289]: REGISTER parameters maybe +sip.instance="<urn:uuid:35dfa98a-2feb-482a-bde7-7568a86348b1>"

 

Here is the complete header.


Nov  4 14:19:41 slim /usr/local/sbin/opensips[29289]: REGISTER Contact "Rob's cell" <sip:4@192.168.1.67:5062;transport=udp>;+sip.instance="<urn:uuid:35dfa98a-2feb-482a-b
de7-7568a86348b1>"

 

If push notification is required the push parameters will be hidden.

 

Nov  4 14:10:55 slim /usr/local/sbin/opensips[29289]: REGISTER parameters maybe +sip.instance="<urn:uuid:35dfa98a-2feb-482a-bde7-7568a86348b1>"

Here is the complete header.

 

Nov  4 14:10:55 slim /usr/local/sbin/opensips[29289]: REGISTER Contact "Rob's cell" <sip:4@192.168.1.67:5062;app-id=929724111839;pn-type=firebase;pn-timeout=0;pn-tok=dIn
GqXUaeBY:APA91bGLLz2ouIAFoG76tLxBianx58T3jWedEYjjCe7WmmMCaLYNfezMebyucBvlDS8pSFPlejpMLLcxV-jg4Oto9x8DAWkk3N12F-JG9LerlQm5OxNCkoWjl1iMc2cmEZFqO_redM5J;pn-silent=1;transpo
rt=udp>;+sip.instance="<urn:uuid:35dfa98a-2feb-482a-bde7-7568a86348b1>"

Thanks for having a look, Rob






_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers