mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 06:48:25 +00:00
ensure that MGCP AMA flags are passed into CDR (bug #3962)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3710,6 +3710,7 @@ static struct mgcp_gateway *build_gateway(char *cat, struct ast_variable *v)
|
||||
strncpy(e->mailbox, mailbox, sizeof(e->mailbox) - 1);
|
||||
snprintf(e->rqnt_ident, sizeof(e->rqnt_ident), "%08x", rand());
|
||||
e->msgstate = -1;
|
||||
e->amaflags = amaflags;
|
||||
e->capability = capability;
|
||||
e->parent = gw;
|
||||
e->dtmfmode = dtmfmode;
|
||||
@@ -3812,6 +3813,7 @@ static struct mgcp_gateway *build_gateway(char *cat, struct ast_variable *v)
|
||||
e->msgstate = -1;
|
||||
e->parent = gw;
|
||||
}
|
||||
e->amaflags = amaflags;
|
||||
e->capability = capability;
|
||||
e->dtmfmode = dtmfmode;
|
||||
e->adsi = adsi;
|
||||
|
||||
@@ -51,22 +51,24 @@
|
||||
|
||||
; known to work with wave7optics FTTH LMGs
|
||||
;[192.168.1.20]
|
||||
;context=local
|
||||
;host=192.168.1.20
|
||||
;nat=no
|
||||
;wcardep=aaln/* ; enables wildcard endpoint and sets it to 'aaln/*' another common format is '*'
|
||||
;callerid = "Duane Cox" <123>
|
||||
;callwaiting=no
|
||||
;transfer=no
|
||||
;cancallforward=no
|
||||
;canreinvite=no
|
||||
;dtmfmode=inband
|
||||
;singlepath=yes ; This device only supports a single RTP path
|
||||
;line => aaln/1
|
||||
;callerid = "Duane Cox" <456>
|
||||
;callwaiting=no
|
||||
;transfer=no
|
||||
;cancallforward=no
|
||||
;canreinvite=no
|
||||
;dtmfmode=inband
|
||||
;line => aaln/2
|
||||
;accountcode = 1000 ; record this in cdr as account identification for billing
|
||||
;amaflags = billing ; record this in cdr as flagged for 'billing', 'documentation', or 'omit'
|
||||
;context = local
|
||||
;host = 192.168.1.20
|
||||
;wcardep = aaln/* ; enables wildcard endpoint and sets it to 'aaln/*' another common format is '*'
|
||||
;callerid = "Duane Cox" <123> ; now lets setup line 1 using per endpoint configuration...
|
||||
;callwaiting = no
|
||||
;callreturn = yes
|
||||
;cancallforward = yes
|
||||
;canreinvite = no
|
||||
;transfer = no
|
||||
;dtmfmode = inband
|
||||
;line => aaln/1 ; now lets save this config to line1 aka aaln/1
|
||||
;callerid = "Duane Cox" <456> ; now lets setup line 2
|
||||
;callwaiting = no
|
||||
;callreturn = yes
|
||||
;cancallforward = yes
|
||||
;canreinvite = no
|
||||
;transfer = no
|
||||
;dtmfmode = inband
|
||||
;line => aaln/2 ; now lets save this config to line2 aka aaln/2
|
||||
|
||||
Reference in New Issue
Block a user