lu wrote:
Hi 1nb2g,
Sorry to bother you with my question, ineed to know in your sip.conf & additional_a2billing_sip.conf how did u define the context for your peers/users?? because i see now now in your extensions.conf you already have three contexts already. Lets say in the case that i want all my peers/users to have equal rights to call outside and locally.
Wbr,
LU.
lnb2g wrote:
with the help of "stavros" I have this to work, my original dialplan is *xxT|*1xx|[349]11|1xxx[2-9]xxxxxx|[2-9]xxxxxxT|[2-9]xxxxxxxxx|011x.T
[2-9]xxxxxxxxx is the one that drop my last digit. In other words, its only taking 10 digit and send immediately, whatever come after will be dropped.
to fix this all I have to to is replace [2-9]xxxxxxxxx with x.T and it works or I can replace the whole dialplan with x.T
Im sorry but i didnt really understand your question, those 3 context in extension_a2billing.conf is for dialing sipfriend if the DID is in the DB (locally), if the DID is not in the DB it will using outbound sip trunk to dial as a phone number (outside). I created these contexts, and i think every sipfriend should have equally right to make these calls. I didnt change anything in sip.conf