No subject
Tue Sep 5 14:32:44 MST 2006
Part of extentions.conf:
[sipCompany]
exten => _XXX,1,SIPDtmfMode,inband
exten => _999,2,VoicemailMain(802)
Part of sip.conf:
[laptop]
type=friend
;dtmfmode=rfc2833 ; Choices are inband, rfc2833, or info
secret=xxx
host=dynamic
context = sipCompany
And this is the result:
Asterisk Ready.
*CLI> -- Executing SIPDtmfMode("SIP/laptop-c5c0", "inband") in new
stack
-- Executing VoiceMailMain("SIP/laptop-c5c0", "802") in new stack
-- Playing 'vm-password' (language 'en')
Segmentation fault
When connecting with normal phone it doesn't crash:
*CLI> -- Executing Wait("Modem[i4l]/ttyI0", "1") in new stack
-- Executing Answer("Modem[i4l]/ttyI0", "") in new stack
-- Executing DigitTimeout("Modem[i4l]/ttyI0", "5") in new stack
-- Set Digit Timeout to 5
-- Executing ResponseTimeout("Modem[i4l]/ttyI0", "10") in new stack
-- Set Response Timeout to 10
-- Executing VoiceMailMain("Modem[i4l]/ttyI0", "802") in new stack
-- Playing 'vm-password' (language 'en')
-- Incorrect password '' for user '802' (context = <any>)
-- Playing 'vm-incorrect' (language 'en')
-- Playing 'vm-password' (language 'en')
gr
Jordi
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Martin Pycko
Sent: Friday, November 14, 2003 10:28 PM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] dtmfmode & SIPDtmfMode
You must be calling SIPDtmfMode on incoming calls that are not SIP
calls.
Eg: zap call that you send to SIP ... this way it doesn't work.
regards
Martin
On Fri, 14 Nov 2003, Jordi Haarman wrote:
> I get a 'Segmentation fault' now. A false mode just shows the error
> message now.
>
> Gr
>
> Jordi
>
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Martin
Pycko
> Sent: Friday, November 14, 2003 6:26 PM
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] dtmfmode & SIPDtmfMode
>
> Try again ... with latest CVS.
>
> Martin
>
> On Fri, 14 Nov 2003, Jordi Haarman wrote:
>
> > Hi,
> >
> > I would like to be able to switch dtmf mode of SIP calls of local
> > clients so the server can understand them and it can also be used
when
> > connected to a remote location. I saw that there is an application
> > called SIPDtmfMode in cvs so instead of using the debian package I
> > recompiled the kernel and compiled asterisk from CVS.
> >
> > When I use the command ( exten => _XXX,1,SIPDtmfMode(inband) ) it
does
> > not seem to work. Even putting a false mode does not give me a
warning
> > or something. Did I miss something?
> >
> > Any help/suggestion is appreciated!
> >
> > gr
> >
> > Jordi
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list