External call file example

So I finally got my lab freepbx setup and working. I have internal and external calls working. I have internal call files to /spool/outgoing working, sending automated messages to extensions. But it keeps failing on external calls to my cellphone, I think Im getting the context/channel wrong as I did this years ago and that was the trick. Does someone have a sample external sip trunk call file they could post? Im using chansip trunk with US dial patterns. Its definitely a config issue as outbound works.

What does your call file look like?

Read through this and see if any of this sounds as familiar to you as it does to me.

There’s a blast from the past. We never solved this one, as the number ported and the problem went away once the TN was native. Good memory, Dave.

The bit about the “allroutes” (IIRC) context is the part that should get you squared away. Your other choice it to route the call through one of the PBX-named outbound routes.

freepbx# cat alert
Channel: SIP/100
CallerID: 101
MaxRetries: 2
RetryTime: 60
WaitTime: 30
Application: Playback

Above I know is working
Below is failing for obvious reasons
Channel: SIP/Trunkname/XXXXXXXXXX
MaxRetries: 2
RetryTime: 60
WaitTime: 30
Context: from-internal
Application: Playback
Data:hello world

Channel: Local/[email protected]

If it’s not working provide logs.

Also I think this should be hello-world, not hello world

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.