[Asterisk-Users] How to delay dialing
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Sat Jan 31 09:21:54 MST 2004
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 "exten =>
> <br />_9.,1,Dial(vpb/1-1/w${EXTEN:1},r)" - when I dial a number,
> for example <br />918501, asterisk crashes with the output:
> <br />
> <br /> -- Executing Dial("SIP/TerenceParker-465d",
> "vpb/1-1/w18501|r") 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
> "exten <br />=> 9,1,Dial(vpb/1-1/)" - 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
> & . 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
More information about the asterisk-users
mailing list