Solved

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

Posted on 2008-10-29
5
1,069 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
  • 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Avaya IP Phones, SonicWall, Site to Site VPN 9 155
Issues with NAT and UDP 2 65
Move CUCM from one AD to another 4 56
Virl for Cisco 4 beginner 6 76
Hey there Heard about jingle, the add on for XMPP that enables point to point audio between two XMPP clients. No server config necessary. Actually quite a cool feature. However, how good is it if you can not use those voice capabilities to do a P…
Almost all Internet protocol telephones have built-in switches at the back that allow you to connect your personal computer to one port and use the other port to connect your phone to to a Cisco switch.   Why we need to connect the PC to the pho…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now