Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phone sends no src-code to sip.provider #339

Open
GoogleCodeExporter opened this issue Aug 3, 2015 · 3 comments
Open

phone sends no src-code to sip.provider #339

GoogleCodeExporter opened this issue Aug 3, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

hello,

on asterisk, the phone did not send the source-number.
there must be same problems with registering itself.

sip-device:
| Jun 17 16:01:49 VERBOSE[7098] logger.c:
| -- Registered SIP 'bbb' at xx.yy.zz.aa port 51489 expires 300
| -- Saved useragent "Telephone 0.15.0" for peer bbb

sip*CLI> sip show peers
| Name/username Host         Dyn Nat ACL Port   Status
| aaa/aaa       192.168.0.1  D   N       10023  OK (72 ms)
| bbb           xx.yy.zz.aa  D   N       51489  OK (16 ms)
| ccc/ccc       10.3.3.1     D   N       5060   OK (122 ms)

/var/log/asterisk/debug:
| Jun 17 15:56:39 pbx.c: Function result is '(null)'
| Jun 17 15:56:39 pbx.c: Function result is '00431XXXXXX'
| Jun 17 15:56:39 pbx.c: Function result is 'SIP/ACC/00431XXXXXX'
| Jun 17 15:56:39 pbx.c: Function result is '2010-06-17 15:56:39'
| Jun 17 15:56:39 pbx.c: Function result is '4'
| Jun 17 15:56:39 pbx.c: Function result is '0'
| Jun 17 15:56:39 pbx.c: Function result is 'NO ANSWER'

'(null)' should be 'bbb'. only by this phone don't.

this will produce an open field in ${CDR(src)}:
|    00431XXXXXX SIP/ACC/00431XXXXXX 2010-06-17 15:56:39 4 0 NO ANSWERED

the normale output would be:
| bbb 00431XXXXXX SIP/ACC/00431XXXXXX 2010-06-17 15:56:39 4 0 NO ANSWERED

Original issue reported on code.google.com by [email protected] on 28 Jun 2010 at 10:47

@GoogleCodeExporter
Copy link
Author

What is 'bbb'? Display-name field?

Original comment by [email protected] on 28 Jun 2010 at 11:57

@GoogleCodeExporter
Copy link
Author

bbb is the username.

Original comment by [email protected] on 29 Jun 2010 at 10:34

@GoogleCodeExporter
Copy link
Author

What is src-code? Telephone registers at the registrar with the SIP URI, for 
example:
Contact: "John Smith" <sip:[email protected]:56159>

Here "John Smith" is display-name, 17771234567 is username, 192.168.1.10 is 
host, 56159 is port number.

Original comment by [email protected] on 19 Jul 2010 at 9:05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant