[Asterisk-Users] How to delay dialing

John Baker johnb at listbrokers.com
Sat Jan 31 10:23:33 MST 2004


I've got one I might be able to loan you for a couple of months, if you
have a great desire to hack away.

John

On Sat, 2004-01-31 at 10:21, Tilghman Lesher wrote:
> First, turn off your HTML in all posts to the list.
> 
> On Saturday 31 January 2004 02:03, Terence Parker wrote:
> > <br />Thanks again for the patch - and the updated patch too!
> > <br />
> > <br />Actually, I was looking more closely at the chan_vpb.c file
> > earlier <br />after the first patch and tried recompiling * again
> > after removing <br />'char' from char t* - since I gather that wasn't
> > required again. <br />Asterisk now compiles properly, but crashes
> > when a call is actually <br />made out (with and without the 'w').
> > Here's what happens: <br />
> > <br />With the extensions setting of &quot;exten =&gt;
> > <br />_9.,1,Dial(vpb/1-1/w${EXTEN:1},r)&quot; - when I dial a number,
> > for example <br />918501, asterisk crashes with the output:
> > <br />
> > <br />    -- Executing Dial(&quot;SIP/TerenceParker-465d&quot;,
> > &quot;vpb/1-1/w18501|r&quot;) in new <br />stack
> > <br />     Read_channel ##  vpb/1-1: Setting record mode, bridge = 0
> > <br />     --  1-1 requested, got: [vpb/1-1]
> > <br />    Ouch ... error while writing audio data: : Broken pipe
> > <br />    Ouch ... error while writing audio data: : Broken pipe
> > <br />    Ouch ... error while writing audio data: : Broken pipe
> > <br />
> > <br />    [1]+  Segmentation fault      asterisk -vvvg
> > <br />
> > <br />Also, when I try to revert back to my standard dial plan using
> > &quot;exten <br />=&gt; 9,1,Dial(vpb/1-1/)&quot; - asterisk crashes
> > in exactly the same way, <br />except without the 'w'.
> > <br />
> > <br />Though I don't program in C, reading through your patch it
> > looks fine <br />to me - I can see that you're merely trying to find
> > instances of 'w' or <br />'f' after the / and replace them with , or
> > &amp; . What I don't know is how <br />the rest of the chan_vpb.c
> > file interacts with that function. <br />
> > <br />Any further ideas on how to solve this?
> 
> I'll look at it again, but since I don't have a VoiceTronix card
> installed in any of my machines yet, I can't test it directly.
> 
> -Tilghman
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 







More information about the asterisk-users mailing list