asterisk2billing.org
http://forum.asterisk2billing.org/

DID and SIP Client issues
http://forum.asterisk2billing.org/viewtopic.php?f=33&t=11704
Page 1 of 1

Author:  JonnE [ Sat Jun 13, 2015 12:52 am ]
Post subject:  DID and SIP Client issues

Hello,

I have setup the latest stable release of a2billing on my asterisk 11.x server running freepbx. and using asterisk realtime.

I have 1 outgoing trunk and route in freepbx. I have created a user in a2billing, and a SIP config for it, the corresponding sip config is setup as a trunk on a 2nd asterisk server.

username=10-digit-random-number
type=friend
secret=random-secret
host=pbx.server1.com
;fromuser=10-digit-random-number (same as username=)
context=a2billing ; change for proper context
allow=g729 ; we support ulaw,alaw,ilbc,gsm,g723.1,g726,g729a
trustrpid=yes
sendrpid=yes
canreinvite=no

also the registration string is set there.

when i run "sip show registry" on the 2nd asterisk server and "sip show peers" the followin information is shown;

Host dnsmgr Username Refresh State Reg.Time
pbx.server.1com:5060 N the-10-digit-number 105 Registered Sat, 13 Jun 2015 01:44:55

Name/username Host Dyn Forcerport Comedia ACL Port Status Description
TRUNKNAME/the-10-digit-number IP-OF-A2BILLING-INSTALLATION No No 5060 Unmonitored




--- this user can make outgoing calls without any problems. however it is not shown on the a2billing server when i run "sip show peers" or "sip show registry".

I have also a catchALL did incoming route on freepbx _44X. and a DID assigned to this customer in a2billing, when i set the destination to a telephone number it has no problem dialling it...

but f I try anything else like [email protected] or SIP/10digitnumber or SIP/10digitnumber/DID nothing is happening...

Any Ideas?

Author:  JonnE [ Mon Jun 15, 2015 2:00 am ]
Post subject:  Re: DID and SIP Client issues

Can someone tell me what I need to put in registration string, and incoming trunk settings on SERVER2 (which should connect to server1 which has A2billing installed)

outbound works witout issues, but incoming DID routing does not work.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/