Asterisk -> sip -> ccm = :| answer prematurely

Hi… tnx in advance for the time that you 'll spend on this post…

I’ve Asterisk connected to a Cisco Call manager 4.x by a SIP trunk …
Evrything seems to work… i can make auto-call through the ccm by an AGI-script…
If I try to call a number on the internal network evrything is fine, but if I try to make a call “outside”… asterik start the script immediatly… he don’t wait for the user’s answer…

We think that some SIP parameter are wrong…

the sip.conf used:

[general]
port=5060
bindaddr=0.0.0.0
context=sipin
nat=no
disallow=all
allow=ulaw
allow=alaw
realm=XXX.XXX.XXX.XXX
rtptimeout=60
rtpholdtimeout=300

;outgoing call
[ccm_trunk]
type = peer
host = XXX.XXX.XXX.XXX
qualify = yes
insecure = very

any help please ???

thank you… & sorry for my worst english :smile:

__ tamberlo __

[quote=“tamberlo”]Hi… tnx in advance for the time that you 'll spend on this post…

I’ve Asterisk connected to a Cisco Call manager 4.x by a SIP trunk …
Evrything seems to work… i can make auto-call through the ccm by an AGI-script…
If I try to call a number on the internal network evrything is fine, but if I try to make a call “outside”… asterik start the script immediatly… he don’t wait for the user’s answer…

We think that some SIP parameter are wrong…

the sip.conf used:

[general]
port=5060
bindaddr=0.0.0.0
context=sipin
nat=no
disallow=all
allow=ulaw
allow=alaw
realm=XXX.XXX.XXX.XXX
rtptimeout=60
rtpholdtimeout=300

;outgoing call
[ccm_trunk]
type = peer
host = XXX.XXX.XXX.XXX
qualify = yes
insecure = very

any help please ???
…maybe h323 trunk can help ???

thank you… & sorry for my worst english :smile:

__ tamberlo __[/quote]

Can you please post your dail plan and AGI scripts.

Thanks,
Agni.