LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-04-2006, 01:26 AM   #1
baddah
Member
 
Registered: Feb 2006
Location: Cape Town,South Africa
Distribution: Fedora Core 8
Posts: 188

Rep: Reputation: 30
CallerId on Call divert with Asterisk,Linksys PAP2


HI, I have the following problem.I am setting up a PAP2 to forward the number to my mobile when I'm not in office.Everything is working fine,I dial *72 to set up the forward number and *73 to cancel it.It does divert the number,but my problem comes in in the way asterisk inserts the values into the mysql cdr.(i've got the addons package installed). Say for instance extension 101 dials 201(my office number) asterisk will store the values as follows in the cdr..

ENTRY 1 :

CallerId(src) : 101
Destination : 201

ENTRY 2 the call gets diverted)

Callerid(src) : 101
Destination : <my cell number>

I would rather like to save the values as follows(i'm not interested in the id incoming call,i want to see from which line it got diverted)thus....

ENTRY 1 the same)

Callerid : 101
Destination : 201

ENTRY 2 :
CAllerid : 201 (the line from from which it was forwarded)
Destination : <my cell number>

I would really apreciate it if someone could help me with this.I am thinking i should make small changes in the asterisk code where the values are getting inserted into the database maybe,but i'm not sure where..thanks in advance..
 
Old 04-06-2006, 07:01 AM   #2
baddah
Member
 
Registered: Feb 2006
Location: Cape Town,South Africa
Distribution: Fedora Core 8
Posts: 188

Original Poster
Rep: Reputation: 30
dont worry,got it sorted
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get 'divert' problems installing kdevelop3 tarbash7 Linux - Newbie 4 02-04-2006 11:22 AM
How To Divert Email While Receiving And Sending? kiranprashant Programming 2 09-14-2005 05:21 AM
How To Divert Email While Receiving And Sending? kiranprashant Linux - Newbie 2 09-13-2005 01:51 PM
Asterisk speed_viper Linux - Software 0 12-17-2004 08:47 PM
What do you call your remote control? I call mine... RHLinuxGUY General 19 10-18-2004 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration