Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 23, 2024 5:45 pm
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Tue Aug 29, 2006 9:31 pm 
Offline

Joined: Mon Jun 19, 2006 5:14 pm
Posts: 218
no you totally misunderstood me.

In asterisk when you want to receive calls from a provider or another host you register. In sip you register and also specify a DID or extension to handle the call within the specified peer context.

register => user:password@hostname/exten

that what that means in that syntax. so when the call comes in it goes to the context that is specified in the host peer find that exten and handle the call.

Ok.

When you do the call out 127.0.0.1 it gets looped backed into the server's SIP and it looks like it is coming from the outside. That is why the SIP-external gets called. It uses the number you called as the exten and wants to pass it to somebody to be handled. But before it does that it checks to see if the person who called is 'known". In this case it is not know because the call was not made from a defined peer. So the flag in the code says if caller is unknown then play the congestion tone.

You fixed the problem by rewriting the SIP-external context to garb the exten and dial it.

The only probem with that is that the SIP-external plays a bigger role in freepbx than just dialing the exten. What it does is get calls from the outside and routes the call back in ... I don't rrmbr the name of the context but what happens here is that the call then gets handled as "incoming routes". So if you mess about with SIP-external you will miss out on using "inbound routes" which is a really cool feature and simplifies using and setting up freepbx.

My suggestion is that you go with the flow and use sip-external as it was designed and don't swim against the tide.

So to make it work as designed -- you would set up the "incoming route" to handle the call that is coming in to this DID (or SIP extension). You might say you have hundreds of SIP extensions and you don't wnat to set it up and in that case you might live with the change you made. understandable.

Re: making the caller known is all about creating a peer with the host= 127.0.0.1 and using that peer as the provider instead of the the ip address as the provider in the a2b trunk definition.

I know it's much to get in one gulp ;-) so just read a little at a time.


Top
 Profile  
 
 Post subject: a2billing Card Number (PIN number) instead of CallerID
PostPosted: Mon Sep 04, 2006 2:54 am 
Offline

Joined: Mon Sep 04, 2006 2:43 am
Posts: 7
Hi Gue,
I want a little more :)

My calls are coming from outside PSTN as IP calls and many calls do not have caller ID.

Using a2billing I can bill the call using the PIN (card) number and then using localhost as the trunk I can transfer the call to an asterisk extention.

At no answer, call goes to the voice mail of that entention and email is generated. When there is a caller ID, the caller ID is mentioned in the subject line of the email.

In case of no caller ID, I would like to pass an unique identifier, such as the PIN number (card number) or anything. So that I can trace back who has called.

Is it possible to pass the CARD NUMBER via the voice mail email?

Thanks a lot for the help.

SZ


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 09, 2006 9:23 am 
Offline

Joined: Sat Sep 09, 2006 9:05 am
Posts: 22
I dont understand please how can do it step by step.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group