chaiwats2 / php-sip

Automatically exported from code.google.com/p/php-sip
0 stars 0 forks source link

SUBSCRIBE not sending request in line #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When I try ti use method SUBSCRIBE the packet start looking like:
SUBSCRIBE  SIP/2.0.
Via: SIP/2.0/UDP XX.XX.XX.XX:5065;rport;branch=z9hG4bK728268.
From: <sip:10000009@sip1.domain.com>;tag=80733.
To: <sip:10000009@sip1.domain.com>.
Call-ID: c04a35a1c19cd2cce0fb40d43bdff30d@XX.XX.XX.XX

Shouldn't it be:
SUBSCRIBE sip:10000009@sip1.mydomain.com SIP/2.0.
Via: SIP/2.0/UDP XX.XX.XX.XX:5065;rport;branch=z9hG4bK728268.
From: <sip:10000009@sip1.domain.com>;tag=80733.
To: <sip:10000009@sip1.domain.com>.
Call-ID: c04a35a1c19cd2cce0fb40d43bdff30d@XX.XX.XX.XX

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by dovidbac...@gmail.com on 14 Feb 2013 at 6:08

GoogleCodeExporter commented 8 years ago
1) The output and expected output is above.
2) I am using 0.3.2 on CentOS 5.6
3) PHP version 5.2.5

With other methods it seems to work OK.

Original comment by dovidbac...@gmail.com on 4 Mar 2013 at 5:31