Re: [Asterisk-Users] Database update after hangup

2005-11-21 Thread Hermann Wecke
Hermann Wecke wrote: I'm having a little problem to update the database after a call was placed. I have several PSTN lines and I need to split the calls between them. [...] Any idea? Solution: write to the database BEFORE the dial command. Worked very well. __

[Asterisk-Users] Database update after hangup

2005-11-20 Thread Hermann Wecke
I'm having a little problem to update the database after a call was placed. I have several PSTN lines and I need to split the calls between them. The approach I used didn't work: [sipphone] include => trunktest ; other rules here blah blah blah [trunktest] exten => _1800NXX,1,DBget(LAST