Solved

SIP ACCOUNT CODE not included in CDR when SIP Status is "Unknown"

Posted on 2008-10-29
5
1,075 Views
Last Modified: 2013-11-12
Please help with this strange issue.
When "sip show peers" returns status "Unknown" the CDR does not include the accountcode even though the call is correctly processed.
I'm using A2 Billing and it uses the accountcode to determine the authentication.
Asterisk version 1.4.21.2
I'm calling from a Quintum device.

I'm very puzzeled.


Name/username              Host            Dyn Nat ACL Port     Status
1532497439/1532497439      (Unspecified)    D          0        UNKNOWN


The SIP settings are:

[1532497439]
type=friend
host=dynamic
username=1532497439
secret=wspiov8729
accountcode=1532497439
callerid=90002
regexten=90002
amaflags=billing
context=OutboundWS
disallow=all
allow=g729
trunk=yes
qualify=6000
qualifysmoothing=yes
nat=no
canreinvite=yes
dtmfmode=rfc2833
directrtpsetup=no


Thanks Shaun
0
Comment
Question by:shaunwingin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:michofreiha
ID: 22831768
Kindly note that "sip show peers" will show only the peers created under sip.conf and have type=peer. Here your are saying that you need to see all SIP friends accounts created under a2billing and this is impossible with this command...

Reading the result of "sip show peer", I'm sure that you don't have any peer created under sip.conf and all calls are coming from the SIP friend users registered on the asterisk server

Regards
0
 

Author Comment

by:shaunwingin
ID: 22834715
Changing "type=peer" has the same result.
If I reboot the Quintum then I get

[Oct 29 21:27:36] NOTICE[4106]: chan_sip.c:12669 handle_response_peerpoke: Peer '1532497439' is now Reachable. (54ms / 6000ms)
[Oct 29 21:30:07] WARNING[4106]: chan_sip.c:12565 handle_response_register: Got 200 OK on REGISTER that isn't a register


So its not a config issue. Its got nothing to do with A2 Billing I agree.
0
 
LVL 9

Expert Comment

by:michofreiha
ID: 22835820
this is normal..."sip show peer" will only show you the peers created under sip.conf...To see the extensions registered on your server please use sip show registry..try  it and let me know
0
 

Author Comment

by:shaunwingin
ID: 22837388
I only use SIP Peers to send my traffic to. so it doesn't show it. The issue I'm having is one of qualify=yes that is so to spek not working even though there is internet connectivity between Quintum and Asterisk.
0
 

Accepted Solution

by:
shaunwingin earned 0 total points
ID: 23113393
I solved the problem by not using the account code but rather the CLI
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
change extension to new user 5 85
Cisco Switch VLAN voice and Data 2 80
AT&T sip management portal 7 32
Proper Shutdown Cisco UCM on UCS C200 3 15
In my office we had 10 Cisco 7940G IP phones that were useless as they were showing PROTOCOL APPLICATION INVALID when started. I searched through Google and worked for a week continuously on those phones, and finally got them working. This is a di…
Although VoiceOver IP has been around for a while, internet connections have only recently become fast enough to provide good call quality. Now, VoIP has become a real option for businesses looking at ways to improve their business model. In this ar…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question